Page 1 of 1

Manual NagiosXI install failed

Posted: Wed Apr 11, 2012 6:51 pm
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>

Re: Manual NagiosXI install failed

Posted: Wed Apr 11, 2012 9:04 pm
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.

Re: Manual NagiosXI install failed

Posted: Fri Apr 13, 2012 3:06 pm
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.

Re: Manual NagiosXI install failed

Posted: Fri Apr 13, 2012 4:12 pm
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.

Re: Manual NagiosXI install failed

Posted: Fri Apr 13, 2012 6:15 pm
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.

Re: Manual NagiosXI install failed

Posted: Sun Apr 15, 2012 2:52 pm
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/

Re: Manual NagiosXI install failed

Posted: Fri Apr 20, 2012 1:54 pm
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