LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-18-2006, 08:34 AM   #1
mchitrakar
Member
 
Registered: Mar 2004
Posts: 93
Blog Entries: 1

Rep: Reputation: 15
named server error


I had a dns server running on RHLinux 9. And the named server pkg I am using is "bind-9.2.1-16". Now, this service has completely stopped. any attempt by:
#service named start gives [FAILED] error message.
I tried to #named and with its options like #named -d0. All give error message: Segmentation error. Viewing /var/log/messages shows just "myABC named: named startup failed".

I checked all conf files and found them OK.

before this anomaly, the server had rebooted several times due UPS problem and I had to fsck many times.


How can I solve this problem?do advise.

Last edited by mchitrakar; 05-18-2006 at 08:37 AM.
 
Old 05-18-2006, 09:14 AM   #2
zaichik
Member
 
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419

Rep: Reputation: 30
How did you check the conf files?

How many zones do you have?

You'd think that if there were a problem with named.conf or a zone file, you'd see something more specific in the messages log.
 
Old 05-18-2006, 09:44 AM   #3
mchitrakar
Member
 
Registered: Mar 2004
Posts: 93

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Only one domain (and that is intranet domain-"myABC.org") and not connected to internet directly.

did following:

#named-checkzone myABC.org /var/named/myABC.hosts
zone myABC.org/IN: loaded serial 2003071301
OK

checking /var/log/messages shows nothing (meaning no new error messages)

#named-checkconf
# (no errors reported)

checking /var/log/messages reveals nothing (meaning no new error messages)

and;
/etc/named.conf has:

zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};

zone "myABC.org" IN {
type master;
file "myABC.hosts";
allow-update { none; };
};

zone "0.168.192.in-addr.arpa" IN {
type master;
file "myABC.rev";
allow-update { none; };
};
 
Old 05-18-2006, 10:00 AM   #4
zaichik
Member
 
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419

Rep: Reputation: 30
Hmm, looks OK to me. named.conf has the reverse lookup zone, and you haven't said anything about the zone file for that. But even so, if the file were missing or had errors, the error should be logged to messages, and it shouldn't prevent named from starting, let alone cause it to segfault.

I think you might have a corrupt binary, maybe caused by the power-cycling from the UPS. You might want to try uninstalling and reinstalling bind, or potentially using yum to try to update it if it was installed via RPM.
 
Old 05-18-2006, 10:06 AM   #5
mchitrakar
Member
 
Registered: Mar 2004
Posts: 93

Original Poster
Blog Entries: 1

Rep: Reputation: 15
thanks ...gotta try that..and abour reverse...there is a file "myABC.rev" but not included in the discussion because reverse dns lookup is not so important.

and thanks for your advice.
 
Old 05-18-2006, 10:09 AM   #6
zaichik
Member
 
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419

Rep: Reputation: 30
I'll be interested in knowing how that turns out. Keep us posted, and good luck!
 
Old 05-18-2006, 11:49 AM   #7
mchitrakar
Member
 
Registered: Mar 2004
Posts: 93

Original Poster
Blog Entries: 1

Rep: Reputation: 15
great. it worked.
#rpm -e --nodeps bind-utils
#rpm -e --nodeps bind

#rpm -ivh --aid bind-utils
#rpm -ivh --aid bind

#service named start
[ OK ]

..thanks...
 
Old 05-18-2006, 01:22 PM   #8
zaichik
Member
 
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419

Rep: Reputation: 30
Awesome! You're more than welcome--I love happy endings.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configure named server DanielTan Linux - Software 10 10-12-2005 09:32 AM
named / bind error saurabh142857 Linux - Software 2 06-27-2005 10:30 AM
setting my own named server slack66 *BSD 6 11-15-2004 08:52 PM
named works only on the server psc Linux - Networking 1 10-18-2004 05:41 AM
/usr/sbin/named error? TongueTied Linux - Networking 5 08-29-2003 07:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration