Upgrade Issue through Web Interface
Re: Upgrade Issue through Web Interface
Anything in your /var/log/httpd/error_log immediately after getting that blank page?
Former Nagios employee
Re: Upgrade Issue through Web Interface
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
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
Could you post your httpd.conf file?
And the contents of this folder?
Code: Select all
/etc/httpd/conf/httpd.confCode: Select all
/etc/httpd/conf.dBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Upgrade Issue through Web Interface
Hello,
Here are a few of the files requested.
--Berto
Here are a few of the files requested.
--Berto
You do not have the required permissions to view the files attached to this post.
Re: Upgrade Issue through Web Interface
Hello,
Here are a few of the files requested.
--Berto
Here are a few of the files requested.
--Berto
You do not have the required permissions to view the files attached to this post.
Re: Upgrade Issue through Web Interface
Hello,
Here are a few of the files requested.
--Berto
Here are a few of the files requested.
--Berto
You do not have the required permissions to view the files attached to this post.
Re: Upgrade Issue through Web Interface
Hello,
Here are a few of the files requested.
--Berto
Here are a few of the files requested.
--Berto
You do not have the required permissions to view the files attached to this post.
Re: Upgrade Issue through Web Interface
What is the output of these commands:
Thank you
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.htmlRe: Upgrade Issue through Web Interface
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
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
Lets try and restart the processes and see if that fixes it for you.
Run the following in a shell as root.
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!