LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 02-21-2005, 11:17 PM   #1
opsraja
Member
 
Registered: Sep 2004
Posts: 37

Rep: Reputation: 15
named does not start on redhat


Hi,

I am administering an offsite redhat box (which I don't have physical access to; nor the root password; just secure keys on my end that let me login with root access) which runs a 2.4 kernel. It hosts many websites, but unfortunately none of the websites are running. Well they are running, but can only be found by IP address, not by name. I did a

ps auxww | grep named | grep -v grep

to see if named is running, and it wasn't. I try to do

service named restart

and I get the error: /etc/init.d/named: named.restart: command not found

I tried to do service named stop and i get
doneting down named: [FAILED]

service named start gives me:
Starting named: execvp: Permission denied
[FAILED]

And finally service named status gives me
named dead but subsys locked

I went to /var/lock/subsys and did rm named, but it didn't fix anything. I'm not quite sure how to fix this (keeping in mind I don't have physical access)? I hope someone else does? Any help is appreciated.
 
Old 02-22-2005, 08:42 AM   #2
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
Why would you need physical access if you can log in as root and do remote administration?

All you need to make sure is

* the installed "bind" package ("named" is part of it) is a compatible one, query it with "rpm --query bind", verify it with "rpm -V bind"

* the named service is configured correctly, i.e. /etc/named.conf and any zone files referenced within it

Then your should be able to start it. Take a look at the log files in /var/log for any error messages named stores there.

Quote:
/etc/init.d/named: named.restart: command not found
This looks wrong. Type mistake?

Quote:
I tried to do service named stop and i get
doneting down named: [FAILED]
Maybe an updated bind package fixes this corrupted status message. It's a mixture between "done" and "shutting down named". Don't worry about it. The important bit is "FAILED". Not all service scripts can be smart enough to bail out if you try to stop a service which is stopped already because it failed and terminated unexpectedly.
 
Old 02-24-2005, 06:51 PM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Check the log file to see what's causing the problem


Normally in /var/log/messages
 
  


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
Named service won't start DanielTan Fedora - Installation 2 09-28-2005 12:54 PM
named failed to start in 2.6.3 mardanian Linux - Software 6 11-25-2004 10:23 AM
What run level do I start named? imsam Linux - Newbie 2 10-26-2004 10:52 AM
named error message when trying to start it mchanea Linux - Wireless Networking 0 02-05-2004 09:25 AM
BIND problem... named will not even start. SniperDevil Linux - Networking 4 01-13-2004 04:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 01:59 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
Open Source Consulting | Domain Registration