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

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



> I have just set up a new site on the server (RAQ4r) and as the ns records
> started to change accross the net I noticed that the mail for the new domain
> was not being accepted with the following errors.
>
> Oct 17 10:23:33 www sendmail[28539]: g9H9NXe28539: ruleset=check_rcpt,
> arg1=<sales@xxxxxxxxxxx>, relay=MAILER-DAEMON@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> [64.73.138.119], reject=550 5.7.1 <sales@xxxxxxxxxxx>... Relaying denied.
> Please check your mail first or restart your mail session.


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


>
> Assuming I had made a mistake with the DNS I revisited  the GUI and checked
> all entries. All seemed OK.
> I saved the DNS and checked the messages log to find.
>

This dns error should not stop named running
it will be cause that named runs as named and the /etc/named
is maybe olnly own by root

have a look at
/etc/named see who owns it eg named or root
also ps awxu | grep named is it owned by 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





> Oct 17 12:00:45 www named[409]: reloading nameserver
> Oct 17 12:00:46 www named[409]: master zone "56/29.126.74.195.in-addr.arpa"
> (IN) loaded (serial 2002101712)
> Oct 17 12:00:46 www named[409]: couldn't create pid file
> '/var/run/named.pid'
> Oct 17 12:00:46 www named[409]: Forwarding source address is [0.0.0.0].1493
> Oct 17 12:00:46 www named[409]: Ready to answer queries.
>
>
> I looked up the couldn't create pid file '/var/run/named.pid' error in the
> archives and changed the named.pid file to 777 for a quick fix (I know
> insecure...). I tried again and the error message is still there.
>
> The webserver side is all functioning fine and the site is serving. The mail
> however will not be accepted by the RAQ and the customer is getting ... well
> you know how they are!
>
> Any help from anyone?
>
> Paul.
>
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>