Upgrade Issue through Web Interface

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Upgrade Issue through Web Interface

Post by tmcdonald »

Anything in your /var/log/httpd/error_log immediately after getting that blank page?
Former Nagios employee
Berto
Posts: 162
Joined: Tue Jul 01, 2014 6:12 pm

Re: Upgrade Issue through Web Interface

Post by Berto »

Hello,

This even was logged in /var/log/httpd/error_log

[Tue Oct 13 10:49:02 2015] [error] [client 127.0.0.1] (13)Permission denied: access to /nagiosxi/backend/index.html denied
[Tue Oct 13 10:49:02 2015] [error] [client 127.0.0.1] (13)Permission denied: access to /nagiosxi/backend/index.html.var denied
[Tue Oct 13 10:49:03 2015] [error] [client 158.147.155.121] PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
[Tue Oct 13 10:49:03 2015] [error] [client 158.147.155.121] PHP Fatal error: Unknown: Failed opening required '/usr/local/nagiosxi/html/index.php' (include_path='.:/usr/share/pear:/usr/share/php') in Unknown on line 0


--Berto
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Upgrade Issue through Web Interface

Post by tgriep »

Could you post your httpd.conf file?

Code: Select all

/etc/httpd/conf/httpd.conf
And the contents of this folder?

Code: Select all

/etc/httpd/conf.d
Be sure to check out our Knowledgebase for helpful articles and solutions!
Berto
Posts: 162
Joined: Tue Jul 01, 2014 6:12 pm

Re: Upgrade Issue through Web Interface

Post by Berto »

Hello,

Here are a few of the files requested.

--Berto
You do not have the required permissions to view the files attached to this post.
Berto
Posts: 162
Joined: Tue Jul 01, 2014 6:12 pm

Re: Upgrade Issue through Web Interface

Post by Berto »

Hello,

Here are a few of the files requested.

--Berto
You do not have the required permissions to view the files attached to this post.
Berto
Posts: 162
Joined: Tue Jul 01, 2014 6:12 pm

Re: Upgrade Issue through Web Interface

Post by Berto »

Hello,

Here are a few of the files requested.

--Berto
You do not have the required permissions to view the files attached to this post.
Berto
Posts: 162
Joined: Tue Jul 01, 2014 6:12 pm

Re: Upgrade Issue through Web Interface

Post by Berto »

Hello,

Here are a few of the files requested.

--Berto
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Upgrade Issue through Web Interface

Post by ssax »

What is the output of these commands:

Code: Select all

chage -l nagios
sestatus
ls -ld /usr/local/nagiosxi/html/backend
ls -l /usr/local/nagiosxi/html/backend
ls -ld /usr/local/nagiosxi/html
ls -l /usr/local/nagiosxi/html/index.html
Thank you
Berto
Posts: 162
Joined: Tue Jul 01, 2014 6:12 pm

Re: Upgrade Issue through Web Interface

Post by Berto »

Hello,

Here is the output of the requested commands.

[root@lnsvr0615 ~]# chage -l nagios
chage: user 'nagios' does not exist in /etc/passwd (We use ldap and I've created a nagios user in ldap)

[root@lnsvr0615 ~]# sestatus
SELinux status: disabled

[root@lnsvr0615 ~]# ls -ld /usr/local/nagiosxi/html/backend
drwxr-x--- 3 nagios nagios 4096 Aug 29 10:34 /usr/local/nagiosxi/html/backend

[root@lnsvr0615 ~]# ls -l /usr/local/nagiosxi/html/backend
total 20
-rwxr-x--- 1 nagios nagios 148 Oct 3 11:03 config-backend.inc.php
drwxr-x--- 2 nagios nagios 4096 Aug 29 10:34 includes
-rwxr-x--- 1 nagios nagios 9204 Oct 3 11:03 index.php

[root@lnsvr0615 ~]# ls -ld /usr/local/nagiosxi/html
drwxr-xr-x 19 nagios nagios 4096 Oct 1 21:51 /usr/local/nagiosxi/html

[root@lnsvr0615 ~]# ls -l /usr/local/nagiosxi/html/index.html
ls: cannot access /usr/local/nagiosxi/html/index.html: No such file or directory

--Berto
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Upgrade Issue through Web Interface

Post by tgriep »

Lets try and restart the processes and see if that fixes it for you.
Run the following in a shell as root.

Code: Select all

service httpd restart
service ndo2db stop
service nagios stop
killall -9 nagios
service ndo2db start
service nagios start
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked