Search found 6 matches

by tr53
Fri Oct 25, 2019 10:38 am
Forum: Open Source Nagios Projects
Topic: Error: Could not read host and service status information!
Replies: 11
Views: 2236

Re: Error: Could not read host and service status informatio

Thank you Scott,

I managed to find the "correct" installation and started it using

Code: Select all

/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
This is working now, and I already started building a new server as you suggested.
by tr53
Fri Oct 25, 2019 10:15 am
Forum: Open Source Nagios Projects
Topic: Error: Could not read host and service status information!
Replies: 11
Views: 2236

Re: Error: Could not read host and service status informatio

Code: Select all

$ ps -ef|grep nagios.cfg
nagios    8796     1  0 14:04 ?        00:00:01 /usr/sbin/nagios -d /etc/nagios/nagios.cfg
ec2-user  9894  7894  0 15:14 pts/0    00:00:00 grep --color=auto nagios.cfg
by tr53
Fri Oct 25, 2019 9:15 am
Forum: Open Source Nagios Projects
Topic: Error: Could not read host and service status information!
Replies: 11
Views: 2236

Re: Error: Could not read host and service status informatio

Hi, Thank you for this. I applied commands you mentioned but the issue still persist. $ sudo usermod -a -G nagios nagios $ sudo chown nagios:nagios /usr/local/nagios /usr/local/nagios/var/spool $ sudo service nagios stop Stopping nagios: done. $ sudo rm -f /usr/local/nagios/var/nagios.lock $ sudo se...
by tr53
Fri Oct 25, 2019 8:13 am
Forum: Open Source Nagios Projects
Topic: Error: Could not read host and service status information!
Replies: 11
Views: 2236

Re: Error: Could not read host and service status informatio

Hi, $ grep nag /etc/group nagios:x:497:apache $ getenforce Disabled $ ls -al /usr/local/nagios/var total 848 drwxrwxr-x 5 nagios nagios 4096 Oct 24 14:48 . drwxr-xr-x 9 root root 4096 Jul 21 2016 .. drwxrwxr-x 2 nagios nagios 61440 Oct 23 23:59 archives -rw-r--r-- 1 nagios nagios 34 Aug 21 2017 nagi...
by tr53
Fri Oct 25, 2019 3:33 am
Forum: Open Source Nagios Projects
Topic: Error: Could not read host and service status information!
Replies: 11
Views: 2236

Re: Error: Could not read host and service status informatio

Hi Scott, Yes I did restart nagios using sudo /etc/rc.d/init.d/nagios reload and also by restarting the server. cat /var/log/nagios/nagios.log [1571987038] Caught SIGTERM, shutting down... [1571987038] Successfully shutdown... (PID=15391) [1571987089] Nagios 3.5.1 starting... (PID=2749) [1571987089]...
by tr53
Thu Oct 24, 2019 10:08 am
Forum: Open Source Nagios Projects
Topic: Error: Could not read host and service status information!
Replies: 11
Views: 2236

Error: Could not read host and service status information!

Hi, I have a below error in nagios and I wonder if someone could help. Whoops! Error: Could not read host and service status information! The most common cause of this error message (especially for new users), is the fact that Nagios is not actually running. If Nagios is indeed not running, this is ...