Manual installation failed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
drug
Posts: 86
Joined: Wed Apr 03, 2013 3:19 pm

Manual installation failed

Post by drug »

In an attempt to reinstall Nagios XI 5 on a CentOS 7 system, I ran the uninstall.xi.sh successfully and removed the /etc/httpd directory. Subsequently, I downloaded the xi-5.2.3 tarball and executed ./fullinstall.sh as root after changing to the /tmp/nagiosxi directory. However, the installation fails:

Code: Select all

Running './E-importnagiosql'...
./E-importnagiosql: line 21: killall: command not 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-01-11 15:36:14--  http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-01-11 15:36:14 ERROR 404: Not Found.

NAGIOSQL LOGIN FAILED!
RESULT=1

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
Could there be something that was not properly removed from the previous install that was overlooked? Please find install.log attached.
You do not have the required permissions to view the files attached to this post.
drug
Posts: 86
Joined: Wed Apr 03, 2013 3:19 pm

Re: Manual installation failed

Post by drug »

Executing the following allowed the installation to succeed:

Code: Select all

uninstall_xi.sh
yum remove php && yum remove php-common
fullinstall
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Manual installation failed

Post by bwallace »

Thanks for sharing the solution, I'll go ahead and lock this thread now.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked