[Puppet Users] Re: troubleshooting puppet on Ubuntu

Julien Garet
Mon, 14 Sep 2009 07:58:11 -0000

Le 12 sept. 09 à 12:58, Bogdan Bivolaru a écrit :

>
> Hello,

Hello,

> I''m trying to follow the guide at
http://reductivelabs.com/trac/puppet/wiki/SimplestPuppetInstallRecipe
> , but I get a funny error when starting Puppetd:
> Server:
> sudo puppetmasterd --verbose
> /usr/lib/ruby/1.8/xmlsimple.rb:275: warning: already initialized
> constant KNOWN_OPTIONS
> /usr/lib/ruby/1.8/xmlsimple.rb:280: warning: already initialized
> constant DEF_KEY_ATTRIBUTES
> /usr/lib/ruby/1.8/xmlsimple.rb:281: warning: already initialized
> constant DEF_ROOT_NAME
> /usr/lib/ruby/1.8/xmlsimple.rb:282: warning: already initialized
> constant DEF_CONTENT_KEY
> /usr/lib/ruby/1.8/xmlsimple.rb:283: warning: already initialized
> constant DEF_XML_DECLARATION
> /usr/lib/ruby/1.8/xmlsimple.rb:284: warning: already initialized
> constant DEF_ANONYMOUS_TAG
> /usr/lib/ruby/1.8/xmlsimple.rb:285: warning: already initialized
> constant DEF_FORCE_ARRAY
> /usr/lib/ruby/1.8/xmlsimple.rb:286: warning: already initialized
> constant DEF_INDENTATION
> /usr/lib/ruby/1.8/xmlsimple.rb:287: warning: already initialized
> constant DEF_KEY_TO_SYMBOL
>
> Client:
> biv@server:~$ sudo puppetd --verbose
> [sudo] password for biv:
> /usr/lib/ruby/1.8/xmlsimple.rb:275: warning: already initialized
> constant KNOWN_OPTIONS
> [ same warnings as on the server ]
> /usr/lib/ruby/1.8/xmlsimple.rb:287: warning: already initialized
> constant DEF_KEY_TO_SYMBOL
> err: Could not create PID file: /var/run/puppet/puppetd.pid
>
> Back on the server I run "sudo puppetca --list", I get the same
> warnings complaining about xmlsimple.rb,  and it tells me there are
> "No certificates to sign". When I run the client on the same
machine
> as the server, I still get "Could not create PID". I restarted
the
> server machine, but it doesn''t seem to help either.
>
> My guess is that there is something wrong with the client - do I need
> to configure anything else? I''m a bit lost from here.
>
> I''m using Ubuntu 9.04 Jaunty on all my machines and I installed
> puppetmaster and puppet from the repositories.


Actually, you''ve hit a bug in ubuntu on libxml-simple-ruby
https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/296605
, the way to solve this problem is either :
- download the karmic package and install it
- wait for karmic

Cheers,

Julien


>
> >