Nagios Xl installation failure right at the end

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
clarkag
Posts: 4
Joined: Thu Apr 03, 2014 3:07 am

Nagios Xl installation failure right at the end

Post by clarkag »

Hi all, PLEASE help,,, I'm stuck !!
My Nagios Xl installation runs all the way through, then fails.
The tail of the install.log is:

Code: Select all

./fullinstall
runs ok ...............
...................................
Package 1:net-snmp-devel-5.5-54.el6_7.1.x86_64 already installed and latest version
Nothing to do
/usr/local/nagiosxi/html/includes/components/snmptrapsender /tmp/nagiosxi
Installing MIBs...
/tmp/nagiosxi
===============
SETUP COMPLETED
===============
Nagios XI base files installed OK
RESULT=0
Running './C-cronjobs'...
Crontabs installed OK
RESULT=0
Running './D-chkconfigalldaemons'...
Daemons configured to start OK
RESULT=0
Running './E-importnagiosql'...
httpd: no process killed
Starting httpd:                                            [  OK  ]
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-06-30 17:43:57--  http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-06-30 17:43:57 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).

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'
nagiosxi]#
Last edited by hsmith on Thu Jun 30, 2016 12:56 pm, edited 1 time in total.
Reason: Please wrap long output in [code][/code] tags to make your post easier to read.
Tony Clark
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios Xl installation failure right at the end

Post by rkennedy »

Weird, this could be multiple things. Can you post your entire install.log for us to look at? Additionally, what is the output of curl http://localhost/nagiosxi/ -v from the Nagios machine?

Lastly, what OS are you attempting to install on to, and is it a minimal machine?
Former Nagios Employee
clarkag
Posts: 4
Joined: Thu Apr 03, 2014 3:07 am

Re: Nagios Xl installation failure right at the end

Post by clarkag »

[nagios@idl-hobbit01 libexec]$ curl http://localhost/nagiosxi/ -v
* About to connect() to localhost port 80 (#0)
* Trying ::1... connected
* Connected to localhost (::1) port 80 (#0)
> GET /nagiosxi/ HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.18 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: localhost
> Accept: */*
>
< HTTP/1.1 403 Forbidden
< Date: Thu, 30 Jun 2016 19:34:16 GMT
< Server: Apache/2.2.26 (Red Hat Enterprise Web Server)
< Content-Length: 309
< Connection: close
< Content-Type: text/html; charset=iso-8859-1
<
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /nagiosxi/
on this server.</p>
<hr>
<address>Apache/2.2.26 (Red Hat Enterprise Web Server) Server at localhost Port 80</address>
</body></html>
* Closing connection #0
[nagios@idl-hobbit01 libexec]$
Tony Clark
clarkag
Posts: 4
Joined: Thu Apr 03, 2014 3:07 am

Re: Nagios Xl installation failure right at the end

Post by clarkag »

Attached install.log file
You do not have the required permissions to view the files attached to this post.
Tony Clark
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios Xl installation failure right at the end

Post by rkennedy »

Was this a minimal RHEL machine before installing? It's weird that you're getting an access denied on /nagiosxi/. Can you post your /var/log/httpd/error_log for us to look at, and also your entire /etc/httpd/conf.d/ directory?
Former Nagios Employee
Locked