"Waiting for configuration verification" death trap
Posted: Thu Mar 28, 2013 10:24 am
Hello,
I have a pilot Nagios XI installed and this issue is preventing me from adding new hosts & checks. I have seen couple of threads discusssing the same issue and after trying out all of them, I still have the problem.
OS: RHEL 6.2
NagiosXI: 2012R1.7
Pls find attached profile.zip for more info.
Steps taken so far:
1) Edit /etc/php.ini
2) /etc/hosts
3) Ran the rest_config_prems & reconfigure_nagios.sh scripts and it returned OK.
4) Re-installed latest copy of ndoutils-1.5.2.tar.gz
5) Stop & Start nd02db and nagios.
Does the perms look alright?
Any other ideas of what could be wrong? Also is there any specific log file that I could examine?
I have a pilot Nagios XI installed and this issue is preventing me from adding new hosts & checks. I have seen couple of threads discusssing the same issue and after trying out all of them, I still have the problem.
OS: RHEL 6.2
NagiosXI: 2012R1.7
Pls find attached profile.zip for more info.
Steps taken so far:
1) Edit /etc/php.ini
Code: Select all
max_execution_time = 60
max_input_time = 60
memory_limit = 512MCode: Select all
127.0.0.1 localhost localhost.localdomain
10.5.1.57 nagios1 nagios1.site1.domain.corp4) Re-installed latest copy of ndoutils-1.5.2.tar.gz
5) Stop & Start nd02db and nagios.
Code: Select all
> # /etc/init.d/ndo2db restart
Stopping ndo2db: head: cannot open [b]`/usr/local/nagios/var/ndo2db.lock'[/b] for reading: No such file or directory
done.
Starting ndo2db: done. Code: Select all
> # ls -l /usr/local/nagios/var/
total 244
drwxrwxr-x 2 nagios nagios 4096 Mar 28 00:00 archives
-rw-rw-r-- 1 nagios nagios 296 Mar 28 11:16 host-perfdata
-rw-r--r-- 1 nagios nagios 6 Mar 28 11:04 nagios.lock
-rw-r--r-- 1 nagios nagios 40937 Mar 28 11:12 nagios.log
-rw-r--r-- 1 nagios nagios 6 Mar 28 11:04 ndo2db.lock
-rw-rw-r-- 1 nagios nagios 0 Mar 28 11:04 ndomod.tmp
srwxr-xr-x 1 nagios nagios 0 Mar 28 11:04 ndo.sock
-rw-r--r-- 1 nagios nagios 834 Mar 27 19:19 npcd.log
-rw-r--r-- 1 nagios nagios 53043 Mar 28 11:04 objects.cache
-rw------- 1 nagios nagios 54348 Mar 28 11:04 retention.dat
drwxrwsr-x 2 nagios nagcmd 4096 Mar 28 11:04 rw
-rw-rw-r-- 1 nagios nagios 685 Mar 28 11:16 service-perfdata
drwxr-xr-x 5 nagios nagios 4096 Mar 27 17:47 spool
drwxr-xr-x 2 nagios nagios 4096 Mar 27 17:48 stats
-rw-rw-r-- 1 nagios nagios 54888 Mar 28 11:16 status.dat
Code: Select all
> # ll /usr/local/nagiosxi/
total 32
drwxr-xr-x 2 root root 4096 Mar 27 17:53 cron
drwxr-xr-x 3 root root 4096 Mar 27 17:53 etc
drwxr-xr-x 18 apache nagios 4096 Mar 27 19:26 html
drwxr-xr-x 3 root root 4096 Mar 27 17:53 nom
drwxr-xr-x 2 nagios nagios 4096 Mar 28 11:34 scripts
drwsrwsr-x 2 apache nagios 4096 Mar 27 17:58 tmp
drwxr-xr-x 2 root root 4096 Mar 27 17:53 tools
drwxr-xr-x 4 root root 4096 Mar 27 17:53 var