Could not create PID file: /var/run/puppet/master.pid

3,739 views
Skip to first unread message

Dave Augustus

unread,
Jan 27, 2011, 7:11:20 AM1/27/11
to Puppet Users
Hello All,

I can't get puppetmaster to run at all...

I normally use the init.d script but that would come back with a false
OK- a simple "ps aux" showed no puppetmaster!

So I tried this as root:
/usr/sbin/puppetmasterd --logdest syslog --storeconfigs --no-daemon
--debug --trace --config=/etc/puppet/puppet.conf

Then I su -ed to the user, puppet, and tried- same error listed below:

notice: Starting Puppet master version 2.6.4
/usr/lib/ruby/site_ruby/1.8/puppet/daemon.rb:47:in `create_pidfile'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:38:in `synchronize_on'
/usr/lib/ruby/1.8/sync.rb:229:in `synchronize'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:38:in `synchronize_on'
/usr/lib/ruby/site_ruby/1.8/puppet/daemon.rb:46:in `create_pidfile'
/usr/lib/ruby/site_ruby/1.8/puppet/daemon.rb:121:in `start'
/usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb:114:in `main'
/usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb:46:in `run_command'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:287:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:393:in `exit_on_fail'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:287:in `run'
/usr/sbin/puppetmasterd:4
Could not run: Could not create PID file: /var/lib/puppet/run/master.pid

My puppetmaster system:

Setup:
puppet 2.6.4 (compiled RPM from tar.gz)
Ruby RPMS:
rrdtool-ruby-1.2.27-3.el5
ruby-1.8.6.287-2
ruby-augeas-0.3.0-1.el5
ruby-devel-1.8.6.287-2
rubygem-rake-0.8.7-2.el5
rubygems-1.3.1-1.el5
ruby-irb-1.8.6.287-2
ruby-ldap-0.9.7-3.el5
ruby-libs-1.8.6.287-2
ruby-mysql-2.7.3-1.el5
ruby-rdoc-1.8.6.287-2
ruby-RRDtool-0.6.0-6.el5
ruby-shadow-1.4.1-7.el5

On Centos 5.5 x86_64.

Thanks for your help,
Dave

davea.vcf

Felix Frank

unread,
Jan 27, 2011, 7:54:33 AM1/27/11
to puppet...@googlegroups.com
On 01/27/2011 01:11 PM, Dave Augustus wrote:
> Hello All,
>
> I can't get puppetmaster to run at all...

<snip>

> Could not run: Could not create PID file: /var/lib/puppet/run/master.pid

Does /var/lib/puppet/run/ exist? Is it writable?

>
> My puppetmaster system:
>
> Setup:
> puppet 2.6.4 (compiled RPM from tar.gz)

Does this include a post-inst that creates /var/lib/puppet for you?

HTH,
Felix

Dave Augustus

unread,
Jan 27, 2011, 9:07:31 PM1/27/11
to puppet...@googlegroups.com, Felix Frank
On 01/27/2011 06:54 AM, Felix Frank wrote:
> On 01/27/2011 01:11 PM, Dave Augustus wrote:
>> Hello All,
>>
>> I can't get puppetmaster to run at all...

I feel foolish... the partition was full....

time to install nagios!

Dave

davea.vcf
Reply all
Reply to author
Forward
0 new messages