![]() ![]() |
Feb 8 2007, 04:14 PM
Post
#1
|
|
|
Newbie Group: Members Posts: 7 Joined: 13-January 07 Member No.: 46,948 |
I'm having problems with the dns running on my server here is my log file:
Feb 8 17:12:03 compro named[5085]: starting BIND 9.2.4 -u named -c /etc/named.conf -u named -t /var/named/run-root Feb 8 17:12:03 compro named[5085]: using 1 CPU Feb 8 17:12:03 compro named[5085]: loading configuration from '/etc/named.conf' Feb 8 17:12:03 compro named[5085]: listening on IPv4 interface lo, 127.0.0.1#53 Feb 8 17:12:03 compro named[5085]: listening on IPv4 interface eth0, 74.52.192.210#53 Feb 8 17:12:03 compro named[5085]: listening on IPv4 interface eth0:0, 74.52.192.211#53 Feb 8 17:12:03 compro named[5085]: listening on IPv4 interface eth0:1, 74.52.192.212#53 Feb 8 17:12:03 compro named[5085]: listening on IPv4 interface eth0:2, 74.52.192.213#53 Feb 8 17:12:03 compro named[5085]: listening on IPv4 interface eth0:3, 74.52.192.214#53 Feb 8 17:12:03 compro named[5085]: command channel listening on 127.0.0.1#953 Feb 8 17:12:03 compro kernel: audit(1170972723.778:7): avc: denied { unlink } for pid=5086 comm="named" name="named.pid" dev=hda3 ino=1310809 scontext=user_u:system_r:named_t tcontext=system_u:object_r:named_zone_t tclass=file Feb 8 17:12:03 compro named[5085]: couldn't open pid file '/var/run/named/named.pid': File exists Feb 8 17:12:03 compro named[5085]: exiting (due to early fatal error) Feb 8 17:12:03 compro named: named startup failed I've been working on this for the past 6 hours and can't get it to work fully. Can anyone help |
|
|
|
Feb 8 2007, 07:37 PM
Post
#2
|
|
|
SuperGeek ![]() ![]() ![]() ![]() Group: Members Posts: 2,141 Joined: 28-June 03 Member No.: 8,418 |
I'm having problems with the dns running on my server here is my log file: Feb 8 17:12:03 compro named[5085]: starting BIND 9.2.4 -u named -c /etc/named.conf -u named -t /var/named/run-root Feb 8 17:12:03 compro named[5085]: using 1 CPU Feb 8 17:12:03 compro named[5085]: loading configuration from '/etc/named.conf' Feb 8 17:12:03 compro named[5085]: listening on IPv4 interface lo, 127.0.0.1#53 Feb 8 17:12:03 compro named[5085]: listening on IPv4 interface eth0, 74.52.192.210#53 Feb 8 17:12:03 compro named[5085]: listening on IPv4 interface eth0:0, 74.52.192.211#53 Feb 8 17:12:03 compro named[5085]: listening on IPv4 interface eth0:1, 74.52.192.212#53 Feb 8 17:12:03 compro named[5085]: listening on IPv4 interface eth0:2, 74.52.192.213#53 Feb 8 17:12:03 compro named[5085]: listening on IPv4 interface eth0:3, 74.52.192.214#53 Feb 8 17:12:03 compro named[5085]: command channel listening on 127.0.0.1#953 Feb 8 17:12:03 compro kernel: audit(1170972723.778:7): avc: denied { unlink } for pid=5086 comm="named" name="named.pid" dev=hda3 ino=1310809 scontext=user_u:system_r:named_t tcontext=system_u:object_r:named_zone_t tclass=file Feb 8 17:12:03 compro named[5085]: couldn't open pid file '/var/run/named/named.pid': File exists Feb 8 17:12:03 compro named[5085]: exiting (due to early fatal error) Feb 8 17:12:03 compro named: named startup failed I've been working on this for the past 6 hours and can't get it to work fully. Can anyone help did you check poermitions on the folder? do you have selinux enable? -------------------- Automatic restore in process.... failed Loading remote brain.... succeeded w w w . t o t a l s e r v e r s o l u t i o n s . c o m Tss -- Live Support! Tweaking, Securing, 24x7 Service Monitoring, Monthly Management, Migrations, Restores, Optimization,Loadbalancers configuration, Mysql Clusters, Custom Configurations, Consulting English And Spanish Support! We do it all @ TotalServerSolutions |
|
|
|
Feb 8 2007, 07:57 PM
Post
#3
|
|
|
Newbie Group: Members Posts: 7 Joined: 13-January 07 Member No.: 46,948 |
did you check poermitions on the folder? do you have selinux enable? I have check permissions but they all seem to be correct. I am running centos. When I start named from the command prompt using named -u named -c /etc/named.conf I get an error that says "could not configure root hints from 'named.ca': file not found" I am using plesk to try and restart the dns (which fails) but it uses the following command starting BIND 9.2.4 -u named -c /etc/named.conf -u named -t /var/named/run-root which gives the errors Feb 8 20:52:51 compro kernel: audit(1170985971.800:12): avc: denied { unlink } for pid=6493 comm="named" name="named.pid" dev=hda3 ino=1310809 scontext=user_u:system_r:named_t tcontext=system_u:object_r:named_zone_t tclass=file Feb 8 20:52:51 compro named[6492]: couldn't open pid file '/var/run/named/named.pid': File exists Feb 8 20:52:51 compro named[6492]: exiting (due to early fatal error) Feb 8 20:52:51 compro named: named startup failed Thanks for any help. |
|
|
|
Feb 8 2007, 10:49 PM
Post
#4
|
|
![]() SuperGeek ![]() Group: The Planet Staff Posts: 1,695 Joined: 27-December 05 Member No.: 19,248 |
I have check permissions but they all seem to be correct. I am running centos. When I start named from the command prompt using named -u named -c /etc/named.conf I get an error that says "could not configure root hints from 'named.ca': file not found" I am using plesk to try and restart the dns (which fails) but it uses the following command starting BIND 9.2.4 -u named -c /etc/named.conf -u named -t /var/named/run-root which gives the errors Feb 8 20:52:51 compro kernel: audit(1170985971.800:12): avc: denied { unlink } for pid=6493 comm="named" name="named.pid" dev=hda3 ino=1310809 scontext=user_u:system_r:named_t tcontext=system_u:object_r:named_zone_t tclass=file Feb 8 20:52:51 compro named[6492]: couldn't open pid file '/var/run/named/named.pid': File exists Feb 8 20:52:51 compro named[6492]: exiting (due to early fatal error) Feb 8 20:52:51 compro named: named startup failed Thanks for any help. login as root and.. "rm -rf /var/run/named/named.pid" "killall -9 named" "/etc/init.d/named stop" "/etc/init.d/named start" hopefully that should solve the problem. -------------------- "The average person thinks he isn't." -- Father Larry Lorenzoni
James Jhurani Managed Hosting http://www.theplanet.com |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 21st November 2009 - 10:29 PM |