Page 1 of 1

Nagios XI 5.2.0 offline fresh install won't start

Posted: Wed Mar 09, 2016 4:56 pm
by cgutierr
I installed Nagios XI 5.2.0 with the offline install instructions and this was done on a minimal install of RHEL 6.7. When I run ./fullinstall, the webpage isn't accessible and when I attempt to start the nagios service I receive the following:
service nagios start
Starting nagios:
Nagios Core 4.1.1
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-19-2015
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.
From what I have been reading on the forum from a previous poster (https://support.nagios.com/forum/viewto ... =6&t=31879) you guys had to rebuild the offline tarball... It would seem this is the same issue with this tarball "nagiosxi-5-2.0.el6.x86_64.tar.gz". Any help in this matter will be greatly appreciated.

Re: Nagios XI 5.2.0 offline fresh install won't start

Posted: Wed Mar 09, 2016 5:09 pm
by Box293
Can you please post the full install log which is located in the same directory you ran the install from.

Re: Nagios XI 5.2.0 offline fresh install won't start

Posted: Wed Mar 09, 2016 5:19 pm
by cgutierr
For some reason the install log is missing from the directory I installed it from. The offline script "fullinstall" contains the following:
####################################
#!/bin/sh -e

yum -y --nogpgcheck localinstall *.rpm
####################################

There is no command in the "fullinstall" script that creates an install log.

Re: Nagios XI 5.2.0 offline fresh install won't start

Posted: Wed Mar 09, 2016 7:13 pm
by Box293
Did you ever reach an "Installation Successful" message when you installed it?

Re: Nagios XI 5.2.0 offline fresh install won't start

Posted: Wed Mar 09, 2016 10:59 pm
by cgutierr
All it says is "complete", but I assume that it is the yum install that is complete.

Re: Nagios XI 5.2.0 offline fresh install won't start

Posted: Thu Mar 10, 2016 12:15 am
by Box293
What is the output when you run ./fullinstall again?

Re: Nagios XI 5.2.0 offline fresh install won't start

Posted: Thu Mar 10, 2016 9:31 am
by cgutierr
Unfortunately, I am unable to copy and paste the output due to the system being on our classified network. When running the ./fullinstall script it goes thru the entire yum install process and then when it finishes it says "Complete!" and that's it.

Re: Nagios XI 5.2.0 offline fresh install won't start

Posted: Thu Mar 10, 2016 11:11 am
by rkennedy
I'll setup a test to try and simulate this. Were any changes made to this system prior to installing?

In the mean time, what is the output of getenforce?

Also, what are the permissions for these folders?

Code: Select all

ls -la /usr/local/nagios/
ls -la /usr/local/nagios/etc/
ls -la /usr/local/nagiosxi/

Re: Nagios XI 5.2.0 offline fresh install won't start

Posted: Thu Mar 10, 2016 11:25 am
by rkennedy
I just ran through the offline install without issues using nagiosxi-5-2.0.el6.x86_64.tar.gz. (https://repo.nagios.com/nagiosxi-offlin ... _64.tar.gz)

Is PM'ing us your logs an option? We would need those to dig a bit deeper.

Re: Nagios XI 5.2.0 offline fresh install won't start

Posted: Thu Mar 10, 2016 3:08 pm
by cgutierr
Can you please close thread, I figured it out. HBSS and HIPS was blocking running the installation from my users home directory. Installation is working fine now.