Nagios XI 5.2.0 offline fresh install won't start

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
cgutierr
Posts: 59
Joined: Tue Mar 08, 2016 1:09 pm

Nagios XI 5.2.0 offline fresh install won't start

Post 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.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

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

Post by Box293 »

Can you please post the full install log which is located in the same directory you ran the install from.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
cgutierr
Posts: 59
Joined: Tue Mar 08, 2016 1:09 pm

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

Post 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.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

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

Post by Box293 »

Did you ever reach an "Installation Successful" message when you installed it?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
cgutierr
Posts: 59
Joined: Tue Mar 08, 2016 1:09 pm

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

Post by cgutierr »

All it says is "complete", but I assume that it is the yum install that is complete.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

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

Post by Box293 »

What is the output when you run ./fullinstall again?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
cgutierr
Posts: 59
Joined: Tue Mar 08, 2016 1:09 pm

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

Post 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.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

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

Post 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/
Former Nagios Employee
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

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

Post 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.
Former Nagios Employee
cgutierr
Posts: 59
Joined: Tue Mar 08, 2016 1:09 pm

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

Post 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.
Locked