Page 1 of 1

Nagios Xl installation failure right at the end

Posted: Thu Jun 30, 2016 12:39 pm
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]#

Re: Nagios Xl installation failure right at the end

Posted: Thu Jun 30, 2016 1:09 pm
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?

Re: Nagios Xl installation failure right at the end

Posted: Thu Jun 30, 2016 2:34 pm
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]$

Re: Nagios Xl installation failure right at the end

Posted: Thu Jun 30, 2016 2:48 pm
by clarkag
Attached install.log file

Re: Nagios Xl installation failure right at the end

Posted: Thu Jun 30, 2016 2:53 pm
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?