[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] couldn't create pid file '/var/run/named.pid'
- Subject: Re: [cobalt-users] couldn't create pid file '/var/run/named.pid'
- From: "r'u" <yrush001@xxxxxxxxxxxxxxx>
- Date: Thu Jan 17 20:37:30 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
try to reboot.. i had a similar error with the httpd.pid missing..
ciao
----- Original Message -----
From: "Troy Arnold" <cobalt@xxxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Thursday, January 17, 2002 11:23 AM
Subject: [cobalt-users] couldn't create pid file '/var/run/named.pid'
> Hi all,
>
> After updating DNS changes in the GUI I have been receiving the following
> errors in my LogCheck reports (all related to new DNS entries).
>
> Jan 16 13:31:05 www named[2005]: master zone "mydomain.org" (IN) loaded
> (serial 2002011613)
> Jan 16 13:31:05 www named[2005]: master zone "mydomain.net" (IN) loaded
> (serial 2002011613)
> Jan 16 13:31:05 www named[2005]: couldn't create pid file
> '/var/run/named.pid'
> Jan 16 13:31:05 www named[2005]: Forwarding source address is
[0.0.0.0].1166
>
> Everything is still functioning fine. I never changed "named" from "root"
as
> listed in the excerpt I found in the lists on this issue. Unless this was
> performed by one of the many updates which I believe it was. Check out the
> post below that I found. It outlines someone else having the same problem
> (except they made the change themselves). Confused, any ideas?
>
> snip
> >I recently followed suite like many others on this list and changed
"named"
> >on our systems to run as user "named" vs. user "root". But we're seeing
> this
> >error in our logs when we make DNS changes in the GUI.
> >Apr 11 23:25:19 blue named[27721]: couldn't create pid file
> >'/var/run/named.pid'
> >-BUT- everything appears to be running okay and with no (apparent)
> problems.
> >There is a named.pid sitting in /var/run/ (created by user named) and
it's
> >permissions appear to be correct:
> >-rw-r--r-- 1 named named 6 Apr 11 00:09 named.pid
> >The changes we made to change things over to a "named" user were as
> follows:
> >useradd -c "Named" -u 25 -s /bin/false -r -d /etc/named named 2>/dev/null
> || :
> >This creates group/user "named" and sends any connections to a null
device.
> >Then we changed the two "daemon named" references in
/etc/rc.d/init.d/named
> >to the following:
> >daemon named -u named -g named
> >Then restarted everything and it seems to work like a charm, short of
this
> >error we see in the logs when we make changes to DNS.
>
> Again, I never made the above (snipped info) changes to my server so I am
a
> bit confused. Any feedback would be greatly appreciated. Thanks!
>
> Best regards,
> Troy Arnold
> websetters, inc.
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users