[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] /var/run/named.pid - problem



> -----Original Message-----

> Maye sure that you have
> SBMGB.CO.UK  in the email box in the gui for that site
> else only blah@xxxxxxxxxx  will work
> also make sure that you have sales alais set for the user or you have a
> catch all eg @www.SBMGB.CO.UK  on a user
> restart sendmail /etc/rc.d/init.d/sendmail restart
>
> adding SBMGB.CO.UK in the gui should add that to the sendmail relay
> allowed file


Yep done that - catchall (@www.sbmgb.co.uk) exists.
e-mail server alias - sbmgb.co.uk added
Relay for following host/domains contains www.sbmgb.co.uk
MX records exist for both sbmgb.co.uk and www.sbmgb.co.uk


> have a look at
> /etc/named see who owns it eg named or root



drwxr-xr-x   2 named    named        1024 Oct 17 12:00 named



> also ps awxu | grep named is it owned by named ?

named      409  0.0  0.4  3124 2252 ?        S    Sep13   0:50 named -u
named
root      5087  0.0  0.0  1368  516 pts/0    S    13:09   0:00 grep named


> what I did on one server was chown /etc/named to named.named
> and than make a directory /etc/named/run
> then in etc/named.conf edited the options to
>
> options { directory "/etc/named"; pid-file "/etc/named/run/named.pid" blah
>
> Howver this was before sun had fixed named to run as the right user
>

Doing ls -l /var/run/named.pid

-rwxrwxrwx   1 named    named           4 Sep 13 16:00 named.pid  # This is
only 777 as I have changed it from 644 to try and resolve problem.


Any other ideas?

Paul.