We help IT Professionals succeed at work.

rndc dumpdb on BIND, result permission denied.

rawandnet
rawandnet used Ask the Experts™
on
I am trying to view catch file using rndc dumpdb command, but I get following error:

Jul  5 12:52:27 localhost named[12189]: could not open dump file 'named_dump.db': permission denied
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2015
Commented:
In your named.conf add:

dump-file /path/to/dumpfilename;

Where /path/to/dumpfulename is writeable, i.e., /tmp/named_dump.db

Otherwise, it's probably trying to write to a location where it does not have permission.

Author

Commented:
thanks, as you said path was missing.