> [EMAIL PROTECTED] log]# grep named /etc/passwd /etc/group
> /etc/passwd:named:x:25:25:Bind User:/var/named:
> /etc/group:named:x:25:
> 
> And here is my /var/log/syslog after doing "/etc/init.d/named start" :
> Sep 25 18:49:24 localhost named[3622]: starting BIND 9.2.3rc2 -u named
> Sep 25 18:49:24 localhost named[3622]: using 1 CPU
> Sep 25 18:49:24 localhost named[3624]: loading configuration from '/etc/named.
> conf'
> sep 25 18:49:24 localhost named: D�marrage de named succeeded
> Sep 25 18:49:24 localhost named[3624]: no IPv6 interfaces found
> Sep 25 18:49:24 localhost named[3624]: listening on IPv4 interface lo, 127.0.0.
> 1#53
> Sep 25 18:49:24 localhost named[3624]: listening on IPv4 interface eth0, 192.
> 168.0.1#53
> Sep 25 18:49:24 localhost named[3624]: command channel listening on 127.0.0.
> 1#953
> Sep 25 18:49:24 localhost named[3624]: couldn't open pid file '/var/run/named.
> pid': Permission denied
> Sep 25 18:49:24 localhost named[3624]: exiting (due to early fatal error)
> 
> 
> The problem is that /var/run/named.pid cammot be written by user named !
> 
> Looking at directory /var/run tells me :
> drwxr-xr-x   12 root     root          904 sep 25 19:01 /var/run/
> 
> I simply upgraded bind to latest cooker version :S
> So what's wrong ?

the error message is clear enough ... you cannot modify the
/var/run/named/named.pid

normally, the file should /var/run/named/named.pid

in the /etc/named.conf configuration file you should have, in the options
section, something like this:

pid-file "/var/run/named/named.pid";

Note: I have already give examples of configuration files in 
/usr/share/doc/bind-9.2.3/dhcp-dynamic-dns-examples/bind/etc/named.conf

cheers,
-- 
Florin                  http://www.mandrakesoft.com
                        http://people.mandrakesoft.com/~florin/

Reply via email to