Re: Internal server error following login
Posted: Mon Nov 30, 2015 12:11 pm
Files are attached. I have no included the SSL output as SSL is not used.
Support for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
service httpd status
cat /etc/httpd/conf.d/nagiosxi
ls -l /usr/local/nagiosxi/html/
** I really don't think it's IPTables, but doesn't hurt... **
service iptables stop
** Then try to access your XI page **
[root@spnagios ~]# service httpd status
httpd (pid 1009) is running...
[root@spnagios ~]# ls -l /usr/local/nagiosxi/html/
total 432
drwxr-x--- 2 nagios nagios 4096 Apr 5 2013 about
drwxr-x--- 2 nagios nagios 4096 Apr 5 2013 account
drwxr-x--- 2 nagios nagios 4096 Apr 5 2013 addons
drwxr-x--- 2 nagios nagios 4096 Apr 5 2013 admin
-rwxr-x--- 1 nagios nagios 26932 Nov 25 14:00 ajaxhelper.php
-rwxr-x--- 1 nagios nagios 1652 Nov 25 14:00 ajaxproxy.php
drwxr-x--- 4 nagios nagios 4096 Nov 3 10:57 api
drwxr-x--- 3 nagios nagios 4096 Apr 5 2013 backend
drwxr-x--- 3 nagios nagios 4096 Nov 3 10:57 config
-rwxr-x--- 1 nagios nagios 7942 Nov 25 14:00 config.inc.dist
-rwxr-x--- 1 nagios nagios 7942 Nov 25 14:00 config.inc.php
-rwxr-x--- 1 nagios nagios 7942 Nov 25 14:00 config.inc.saved
drwxr-x--- 2 nagios nagios 4096 Nov 3 10:57 dashboards
drwxr-x--- 4 nagios nagios 4096 Apr 5 2013 db
drwxr-x--- 3 nagios nagios 4096 Apr 5 2013 downloads
drwxr-x--- 2 nagios nagios 4096 Nov 3 10:57 help
drwxr-x--- 4 nagios nagios 12288 Nov 25 08:31 images
drwxr-x--- 12 nagios nagios 4096 Nov 3 10:57 includes
-rwxr-x--- 1 nagios nagios 884 Nov 25 14:00 index.php
-rwxr-x--- 1 nagios nagios 10086 Nov 25 14:00 install.php
-rwxr-x--- 1 nagios nagios 236960 Nov 25 14:00 login.php
-rwxr----- 1 nagios nagios 2303 Nov 25 14:00 loginsplash.inc.dist
-rwxr----- 1 nagios nagios 2212 Nov 25 14:00 loginsplash.inc.php
-rw-r----- 1 nagios nagios 2212 Nov 25 14:00 loginsplash.inc.saved
drwxr-x--- 2 nagios nagios 4096 Apr 5 2013 perfgraphs
drwxr-x--- 2 nagios nagios 4096 May 13 2014 reports
-rwxr----- 1 nagios nagios 20509 Nov 25 14:00 rr.php
-rwxr-x--- 1 nagios nagios 12206 Nov 25 14:00 suggest.php
drwxr-x--- 2 nagios nagios 4096 Apr 5 2013 tools
-rwxr-x--- 1 nagios nagios 2010 Nov 25 14:00 upgrade.php
drwxr-x--- 2 nagios nagios 4096 Nov 3 10:57 views
[root@spnagios ~]# service iptables stop
iptables: Flushing firewall rules: [ OK ]
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Unloading modules: [ OK ]
File attached.Can you please post the contents of /etc/httpd/conf/httpd.conf?
[root@spnagios ~]# cat /etc/httpd/conf.d/nagiosxiAlso, from my previous post: cat /etc/httpd/conf.d/nagiosxi
Code: Select all
tail -f /var/log/httpd/error_log