Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-26-2004, 10:49 AM
|
#1
|
Member
Registered: Dec 2003
Posts: 64
Rep:
|
How come I can't stop named?
Hi,
When I type "service named stop" nothing happens.
I type "service named status" it tells me that the server is up and running.
Then I type "service named start" it tells me that it's already running.
I'm a newbie and just installed RH9 and using the GUI setup, I selected DNS server setup. However, when I was done w/ setup "named" was not started.
I manually started named and put it under RunLevel 3. Am I making a mistake somewhere?
|
|
|
10-26-2004, 12:38 PM
|
#2
|
Member
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620
Rep:
|
Just so we are on the same page, can you post the following command outputs?
Code:
[root@voyager etc]# service named start
Starting named: [ OK ]
[root@voyager etc]# service named status
number of zones: 4
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
server is up and running
[root@voyager etc]# service named stop
Stopping named: [ OK ]
[root@voyager etc]# service named status
rndc: connect failed: connection refused
FYI:
service named stop = rndc stop
service named status = rndc status
In short, check /etc/rndc.key, /etc/rndc.conf and /etc/named.conf to make sure your key definitions are correct.
|
|
|
10-26-2004, 01:28 PM
|
#3
|
Member
Registered: Dec 2003
Posts: 64
Original Poster
Rep:
|
Message I get
Hi,
What I see on the screen is identical to what you put in your post except for the fact that I don't get [OK] after I enter service named stop. It does say Stopping named: but I never get the OK.
Here's what I'm seeing:
Code:
[root@MyTestDNS etc]# service named start
Starting named: [ OK ]
[root@MyTestDNS etc]# service named status
number of zones: 4
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
server is up and running
[root@MyTestDNS etc]# service named stop
Stopping named:
[root@MyTestDNS etc]# service named status
number of zones: 4
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
server is up and running
[root@MyTestDNS etc]# service named start
named: Already running[root@MyTestDNS etc]#
I checked the rndc.key, rndc.conf and named.conf files. They're all there. I'm not sure what I'm looking for but they're there.
|
|
|
10-26-2004, 02:08 PM
|
#4
|
Member
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620
Rep:
|
I'm at a loss as to why named is not stopping on your system. My goal in having you paste the output of those commands was to verify your rndc keys were properly configured; which they are. The " rndc status" output verified that.
At this point, I would look in /var/log/messages to see if there are any errors associated with stopping named. Maybe checking if there is a newer version of bind available. Check the redhat site to see if there have been any problems logged against bind running on RH9, Something along those lines.
|
|
|
10-26-2004, 03:04 PM
|
#5
|
Member
Registered: Dec 2003
Posts: 64
Original Poster
Rep:
|
RedHat related problem!
Hi,
Scowles thanks for your help. A little research on Google indicates this is a RH related problem. Here's what someone who's having the same exact problem said
Quote:
Just did a redhat kernel upgrade, from 2.4.20-8 to 2.4.20-24.9, which fixed the problem. I can now stop named using rndc without any problems.[/
|
Now, this brings up another question. Because I'm a newbie, I don't know how to do kernel updates. Could anyone give me an idea about where to get them and how to install them using nothing but the command prompt.
The great thing about this experience is that I'm learning so much about Linux. My DNS setup was for testing and learning purposes so this is working out great.
Again, I'd appreciate some pointer on how to do a kernel update.
Last edited by imsam; 10-26-2004 at 03:06 PM.
|
|
|
10-26-2004, 04:43 PM
|
#6
|
Member
Registered: Nov 2002
Posts: 73
Rep:
|
Re: RedHat related problem!
Quote:
Originally posted by imsam
Again, I'd appreciate some pointer on how to do a kernel update.
|
The easiest thing to do is go here . Download the appropriate RPM file for your architecture (hardware). Then, like the instructions say, do a
rpm -Fvh [filenames]
where [filenames] is a list of the RPMs you wish to upgrade.
I better solution would be to upgrade to Fedora Core 2, which will get you into the 2.6x kernel. Then, go to www.fedorafaq.org, get the yum.conf file they have there, and do
yum update
to keep up to date.
|
|
|
All times are GMT -5. The time now is 03:53 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|