Manual NagiosXI install failed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ecarrasq
Posts: 244
Joined: Tue Feb 22, 2011 5:58 pm

Manual NagiosXI install failed

Post by ecarrasq »

Linux Distribution and version?

Red Hat Enterprise 6 Linux 2.6.32-220.7.1.el6.x86_64 #1 SMP Fri Feb 10 15:22:22 EST 2012 x86_64 x86_64 x86_64 GNU/Linux

32 or 64bit?

64bit

VMware Image or Manual Install of XI?

Manual

Are there specials configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL?

No

Installation Issues:


Error =
NAGIOSQL LOGIN FAILED!
RESULT=1

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.

The script that failed was: './E-importnagiosql'
Install.log <attached>
You do not have the required permissions to view the files attached to this post.
Last edited by ecarrasq on Fri Apr 20, 2012 1:54 pm, edited 1 time in total.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Manual NagiosXI install failed

Post by scottwilkerson »

I have seen this one other time when the company was using a "corporate custom build" of RHEL as their base instead of real minimal install.

In the end we discovered that the build they were using had the umask changed to 0022. They changed it to 0027 on a fresh install and the ./fullinstall went flawlessly.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ecarrasq
Posts: 244
Joined: Tue Feb 22, 2011 5:58 pm

Re: Manual NagiosXI install failed

Post by ecarrasq »

We are still looking into this, as it is still not working after changing the umask to 0027. I found that it is not a "vanilla" install of RH6 and that some "Security Configurations" where made before giving me access to install Nagios.

Will keep you posted.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Manual NagiosXI install failed

Post by scottwilkerson »

ecarrasq wrote:I found that it is not a "vanilla" install of RH6 and that some "Security Configurations" where made before giving me access to install Nagios.
This is almost surely the problem, once you know what was changed, you will likely know what needs to be corrected.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ecarrasq
Posts: 244
Joined: Tue Feb 22, 2011 5:58 pm

Re: Manual NagiosXI install failed

Post by ecarrasq »

It's still not working.

I attached the recent install.log.

We used a "vanilla" default configurations (nothing customized) Red Hat 6 64bit and a 32bit install, and made sure to use umask 0027.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Manual NagiosXI install failed

Post by scottwilkerson »

I still don't believe that the permissions are correct on some of the files, is this the same system you used before or is this a fresh install?

What is the output of the following

Code: Select all

ls -l /var/www/html/nagiosql/config/
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ecarrasq
Posts: 244
Joined: Tue Feb 22, 2011 5:58 pm

Re: Manual NagiosXI install failed

Post by ecarrasq »

All is well now.

I triple checked this myself on a RH6 VM I had built out a while back and it worked fine, but with the standard umask 0022. I had the Linux Server Admin try it again with the umask 0022 on a "vanilla" version of RH6 and it worked flawlessly.

Thank you guys for your time!
Eddie
Locked