Nagios XI 2012 Installation error
Posted: Tue Oct 30, 2012 10:24 am
Hi,
I'm getting the following error when I reinstall the latest version in test server, I'm using redhat 6..
# uname -a
Linux naggyxi.its.uwo.pri 2.6.18-308.4.1.el5PAE #1 SMP Wed Mar 28 02:14:40 EDT 2012 i686 i686 i386 GNU/Linux
#./fullinstall
..
.
===================================================================================================================================================
Found config files to import - continuing...
URL: http://localhost/nagiosql/index.php
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies ...://localhost/nagiosql/index.php --no-check-certificate --post-data 'Submit=Login&tfUsername=nagiosxi&tfPassword=n@gweb' -O nagiosql.login--2012-10-30 10:09:59-- ..
Resolving vogel.uwo.ca... 129.100.74.56
Connecting to vogel.uwo.ca|129.100.74.56|:3128... connected.
Proxy request sent, awaiting response... 503 Service Unavailable
2012-10-30 10:09:59 ERROR 503: Service Unavailable.
NAGIOSQL LOGIN FAILED!
ERROR: NagiosQL import appears to have failed - exiting. (Reason: Import files are still present in /usr/local/nagios/etc/import)
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'
=======================================================================================================================
Then I've looked at E-importnagiosql and checked the line gave the error,
...
..
# Reconfigure Nagios with initial configuration import
(cd ./nagiosxi/basedir/scripts; ./reconfigure_nagios.sh)
When I manually run the reconfigure_nagios.sh
# cd ./nagiosxi/basedir/scripts; ./reconfigure_nagios.sh
...
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosql/index.php --no-check-certificate --post-data 'Submit=Login&tfUsername=nagiosxi&tfPassword=n@gweb' -O nagiosql.login--2012-10-30 11:15:14-- .....
Resolving vogel.uwo.ca... 129.100.74.56
Connecting to vogel.uwo.ca|129.100.74.56|:3128... connected.
Proxy request sent, awaiting response... 503 Service Unavailable
2012-10-30 11:15:15 ERROR 503: Service Unavailable.
NAGIOSQL LOGIN FAILED!
The I checked reconfigure_nagios.sh and found that the error is from import_nagiosql.sh, actually the following php command gave the error ....
/usr/bin/php -q nagiosql_login.php
URL: http://localhost/nagiosql/index.php
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosql/index.php --no-check-certificate --post-data 'Submit=Login&tfUsername=nagiosxi&tfPassword=n@gweb' -O nagiosql.login--2012-10-30 11:09:37-- http://localhost/nagiosql/index.php
Resolving vogel.uwo.ca... 129.100.74.56
Connecting to vogel.uwo.ca|129.100.74.56|:3128... connected.
Proxy request sent, awaiting response... 503 Service Unavailable
2012-10-30 11:09:37 ERROR 503: Service Unavailable.
is the error related to nagiosql db login ?
Thanks
I'm getting the following error when I reinstall the latest version in test server, I'm using redhat 6..
# uname -a
Linux naggyxi.its.uwo.pri 2.6.18-308.4.1.el5PAE #1 SMP Wed Mar 28 02:14:40 EDT 2012 i686 i686 i386 GNU/Linux
#./fullinstall
..
.
===================================================================================================================================================
Found config files to import - continuing...
URL: http://localhost/nagiosql/index.php
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies ...://localhost/nagiosql/index.php --no-check-certificate --post-data 'Submit=Login&tfUsername=nagiosxi&tfPassword=n@gweb' -O nagiosql.login--2012-10-30 10:09:59-- ..
Resolving vogel.uwo.ca... 129.100.74.56
Connecting to vogel.uwo.ca|129.100.74.56|:3128... connected.
Proxy request sent, awaiting response... 503 Service Unavailable
2012-10-30 10:09:59 ERROR 503: Service Unavailable.
NAGIOSQL LOGIN FAILED!
ERROR: NagiosQL import appears to have failed - exiting. (Reason: Import files are still present in /usr/local/nagios/etc/import)
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'
=======================================================================================================================
Then I've looked at E-importnagiosql and checked the line gave the error,
...
..
# Reconfigure Nagios with initial configuration import
(cd ./nagiosxi/basedir/scripts; ./reconfigure_nagios.sh)
When I manually run the reconfigure_nagios.sh
# cd ./nagiosxi/basedir/scripts; ./reconfigure_nagios.sh
...
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosql/index.php --no-check-certificate --post-data 'Submit=Login&tfUsername=nagiosxi&tfPassword=n@gweb' -O nagiosql.login--2012-10-30 11:15:14-- .....
Resolving vogel.uwo.ca... 129.100.74.56
Connecting to vogel.uwo.ca|129.100.74.56|:3128... connected.
Proxy request sent, awaiting response... 503 Service Unavailable
2012-10-30 11:15:15 ERROR 503: Service Unavailable.
NAGIOSQL LOGIN FAILED!
The I checked reconfigure_nagios.sh and found that the error is from import_nagiosql.sh, actually the following php command gave the error ....
/usr/bin/php -q nagiosql_login.php
URL: http://localhost/nagiosql/index.php
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosql/index.php --no-check-certificate --post-data 'Submit=Login&tfUsername=nagiosxi&tfPassword=n@gweb' -O nagiosql.login--2012-10-30 11:09:37-- http://localhost/nagiosql/index.php
Resolving vogel.uwo.ca... 129.100.74.56
Connecting to vogel.uwo.ca|129.100.74.56|:3128... connected.
Proxy request sent, awaiting response... 503 Service Unavailable
2012-10-30 11:09:37 ERROR 503: Service Unavailable.
is the error related to nagiosql db login ?
Thanks