LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-25-2012, 12:01 AM   #1
parthipan
LQ Newbie
 
Registered: May 2012
Posts: 11

Rep: Reputation: Disabled
There doesn't appear to be any service status information in the status log


the web interface is not showing any of my hosts or services and gives me this error when trying to look at the service detail:

"There doesn't appear to be any service status information in the status log...

Make sure that Nagios is running and that you have specified the location of you status log correctly in the configuration files."

I get a similiar error when looking at the host groups only it says "hosts status" instead of "service status"

I've looked around and it seems that most people get this error when Nagios isn't running or when the nagios.log and/or status.dat are pointed to incorrectly in the main configuration file.

I've restarted nagios and verified the config by runnning " /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg" and everything checks out fine. I've tried to reboot the server but I'm still getting the same error.

Also, I checked both "/usr/local/nagios/var/status.dat and /usr/local/nagios/var/nagios.log (which are the locations specified in nagios.cfg) and they are completely empty. Any ideas why this is?

Forgive me if this is a stupid question. Up until now I haven't had any major issues with it and unfortunately I took over someone else's install of it so I'm not familiar with it inside and out.

Any advice would be greatly appreciated.

and
when i provide

Quote:
[root@localhost ~]# service nagios restart
Running configuration check...done.
Stopping nagios: kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
done.
Starting nagios: done.
[root@localhost ~]# /etc/init.d/nagios status
nagios is not running
[root@localhost ~]# service nagios start
Starting nagios: done.
[root@localhost ~]# /etc/init.d/nagios status
nagios is not running
Quote:
[root@localhost ~]# touch /usr/local/nagios/var/nagios.log /usr/local/nagios/var/status.sav
[root@localhost ~]# chown nagios:nagios /usr/local/nagios/var/nagios.log /usr/local/nagios/var/status.sav
[root@localhost ~]# service nagios stop
Stopping nagios: kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
done.
[root@localhost ~]# service nagios start
Starting nagios: done.
[root@localhost ~]# service nagios status
nagios is not running
please give me a solution
 
Old 06-25-2012, 06:53 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
Does /var/log/messages tell you anything? It may not be error'ing before the service even starts which is why the log files for the service are empty, it's odd though because normally you would see an ERROR when you try start a service that is this broken.
 
  


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
Server Hung due to hda: status timeout: status=0xd0 { Busy } adamalic Linux - Enterprise 3 12-15-2011 02:27 PM
HP Status Service Mig21 Slackware 3 05-11-2008 05:10 PM
Installing RedHat 8.0 onto Dell PowerEdge SC1425 - hdc: status error: status = 0x58 fishsponge Linux - General 0 07-11-2006 10:02 AM
service status gsr_kashyap Red Hat 6 04-03-2006 05:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:07 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