Page 3 of 4

Re: Upgrade Issue through Web Interface

Posted: Tue Oct 13, 2015 9:13 am
by tmcdonald
Anything in your /var/log/httpd/error_log immediately after getting that blank page?

Re: Upgrade Issue through Web Interface

Posted: Tue Oct 13, 2015 9:50 am
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

Re: Upgrade Issue through Web Interface

Posted: Tue Oct 13, 2015 2:52 pm
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

Re: Upgrade Issue through Web Interface

Posted: Tue Oct 13, 2015 3:05 pm
by Berto
Hello,

Here are a few of the files requested.

--Berto

Re: Upgrade Issue through Web Interface

Posted: Tue Oct 13, 2015 3:06 pm
by Berto
Hello,

Here are a few of the files requested.

--Berto

Re: Upgrade Issue through Web Interface

Posted: Tue Oct 13, 2015 3:07 pm
by Berto
Hello,

Here are a few of the files requested.

--Berto

Re: Upgrade Issue through Web Interface

Posted: Tue Oct 13, 2015 3:09 pm
by Berto
Hello,

Here are a few of the files requested.

--Berto

Re: Upgrade Issue through Web Interface

Posted: Tue Oct 13, 2015 4:47 pm
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

Re: Upgrade Issue through Web Interface

Posted: Wed Oct 14, 2015 9:26 am
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

Re: Upgrade Issue through Web Interface

Posted: Wed Oct 14, 2015 4:23 pm
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