Page 1 of 1

Error on Nagios XI Installation (E-importnagiosql)

Posted: Wed Sep 21, 2011 12:52 am
by riredondo
hi,

am doing a clean install of nagios xi and encountered this error:

[root@localhost nagiosxi]# ./E-importnagiosql
Sleeping...
NOTE: If prompted, enter the MySQL root password
NagiosQL database appears OK - continuing...
NDOUtils database appears OK - continuing...
Found config files to import - continuing...
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--2005-04-14 01:37:43-- http://localhost/nagiosql/index.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 0 [text/html]
Saving to: `nagiosql.login'

[ <=> ] 0 --.-K/s in 0s

2005-04-14 01:37:43 (0.00 B/s) - `nagiosql.login' saved [0/0]

NAGIOSQL LOGIN FAILED!
ERROR: NagiosQL import appears to have failed - exiting. (Reason: Import files are still present in /usr/local/nagios/etc/import)

where: centos 5.5
kernel version: 2.6.18
nagios xi is from the ... latest-devel.tar.gz

appreciate your immediate response.

rose i. redondo
philippines

Re: Error on Nagios XI Installation (E-importnagiosql)

Posted: Wed Sep 21, 2011 2:02 pm
by lmiltchev
Is your system time up to date? It is strange that you have this: "nagiosql.login--2005-04-14 01:37:43". Run in terminal:

Code: Select all

# service httpd stop
# service httpd start
and then try re-running the "./E-importnagiosql" step again.

Re: Error on Nagios XI Installation (E-importnagiosql)

Posted: Wed Sep 21, 2011 7:55 pm
by riredondo
hello,

thanks for the prompt response. I followed that specific instructions even before i post my query, but i still end up on the same problem. What i did, i restart the machine and ran the fullinstall then on E it prompt for mysql root password, after providing the password the installation goes smoothly. :)


Thank you,
Rose I. Redondo
philippines

Re: Error on Nagios XI Installation (E-importnagiosql)

Posted: Thu Sep 22, 2011 11:13 am
by mguthrie
Thanks for the update! We'll do some testing on this to try and figure out why it happened.

Re: Error on Nagios XI Installation (E-importnagiosql)

Posted: Sat Oct 08, 2011 1:12 am
by yasharaj
Have you got any solution? I am also getting the same problem.

Re: Error on Nagios XI Installation (E-importnagiosql)

Posted: Sun Oct 09, 2011 3:21 am
by pouda
Have you set proxy setting somewhere ? because i had this problem when i tried to install Nagios XI using a proxy ... and the only solution i have found was to install NagiosXi bypassing proxy authentication ... maybe some execption to set in config but i never found where to set them :|