Package: puppet
Version: 0.23.2-13
Severity: important

I get this when starting our puppet server. Notice how the puppet client tries
to connect, and fails to connect to the master, before the master is started.

Starting puppet configuration management 
tool/usr/lib/ruby/1.8/net/http.rb:560:in `initialize': Connection refused - 
connect(2) (Errno::ECONNREFUSED)
        from /usr/lib/ruby/1.8/net/http.rb:560:in `open'
        from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'
        from /usr/lib/ruby/1.8/timeout.rb:56:in `timeout'
        from /usr/lib/ruby/1.8/timeout.rb:76:in `timeout'
        from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'
        from /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
        from /usr/lib/ruby/1.8/net/http.rb:548:in `start'
        from /usr/lib/ruby/1.8/puppet/network/xmlrpc/client.rb:173:in `start'
        from /usr/lib/ruby/1.8/puppet/network/client.rb:93:in `initialize'
        from /usr/lib/ruby/1.8/puppet/network/client/master.rb:250:in 
`initialize'
        from /usr/sbin/puppetd:312:in `new'
        from /usr/sbin/puppetd:312
.
Starting puppet configuration management tool master server.

Here's a patch to the postinst of puppet to make it start later:

--- /var/lib/dpkg/info/puppet.postinst.orig     2007-11-20 02:47:41.000000000 
-0500
+++ /var/lib/dpkg/info/puppet.postinst  2007-11-20 02:47:53.000000000 -0500
@@ -8,7 +8,7 @@
 
 # Automatically added by dh_installinit
 if [ -x "/etc/init.d/puppet" ]; then
-       update-rc.d puppet defaults >/dev/null
+       update-rc.d puppet defaults 21 >/dev/null
        if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
                invoke-rc.d puppet start || exit $?
        else

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (990, 'stable'), (1, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.22-1-686
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)

Versions of packages puppet depends on:
ii  adduser                3.102             Add and remove users and groups
ii  facter                 1.3.5-1           a library for retrieving facts fro
ii  libopenssl-ruby        1.0.0+ruby1.8.2-1 OpenSSL interface for Ruby
ii  libshadow-ruby1.8      1.4.1-7           Interface of shadow password for R
ii  libxmlrpc-ruby         1.8.2-1           XML-RPC support for Ruby
ii  lsb-base               3.1-23.2etch1     Linux Standard Base 3.1 init scrip
ii  ruby                   1.8.2-1           An interpreter of object-oriented 

Versions of packages puppet recommends:
ii  rdoc                          1.8.2-1    Generate documentation from ruby s

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to