Fails To Start System Components After Install
Posted: Wed Feb 15, 2017 12:03 pm
Following an installation of Nagios XI, I have errors on the following system components in the web UI:
Monitoring Engine: No lock file found in /usr/local/nagios/var/nagios.lock
Performance Grapher: NPCD not running
Attempting to run Action -> Start on either results in "An error occurred processing your request." (Capture.JPG attached)
Database Backend originally had a similar error. Starting the ndo2db service created the associated lock file, but I receive an error when starting the Nagios service. There's a support forum article related to the error but I believe it's on the "paying customers only" side:
System Information:
Any help would be greatly appreciated. Thank you in advance!
Monitoring Engine: No lock file found in /usr/local/nagios/var/nagios.lock
Performance Grapher: NPCD not running
Attempting to run Action -> Start on either results in "An error occurred processing your request." (Capture.JPG attached)
Database Backend originally had a similar error. Starting the ndo2db service created the associated lock file, but I receive an error when starting the Nagios service. There's a support forum article related to the error but I believe it's on the "paying customers only" side:
Code: Select all
[root@xxx var]# ll | grep lock
-rw-r-----. 1 nagios nagios 6 Jan 19 19:43 ndo2db.lock
[root@xxx ~]# service npcd start
NPCD already started
[root@xxx ~]# service ndo2db start
ndo2db already started...
Code: Select all
[root@xxx ~]# service nagios start
Starting nagios:
Nagios Core 4.2.4
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 12-07-2016
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Error: Cannot open config file '/usr/local/nagios/etc/contacttemplates.cfg' for reading: No such file or directory
Error processing object config files!
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
Code: Select all
[root@xxx ~]# ls -la /usr/local/nagios/etc/
total 76
drwxrwsr-x. 7 apache nagios 4096 Jan 19 17:50 .
drwxr-xr-x. 8 root root 4096 Jan 19 17:49 ..
-rw-r--r--. 1 apache nagios 744 Jan 13 16:56 cgi.cfg
drwxrwxr-x. 2 apache nagios 4096 Jan 13 16:59 hosts
drwxrwxr-x. 2 nagios nagios 4096 Jan 19 17:52 import
-rw-r--r--. 1 apache nagios 5670 Jan 13 16:56 nagios.cfg
-rw-rw-r--. 1 apache nagios 2229 Jan 19 17:51 ndo2db.cfg
-rw-rw-r--. 1 apache nagios 4827 Jan 19 17:51 ndomod.cfg
-rw-rw-r--. 1 apache nagios 7988 Jan 13 16:56 nrpe.cfg
-rw-rw-r--. 1 apache nagios 5345 Jan 13 16:56 nsca.cfg
drwxr-xr-x. 4 nagios nagios 4096 Jan 19 17:50 pnp
-rw-r--r--. 1 apache nagios 210 Jan 13 16:56 resource.cfg
-rw-rw-r--. 1 apache nagios 1627 Jan 13 16:56 send_nsca.cfg
drwxrwxr-x. 2 apache nagios 4096 Jan 13 16:59 services
drwxrwxr-x. 2 nagios nagios 4096 Jan 19 17:51 static
Code: Select all
Nagios XI - System Info
System:
Nagios XI Version : 5.4.0
xxx 2.6.32-642.6.2.el6.x86_64 x86_64
Red Hat Enterprise Linux Server release 6.8 (Santiago)
Gnome is not installed
Apache Information
PHP Version: 5.3.3
Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
Server Name: [IP]
Server Address: [IP]
Server Port: 80
Date/Time
PHP Timezone: America/New_York
PHP Time: Wed, 15 Feb 2017 11:58:15 -0500
System Time: Wed, 15 Feb 2017 16:58:15 +0000
Nagios XI Data
License ends in:
Days left in Trial: 34
No lock file found in /usr/local/nagios/var/nagios.lock
NPCD not running.
ndo2db (pid 30093) is running...
CPU Load 15: 0.56
Total Hosts: 0
Total Services: 0
Function 'get_base_uri' returns: http://[IP]/nagiosxi/
Function 'get_base_url' returns: http://[IP]/nagiosxi/
Function 'get_backend_url(internal_call=false)' returns: http://[IP]/nagiosxi/includes/components/profile/profile.php
Function 'get_backend_url(internal_call=true)' returns: http://localhost/nagiosxi/backend/