Knowledge Base ISC Main Website Ask a Question/Contact ISC
I see a log message like the following. Why? couldn't open pid file '/varunamed.pid': Permission denied
Author: ISC Support Reference Number: AA-00304 Views: 2204 Created: 2011-05-16 14:10 Last Updated: 2017-01-25 01:04 0 Rating/ Voters

You are most likely running named as a non-root user and that user does not have permission to write in /var/run. The common ways of fixing this are to use the "pid-file" configuration statement in named.conf to specify an alternate location where the uid running named does have write permission.  For example you could create a /var/run/named directory owned by the named user and set pid-file to "/var/run/named/named.pid".


© 2001-2017 Internet Systems Consortium

For assistance with problems and questions for which you have not been able to find an answer in our Knowledge Base, we recommend searching our community mailing list archives and/or posting your question there (you will need to register there first for your posts to be accepted). The bind-users and the dhcp-users lists particularly have a long-standing and active membership.

ISC relies on the financial support of the community to fund the development of its open source software products. If you would like to support future product evolution and maintenance as well having peace of mind knowing that our team of experts are poised to provide you with individual technical assistance whenever you call upon them, then please consider our Professional Subscription Support services - details can be found on our main website.

Feedback
  • There is no feedback for this article
Quick Jump Menu