Error on Nagios xi Installation (E-importnagiosql)

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
riredondo
Posts: 49
Joined: Thu Sep 08, 2011 9:04 pm

Error on Nagios xi Installation (E-importnagiosql)

Post 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
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

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

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
riredondo
Posts: 49
Joined: Thu Sep 08, 2011 9:04 pm

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

Post 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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

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

Post by mguthrie »

Thanks for the update! We'll do some testing on this to try and figure out why it happened.
yasharaj
Posts: 6
Joined: Mon Oct 03, 2011 4:57 am

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

Post by yasharaj »

Have you got any solution? I am also getting the same problem.
pouda
Posts: 105
Joined: Wed Sep 14, 2011 9:47 am

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

Post 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 :|