Mike
2010-Apr-15 21:18 UTC
[Puppet Users] Could not create PID file error when .svn directory exists.
Getting some strange behavior when I try and start the puppetmaster. I keep my configs in a subversion repository so naturally there are .svn directories within the puppet config directory. Not sure why but one of my puppetmaster instances refuses to start until I remove one specific .svn directory. No puppet process running. [root@puppethc01 files]# ps -ef | grep puppet root 16417 13135 0 15:09 pts/0 00:00:00 grep puppet [root@puppethc01 files]# puppetmasterd --verbose --no-daemonize notice: Starting Puppet server version 0.25.4 Could not run: Could not create PID file: /var/run/puppet/ puppetmasterd.pid Yup there''s a PID file [root@puppethc01 files]# ls -alrt /var/run/puppet/puppetmasterd.pid -rw-r--r-- 1 puppet puppet 0 Apr 15 15:10 /var/run/puppet/ puppetmasterd.pid Still no process though. [root@puppethc01 files]# ps -ef | grep puppet root 16464 13135 0 15:10 pts/0 00:00:00 grep puppet Better remove the PID file [root@puppethc01 files]# rm -f /var/run/puppet/puppetmasterd.pid And if I remove the .svn directory..... [root@puppethc01 files]# rm -rf .svn Everything is fine. [root@puppethc01 files]# puppetmasterd --verbose --no-daemonize notice: Starting Puppet server version 0.25.4 notice: Caught INT; calling stop -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Tore
2010-Apr-18 21:34 UTC
[Puppet Users] Re: Could not create PID file error when .svn directory exists.
Did you try to start puppetmaster prior you removed the .svn directory? On Apr 15, 11:18 pm, Mike <michael.gib...@rightnow.com> wrote:> Getting some strange behavior when I try and start the puppetmaster. > I keep my configs in a subversion repository so naturally there > are .svn directories within the puppet config directory. > Not sure why but one of my puppetmaster instances refuses to start > until I remove one specific .svn directory. > > No puppet process running. > [root@puppethc01 files]# ps -ef | grep puppet > root 16417 13135 0 15:09 pts/0 00:00:00 grep puppet > > [root@puppethc01 files]# puppetmasterd --verbose --no-daemonize > notice: Starting Puppet server version 0.25.4 > Could not run: Could not create PID file: /var/run/puppet/ > puppetmasterd.pid > > Yup there''s a PID file > [root@puppethc01 files]# ls -alrt /var/run/puppet/puppetmasterd.pid > -rw-r--r-- 1 puppet puppet 0 Apr 15 15:10 /var/run/puppet/ > puppetmasterd.pid > > Still no process though. > [root@puppethc01 files]# ps -ef | grep puppet > root 16464 13135 0 15:10 pts/0 00:00:00 grep puppet > > Better remove the PID file > [root@puppethc01 files]# rm -f /var/run/puppet/puppetmasterd.pid > > And if I remove the .svn directory..... > [root@puppethc01 files]# rm -rf .svn > > Everything is fine. > [root@puppethc01 files]# puppetmasterd --verbose --no-daemonize > notice: Starting Puppet server version 0.25.4 > notice: Caught INT; calling stop-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Mike
2010-Apr-19 15:11 UTC
[Puppet Users] Re: Could not create PID file error when .svn directory exists.
Yes, when the .svn directory exists it throws the error: Could not run: Could not create PID file: /var/run/puppet/ puppetmasterd.pid On Apr 18, 3:34 pm, Tore <tore.lo...@gmail.com> wrote:> Did you try to start puppetmaster prior you removed the .svn > directory? > > On Apr 15, 11:18 pm, Mike <michael.gib...@rightnow.com> wrote: > > > > > > > Getting some strange behavior when I try and start the puppetmaster. > > I keep my configs in a subversion repository so naturally there > > are .svn directories within the puppet config directory. > > Not sure why but one of my puppetmaster instances refuses to start > > until I remove one specific .svn directory. > > > No puppet process running. > > [root@puppethc01 files]# ps -ef | grep puppet > > root 16417 13135 0 15:09 pts/0 00:00:00 grep puppet > > > [root@puppethc01 files]# puppetmasterd --verbose --no-daemonize > > notice: Starting Puppet server version 0.25.4 > > Could not run: Could not create PID file: /var/run/puppet/ > > puppetmasterd.pid > > > Yup there''s a PID file > > [root@puppethc01 files]# ls -alrt /var/run/puppet/puppetmasterd.pid > > -rw-r--r-- 1 puppet puppet 0 Apr 15 15:10 /var/run/puppet/ > > puppetmasterd.pid > > > Still no process though. > > [root@puppethc01 files]# ps -ef | grep puppet > > root 16464 13135 0 15:10 pts/0 00:00:00 grep puppet > > > Better remove the PID file > > [root@puppethc01 files]# rm -f /var/run/puppet/puppetmasterd.pid > > > And if I remove the .svn directory..... > > [root@puppethc01 files]# rm -rf .svn > > > Everything is fine. > > [root@puppethc01 files]# puppetmasterd --verbose --no-daemonize > > notice: Starting Puppet server version 0.25.4 > > notice: Caught INT; calling stop > > -- > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group athttp://groups.google.com/group/puppet-users?hl=en.-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.