Install Problem: cannot create /var/log/puppetlabs/puppetdb/puppetdb-daemon.log: Directory nonexistent

asked 2018-05-20 22:53:01 -0500

SSD gravatar image

I have just finished installing PuppetDB and configuring it. I tested PostgreSQL, etc. I tried "service puppetdb restart" and I got this error:

May 21 03:37:27 puppet puppetdb[31214]: /etc/init.d/puppetdb: 60: /etc/init.d/puppetdb: cannot create /var/log/puppetlabs/puppetdb/puppetdb-daemon.log: Directory nonexistent May 21 03:37:27 puppet systemd[1]: puppetdb.service: Control process exited, code=exited status=2 May 21 03:37:27 puppet systemd[1]: Failed to start LSB: puppetdb.

However I am sure that /var/log/puppetlabs/puppetdb exists. And I "chown -R puppetdb.puppdb /var/log/puppetlabs/puppetdb" to be sure that is not the problem.

edit retag flag offensive close merge delete