Nagios XI - The script that failed was: './E-importnagiosql'

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rajshekar_p
Posts: 11
Joined: Mon Mar 07, 2016 5:59 am

Nagios XI - The script that failed was: './E-importnagiosql'

Post by rajshekar_p »

Hi All,

I am trying to install Nagios XI 5.2.5 on RHEL 7.2. Installation is failing with below error message. install.log file is attached. Please help in solving the issue.

Running './E-importnagiosql'...
httpd: no process found
Applying patches to Apache configs for Apache 2.4.x syntax...
Redirecting to /bin/systemctl start httpd.service
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/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=n@gweb' -O nagiosql.login--2016-03-07 16:44:34-- http://localhost/nagiosxi/includes/components/ccm/
Connecting to 10.116.2.248:80... connected.
Proxy request sent, awaiting response... 502 cannotconnect
2016-03-07 16:45:02 ERROR 502: cannotconnect.

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'
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios XI - The script that failed was: './E-importnagio

Post by lmiltchev »

Did you configure your proxy according to our documentation?

https://support.nagios.com/kb/article.php?id=147

Make sure that you exclude localhost from proxying.
Be sure to check out our Knowledgebase for helpful articles and solutions!
rajshekar_p
Posts: 11
Joined: Mon Mar 07, 2016 5:59 am

Re: Nagios XI - The script that failed was: './E-importnagio

Post by rajshekar_p »

Hi lmiltchev,

Thanks a lot. The issue is solved.

I configured proxy and excluded localhost from proxying as mentioned in the link shared by you.

Regards,
Rajshekar P
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios XI - The script that failed was: './E-importnagio

Post by lmiltchev »

I am glad I could help! :)
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked