LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 08-03-2010, 02:06 PM   #1
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Rep: Reputation: 30
bind9 status - no response message


I'm trying to figure out on why when I do a:
service bind9 status
This doesnt display anything in my command.
Should be:
Status of Bind9 server: bind9 is running.
But this doesnt display at all.
Can some please advise?

Much thanks!
DB
 
Old 08-03-2010, 02:34 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,770
Blog Entries: 4

Rep: Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697
BIND9 is the high level version of BIND (Berkley Internet Name Daemon). The actual "service" run from it is the Name Daemon called "named".

Try running "service named status".

It seems you should have gotten errors rather than "nothing" when you did "service bind9 status". What Linux distribution are you running?
 
Old 08-03-2010, 02:40 PM   #3
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by MensaWater View Post
BIND9 is the high level version of BIND (Berkley Internet Name Daemon). The actual "service" run from it is the Name Daemon called "named".

Try running "service named status".

It seems you should have gotten errors rather than "nothing" when you did "service bind9 status". What Linux distribution are you running?
Im running Ubuntu.

Also tried service named status but got this:
named: unrecognized service
 
Old 08-03-2010, 03:01 PM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,773

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Why don't you use:
Code:
sudo /etc/init.d/bind9 status
 
Old 08-03-2010, 03:06 PM   #5
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by bathory View Post
Why don't you use:
Code:
sudo /etc/init.d/bind9 status
/etc/init.d/bind9 status

Also returns no messages.

Could it be that Im missing a package or plugin or something?
 
Old 08-03-2010, 03:17 PM   #6
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,773

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Can you start/stop bind9 normally? Also what gives:
Code:
rndc status
If you have errors, you should check logs (var/log/messages, /var/log/syslog) to see if you find something
 
Old 08-03-2010, 05:46 PM   #7
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by bathory View Post
Can you start/stop bind9 normally? Also what gives:
Code:
rndc status
If you have errors, you should check logs (var/log/messages, /var/log/syslog) to see if you find something
nothing in the logs about service named or bind9 status.

also rndc displays this:
rndc status
number of zones: 25
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
recursive clients: 0/0/1000
tcp clients: 0/100
server is up and running

Yes I can start and stop bind normally.
Although when I do /etc/init.d/bind9
* Usage: /etc/init.d/bind9 {start|stop|reload|restart|force-reload|status}
As stated in the options, it does offer the action "status"

Last edited by deibertine; 08-03-2010 at 05:57 PM.
 
Old 08-04-2010, 03:51 AM   #8
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,773

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Could be a bug of the startup script.
When bind is not running, what does "/etc/init.d/bind9 status" says?
You could take a look at the script to see what is doing when called with the "status" option.
Anyway, since "rndc status" works, I don't think it's a big deal.

Regards
 
1 members found this post helpful.
Old 08-05-2010, 01:02 PM   #9
deibertine
Member
 
Registered: Mar 2009
Posts: 222

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by bathory View Post
Could be a bug of the startup script.
When bind is not running, what does "/etc/init.d/bind9 status" says?
You could take a look at the script to see what is doing when called with the "status" option.
Anyway, since "rndc status" works, I don't think it's a big deal.

Regards
Thanks Bathory! This will suffice my needs.

Cheers mate!
DB
 
  


Reply

Tags
bind9, dns, named


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GTK message dialog, problem with default response simopal6 Programming 1 03-22-2012 03:26 AM
bind9 - dig -x returns - status: SERVFAIL eliufoo Linux - Server 4 05-19-2008 10:29 AM
Bind9 and persistant message penguindeb Linux - Server 2 02-01-2008 03:22 AM
hde: no response (status = 0xfe) Nukem Suse/Novell 6 01-16-2005 12:20 PM
no response (status = 0xfe) boot "error" nro Linux - Newbie 7 11-04-2003 05:30 PM


All times are GMT -5. The time now is 09:39 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration