LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-14-2010, 12:28 AM   #1
struggled_newbie
Member
 
Registered: Sep 2009
Posts: 125

Rep: Reputation: 15
FAILED!!! /etc/init.d/named reload


hello linux gurus!

I've installed a redhat 9 and the first thing I've tried to condigure is the DNS/BIND I've never assign IP address yet on the Network card.

My reference is from: http://www.xenocafe.com/tutorials/dn...dhat-part2.php

Please check on my steps if there are something missing.

First
I've check on the bind services using the command:
rpm -qa | grep -i bind
and the Bind version appears which means its already installed

Second
I've edited the /etc/named.conf and changed the specific zones according to my reference]

Lastly
I've tried the to check if the named (BIND is loaded in the zone using
/etc/init.d/named reload

the reply is
reloading named: usage: killall


[FAILED]

please help me
 
Old 05-14-2010, 12:45 AM   #2
kurwongbah
Member
 
Registered: Apr 2010
Posts: 82

Rep: Reputation: 24
Are you sure named is running?
If it's not, you cannot reload the config.
Check with: /etc/init.d/named status
If not running, start with: /etc/init.d/named start
 
Old 05-14-2010, 12:52 AM   #3
alli_yas
Member
 
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92
Hi

Quote:
/etc/init.d/named reload

the reply is
reloading named: usage: killall


[FAILED]
Did you ever start the named application before? If not, it should fail since you're trying to stop something that was never started in the first place.

Can you also please post the output of:

Code:
#more /etc/init.d/named
Lastly, is there any particular reason you're using such an old version of Red Hat (now Fedora)?

Cheers
Yas
 
Old 05-14-2010, 01:01 AM   #4
struggled_newbie
Member
 
Registered: Sep 2009
Posts: 125

Original Poster
Rep: Reputation: 15
thanks it works on /etc/init.d/named start
but may I know why there is still errors when I try the command : nslookup
it specifies SERVFAIL
 
Old 05-14-2010, 01:12 AM   #5
struggled_newbie
Member
 
Registered: Sep 2009
Posts: 125

Original Poster
Rep: Reputation: 15
alli_yas

thanks also, I guess it does not really work if I dont have a purchased domain name, am I right?
 
Old 05-14-2010, 01:28 AM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
This shows there is a problem in the script or a with the data the script is using
Code:
/etc/init.d/named reload

the reply is
reloading named: usage: killall
Can you post /etc/init.d/named?
 
Old 05-14-2010, 04:10 AM   #7
alli_yas
Member
 
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92
Quote:
but may I know why there is still errors when I try the command : nslookup
it specifies SERVFAIL
Please post the exact output you're getting when you're trying to do an nslookup.

Generally, nslookup will fail to resolve a hostname when either:

1. The hostname is not in your /etc/hosts/ file nor is there any entry in any of your defined DNS nameservers (/etc/resolv.conf)
2. The DNS servers you have specified in your /etc/resolv.conf are either unavailable or don't exist.

Cheers
Yas
 
Old 05-14-2010, 06:09 PM   #8
kurwongbah
Member
 
Registered: Apr 2010
Posts: 82

Rep: Reputation: 24
dns nslookup gives a server fail when it tries to query to a server that doesn't respond or it cannot find a dns server to query.
So either add a nameserver a.b.c.d line to resolve.conf or specify the dns server to query on the command line (man nslookup)
BTW nslookup is old stuff, use the new dig instead!
 
Old 05-14-2010, 10:45 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
red hat 9 ????
You do know that that version is SO old that it will not work with new hardware
nor will it work with any software that has been updated in the last 6 years

please install and use a currently supported version
RHEL 5.5 is the current
 
  


Reply



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
Command failed: device-mapper: reload ioctl failed: Invalid argument azza Programming 2 01-10-2011 03:16 AM
file /var/lib/named/var/named/reverse/named.zero failed: file not found Toadman Linux - Software 15 03-18-2009 07:01 PM
Repository Reload Failed for some packages Ye Myint Linux - Newbie 1 10-23-2008 06:09 AM
xinetd reload failed allelopath Linux - Networking 6 04-14-2005 04:38 PM
Xinetd failed to reload nacosta Linux - Networking 2 11-28-2001 01:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:54 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