named exits

Tim Maestas tmaestas at dnsconsultants.com
Tue Nov 13 23:50:04 UTC 2001




	The userid that your startup script is trying to start
	named as doesn't have permissions to write to
	/var/run so it can't write the pid file.  Either
	modify the permissions on /var/run or change the
	startup script to not run named with the -u flag.

-Tim



On Tue, 13 Nov 2001, Ted Wood wrote:

> 
> I'm having a weird problem with BIND 9.2.0rc1 running on Redhat 7.1, kernel
> 2.4.  I have named set to start up from /etc/rc.d/rc3.d with the usual
> startup script. 
> When the box is done booting named has died in the meantime and these
> entries are in /var/messages:
> 
>    1462 Nov 13 13:39:17 nsbeta named[558]: loading configuration from
> '/etc/named.conf'
>    1463 Nov 13 13:39:17 nsbeta named[558]: /etc/named.conf:243: option
> 'check-names' is not implemented
>    1464 Nov 13 13:39:17 nsbeta named[558]: no IPv6 interfaces found
>    1465 Nov 13 13:39:17 nsbeta named[558]: listening on IPv4 interface lo,
> 127.0.0.1#53
>    1466 Nov 13 13:39:17 nsbeta named[558]: listening on IPv4 interface eth0,
> 205.165.49.40#53
>    1467 Nov 13 13:39:17 nsbeta named[558]: command channel listening on
> 0.0.0.0#953
>    1468 Nov 13 13:39:17 nsbeta named[558]: couldn't open pid file
> '/var/run/named.pid': Permission denied
>    1469 Nov 13 13:39:17 nsbeta named[558]: exiting (due to early fatal
> error)
> 
> If I then start named up manually it starts fine and all is well.
> 
> As a troubleshooting step, I set named not to start up from rc3.d, and added
> the line: /usr/local/sbin/named onto the end of rc.local and rebooted and
> named stayed up and ran fine.  Any ideas?  Thanks in advance.  
> Ted Wood
> 
> 
> 



More information about the bind-users mailing list