[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] RE: couldn't create pid file '/var/run/named.p id'
- Subject: RE: [cobalt-users] RE: couldn't create pid file '/var/run/named.p id'
- From: Graeme Fowler <graeme.fowler@xxxxxxxxxxxxxx>
- Date: Sun Jan 20 06:41:02 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Chae wrote:
> Strangely the error is now gone from my logs
Easy enough to fix.
[root@server /var/named]# /etc/rc.d/init.d/named stop
[root@server /var/named]# chown named:named /var/run/named.pid
OR... rm /var/run/named.pid
[root@server /var/named]# /etc/rc.d/init.d/named start
should see you right. The error is entirely created because when Cobalt
updated their BIND package, they did it twice - first time to upgrade the
package version, and second time to create the user & group 'named' for
named to run under. Only - they forgot to remove the file
/var/run/named.pid, which was already owned by user 'root'. Starting the
name server up after the update is applied will cause the error to appear
since it's running as named:named... and can't overwrite the appropriate
runtime PID file!
In any case, it's pretty much pointless since the RaQ uses the ndc binary
for nameserver control, so the file is almost un-necessary anyway!
Graeme