No lock file found in /usr/local/nagios/var/nagios.lock
Posted: Thu Apr 28, 2016 7:30 am
Dear All,
I am getting below message while starting up nagios service on newly installed machine. I did nagios xi 4.2 offline installation on redhat linux 6.5 server.
After the installation i tried to open the web page in the browser http://server ip/nagiosxi but i am getting below message in the browser
"Page NOT found error" then i checked the nagios status in the server and i am receiving below message.
]# service nagios status
No lock file found in /usr/local/nagios/var/nagios.lock
[root@muthunagios etc]# service nagios start
Starting nagios:
Nagios Core 4.0.8
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-12-2014
License: GPL
Website: http://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.
Please could any one help me out on this?
I am getting below message while starting up nagios service on newly installed machine. I did nagios xi 4.2 offline installation on redhat linux 6.5 server.
After the installation i tried to open the web page in the browser http://server ip/nagiosxi but i am getting below message in the browser
"Page NOT found error" then i checked the nagios status in the server and i am receiving below message.
]# service nagios status
No lock file found in /usr/local/nagios/var/nagios.lock
[root@muthunagios etc]# service nagios start
Starting nagios:
Nagios Core 4.0.8
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-12-2014
License: GPL
Website: http://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.
Please could any one help me out on this?