DB Connect Error [nagiosxi]: Database connection failed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: DB Connect Error [nagiosxi]: Database connection failed

Post by mmestnik »

This seams outside the scope of Nagios, I'll ask our RedHat gurus to see if they know what to do. You should contact RedHat and get support for this from them, it's more then likely there is a HowTo on configuring and using the DAG repository. You might even consider getting support from DAG.

Another solution is to fetch each RPM on your own, knowing that the list provided is only a fraction of what you will have to find, download, and install. These packages have dependencies of there own and they might not all match up... For example you can get the wrong SSH version that depends on a new (lib)OpenSSL, but then have another HTTPS application that will not function with the new OpenSSL. The solution is to find an older version of SSH or a patched HTTPS application.
nnconcerts
Posts: 9
Joined: Fri Feb 26, 2010 9:03 am
Location: Washington DC
Contact:

Re: DB Connect Error [nagiosxi]: Database connection failed

Post by nnconcerts »

Well finally it worked: :)
I go the index page, went clicking the button "install" put in the the password I wanted it to be.

But now the http://myserver/nagiosxi/
the menu shows up but it is still not reponding, the webpage hangs... now what???

Thanks for your previous comment to install the package one by one. Which I did and all supporting libraries, dependencies, except perl-CPAN.

Also getting this error:
[Wed Mar 10 11:40:47 2010] [error] [client xx.xx.xx.xx] PHP Notice: Undefined index: user_id in /usr/local/nagiosxi/html/includes/utils-users.inc.p
hp on line 253, referer: http://xx.xx.xx.xx(substituted)/nagiosxi/install.php

[Wed Mar 10 13:40:09 2010] [notice] Digest: done
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mcrypt.so' - /usr/lib/php/modules/mcrypt.so: cannot open shared object
file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mssql.so' - /usr/lib/php/modules/mssql.so: undefined symbol: OnUpdateIn
t in Unknown on line 0
[Wed Mar 10 13:40:10 2010] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Mar 10 13:40:10 2010] [notice] Apache/2.2.3 (Oracle) configured -- resuming normal operations
[Wed Mar 10 13:47:05 2010] [notice] caught SIGTERM, shutting down
[Wed Mar 10 13:47:06 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Mar 10 13:47:06 2010] [notice] Digest: generating secret for digest authentication ...
[Wed Mar 10 13:47:06 2010] [notice] Digest: done
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mcrypt.so' - /usr/lib/php/modules/mcrypt.so: undefined symbol: _zval_co
py_ctor in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mssql.so' - /usr/lib/php/modules/mssql.so: undefined symbol: OnUpdateIn
t in Unknown on line 0
[Wed Mar 10 13:47:06 2010] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Mar 10 13:47:06 2010] [notice] Apache/2.2.3 (Oracle) configured -- resuming normal operations


Other than that, what could go wrong?
Locked