LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   bind9 status - no response message (http://www.linuxquestions.org/questions/linux-newbie-8/bind9-status-no-response-message-823916/)

deibertine 08-03-2010 02:06 PM

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

MensaWater 08-03-2010 02:34 PM

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?

deibertine 08-03-2010 02:40 PM

Quote:

Originally Posted by MensaWater (Post 4054499)
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

bathory 08-03-2010 03:01 PM

Why don't you use:
Code:

sudo /etc/init.d/bind9 status

deibertine 08-03-2010 03:06 PM

Quote:

Originally Posted by bathory (Post 4054538)
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?

bathory 08-03-2010 03:17 PM

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

deibertine 08-03-2010 05:46 PM

Quote:

Originally Posted by bathory (Post 4054559)
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"

bathory 08-04-2010 03:51 AM

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

deibertine 08-05-2010 01:02 PM

Quote:

Originally Posted by bathory (Post 4055233)
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


All times are GMT -5. The time now is 08:01 PM.