LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Bind chroot problem (https://www.linuxquestions.org/questions/linux-software-2/bind-chroot-problem-270411/)

dementiaa 12-26-2004 03:48 AM

Bind chroot problem
 
Hi,

Im having a problem getting bind to run in chroot, apparently it cannot write to the named.pid file yet:

-rwxrwxrwx 1 named named 0 Dec 26 14:37 named.pid

im starting named using this command..

./named -t /chroot -u named -c /named/etc/named.conf

log file error:

Dec 26 14:44:25 server1 named[22440]: couldn't open pid file '/named/named.pid': Permission denied

any ideas?

MasterC 12-26-2004 03:54 AM

Why a chmod of 777?

What are the perms on the /named directory?

Cool

dementiaa 12-26-2004 04:12 AM

drwx------ 10 named named 4096 Dec 26 14:37 named

should be fine..

dementiaa 12-26-2004 04:14 AM

i chmodded it 777 to test i wasnt doing something stupid :/


All times are GMT -5. The time now is 09:13 PM.