LinuxQuestions.org
Visit Jeremy's Blog.
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 09-13-2004, 06:29 PM   #1
jillu
LQ Newbie
 
Registered: Sep 2004
Location: Oregon
Distribution: RedHat, Mandrake, and Debian
Posts: 11

Rep: Reputation: 0
why won't named stop??


I'm curious if anyone else has had this problem...

When I try and either restart or stop/start named I get a message that "the service is already running"...

Anyone have any ideas on what causes this and how I can correct it?

Thanks in advance...
Jill
 
Old 09-13-2004, 08:30 PM   #2
RHELL
Member
 
Registered: Feb 2004
Location: Outermost mingetty
Distribution: RHEL3,RH4U4,Sol9, Sol10
Posts: 321

Rep: Reputation: 31
It's probably switched on for that runlevel. What do you get from:
'chkconfig --list named'

Last edited by RHELL; 09-13-2004 at 08:31 PM.
 
Old 09-13-2004, 08:35 PM   #3
RHELL
Member
 
Registered: Feb 2004
Location: Outermost mingetty
Distribution: RHEL3,RH4U4,Sol9, Sol10
Posts: 321

Rep: Reputation: 31
SORRY, didn't properly read your post. It's giving the same message whether you star/stop/restart.
 
Old 09-13-2004, 08:50 PM   #4
netopia
LQ Newbie
 
Registered: Sep 2004
Location: Boston, MA
Distribution: fedora core 2
Posts: 28

Rep: Reputation: 15
what command line are you using to start/stop/restart?
If you must take down named at all costs use
killall -HUP named

Under normal circumstances I would use
service named stop
(service is a red hat specific command tho, may or may not be available on mandrake)

I think the most likely cause of this, however, is that named isn't actually running, but the thing its init script uses (a pid file) is errantly claiming that it is. The way to see if something is *actually* running would be
ps -ax | grep named

You can also use
netstat -tl
(that's tL) to see what's listening for network connections, though it's possible that named could be running and not listening anywhere (not very likely though).

Last edited by netopia; 09-13-2004 at 08:54 PM.
 
Old 09-13-2004, 09:22 PM   #5
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
Have a look at the /etc/init.d/named script and see if it's using the presence of a file to determine whether it's running or not. The file would usually be something like /var/run/named.pid
 
  


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
How come I can't stop named? imsam Linux - Networking 5 10-26-2004 03:43 PM
cannot find named.conf and /var/named kaushikma Red Hat 1 02-07-2004 12:49 PM
service named can't stop... TAAN Linux - Networking 1 09-11-2003 03:43 AM
Virtual Host type, named or IP via SSL? Named VH is not possible? piratebiter Linux - Security 3 08-20-2003 05:27 PM
why my named service stop after running a few minute? lzyking Linux - Software 4 06-24-2003 09:15 AM

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

All times are GMT -5. The time now is 11:05 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration