I guess I figured out, the "run" directory inside the /var should be a soft link to /run. Then it works normally.
On Mon, Apr 25, 2016 at 7:03 PM, Balasubramaniam Natarajan < [email protected]> wrote: > I have installed stock puppet (3.7.2) on Debian 8 and my puppet is > refusing to run as a service when I try to invoke it. I can see that > puppet.service start operation is timing out on a cronjob which restarts my > puppet every day at a fixed time. Some amount of searching got me to [1] > however the solution on that did not help me either. > > [1] > https://stelfox.net/blog/2014/01/starting-puppetmaster-on-fedora-19/ > > *root@myServer:~# dpkg -l | grep puppet* > ii puppet 3.7.2-4 all > configuration management system, agent > ii puppet-common 3.7.2-4 all > configuration management system > *root@myServer:~# lsb_release -a* > No LSB modules are available. > Distributor ID: Debian > Description: Debian GNU/Linux 8.4 (jessie) > Release: 8.4 > Codename: jessie > *root@myServer:~# /etc/init.d/puppet status* > ● puppet.service - Puppet agent > Loaded: loaded (/lib/systemd/system/puppet.service; enabled) > Active: failed (Result: timeout) since Mon 2016-04-25 07:02:45 EDT; 3h > 55min ago > Process: 33758 ExecStart=/usr/bin/puppet agent $DAEMON_OPTS > (code=exited, status=0/SUCCESS) > Main PID: 977 (code=exited, status=0/SUCCESS) > > Apr 25 05:01:27 myServer puppet-agent[33771]: > (/Stage[main]/process/File[/file/file1/data0818]/group) group changed > 'root' to 'data' > Apr 25 05:01:27 myServer puppet-agent[33771]: > (/Stage[main]/process/File[/file/file1/data0818]/mode) mode changed '0644' > to '0640' > Apr 25 05:01:27 myServer puppet-agent[33771]: > (/Stage[main]/process/File[/file/file1/data0811]/group) group changed > 'root' to 'data' > Apr 25 05:01:27 myServer puppet-agent[33771]: > (/Stage[main]/process/File[/file/file1/data0811]/mode) mode changed '0644' > to '0640' > Apr 25 05:01:27 myServer puppet-agent[33771]: > (/Stage[main]/Naigos/Exec[linux-headers-uname-r]/returns) executed > successfully > Apr 25 05:02:32 myServer systemd[1]: puppet.service start operation timed > out. Terminating. > Apr 25 05:02:32 myServer puppet-agent[33771]: Caught TERM; calling stop > Apr 25 05:02:32 myServer puppet-agent[33767]: Caught TERM; calling stop > Apr 25 05:02:45 myServer systemd[1]: Failed to start Puppet agent. > Apr 25 05:02:45 myServer systemd[1]: Unit puppet.service entered failed > state. > *root@myServer:~# ps aux | grep puppet* > root 16276 0.0 0.0 12728 2208 pts/2 S+ 09:07 0:00 grep > puppet > *root@myServer:~# /etc/init.d/puppet start* > [....] Starting puppet (via systemctl): puppet.serviceJob for > puppet.service failed. See 'systemctl status puppet.service' and > 'journalctl -xn' for details. > failed! > *root@myServer:~# ps aux | grep puppet* > root 17331 0.0 0.0 12728 2208 pts/2 S+ 09:13 0:00 grep > puppet > *root@myServer:~# ls -ltrhd /run/puppet* > drwxr-xr-x 2 puppet puppet 40 Apr 8 05:01 /run/puppet > *root@myServer:~# ls -ltrhd /var/run/puppet/* > drwxr-xr-x 2 puppet puppet 4.0K Apr 25 09:28 /var/run/puppet/ > root@myServer:~# > > -- > Regards, > Balasubramaniam Natarajan > http://bullet-bala.blogspot.in/ <http://blog.etutorshop.com> > https://www.youracclaim.com/user/balasubramaniam-natarajan > -- Regards, Balasubramaniam Natarajan http://bullet-bala.blogspot.in/ <http://blog.etutorshop.com> https://www.youracclaim.com/user/balasubramaniam-natarajan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAFHFDAmVmaq2E-ZZ_s4XUu0GcenU5_EwCw4MZwTRmSgz_YyuNg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
