cannot access admin page
-
pccwglobalit
- Posts: 105
- Joined: Wed Mar 11, 2015 9:00 pm
cannot access admin page
i cannot access log server admin page. the access log looks like
"GET /nagioslogserver/index.php/admin HTTP/1.1" 500 -
"GET /nagioslogserver/index.php/admin HTTP/1.1" 500 -
Re: cannot access admin page
500 series error indicates a bad Apache configuration. Can you please post the last few lines of /var/log/httpd/error_log that shows up while you try to access the page?
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: cannot access admin page
eloyd is correct, the apache error log will be necessary to help troubleshoot this problem. Let us know.
-
pccwglobalit
- Posts: 105
- Joined: Wed Mar 11, 2015 9:00 pm
Re: cannot access admin page
we have four nodes.
i am not sure which one i should take.
node1:
root@nls1-hht5 /var/log/httpd> tail -f error_log
[Tue May 26 08:26:17.738445 2015] [lbmethod_heartbeat:notice] [pid 17337] AH02282: No slotmem from mod_heartmonitor
[Tue May 26 08:26:17.789904 2015] [mpm_prefork:notice] [pid 17337] AH00163: Apache/2.4.6 (Red Hat Enterprise Linux) PHP/5.4.16 configured -- resuming normal operations
[Tue May 26 08:26:17.790012 2015] [core:notice] [pid 17337] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Tue May 26 16:00:01.267082 2015] [mpm_prefork:notice] [pid 17337] AH00170: caught SIGWINCH, shutting down gracefully
[Tue May 26 16:00:02.635637 2015] [suexec:notice] [pid 2305] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using nls1-hht5.it.pccwglobal.com. Set the 'ServerName' directive globally to suppress this message
[Tue May 26 16:00:02.694993 2015] [auth_digest:notice] [pid 2305] AH01757: generating secret for digest authentication ...
[Tue May 26 16:00:02.696198 2015] [lbmethod_heartbeat:notice] [pid 2305] AH02282: No slotmem from mod_heartmonitor
[Tue May 26 16:00:02.754752 2015] [mpm_prefork:notice] [pid 2305] AH00163: Apache/2.4.6 (Red Hat Enterprise Linux) PHP/5.4.16 configured -- resuming normal operations
[Tue May 26 16:00:02.754921 2015] [core:notice] [pid 2305] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
node 2: (master node)
[Mon May 25 03:17:02.397505 2015] [auth_digest:notice] [pid 1183] AH01757: generating secret for digest authentication ...
[Mon May 25 03:17:02.409271 2015] [lbmethod_heartbeat:notice] [pid 1183] AH02282: No slotmem from mod_heartmonitor
[Mon May 25 03:17:02.420619 2015] [mpm_prefork:notice] [pid 1183] AH00163: Apache/2.4.6 (Red Hat) PHP/5.4.16 configured -- resuming normal operations
[Mon May 25 03:17:02.420694 2015] [core:notice] [pid 1183] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Tue May 26 08:26:15.533925 2015] [core:warn] [pid 1183] (101)Network is unreachable: AH00056: connect to listener on [::]:80
[Tue May 26 08:26:15.553578 2015] [mpm_prefork:notice] [pid 1183] AH00170: caught SIGWINCH, shutting down gracefully
[Tue May 26 08:26:16.685991 2015] [suexec:notice] [pid 27950] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue May 26 08:26:16.717600 2015] [auth_digest:notice] [pid 27950] AH01757: generating secret for digest authentication ...
[Tue May 26 08:26:16.718431 2015] [lbmethod_heartbeat:notice] [pid 27950] AH02282: No slotmem from mod_heartmonitor
[Tue May 26 08:26:16.733517 2015] [mpm_prefork:notice] [pid 27950] AH00163: Apache/2.4.6 (Red Hat Enterprise Linux) PHP/5.4.16 configured -- resuming normal operations
[Tue May 26 08:26:16.733554 2015] [core:notice] [pid 27950] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
node 3: i am accessing this node's web and get the access: 192.168.134.7 - - [26/May/2015:16:09:19 +0000] "GET /nagioslogserver/index.php/admin HTTP/1.1" 500 -
[Tue May 26 04:19:34.638999 2015] [mpm_prefork:notice] [pid 9553] AH00170: caught SIGWINCH, shutting down gracefully
[Tue May 26 04:27:00.527438 2015] [suexec:notice] [pid 1193] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using nls1-tmh2.it.pccwglobal.com. Set the 'ServerName' directive globally to suppress this message
[Tue May 26 04:27:00.562755 2015] [auth_digest:notice] [pid 1193] AH01757: generating secret for digest authentication ...
[Tue May 26 04:27:00.563524 2015] [lbmethod_heartbeat:notice] [pid 1193] AH02282: No slotmem from mod_heartmonitor
[Tue May 26 04:27:00.581319 2015] [mpm_prefork:notice] [pid 1193] AH00163: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.4.16 configured -- resuming normal operations
[Tue May 26 04:27:00.581348 2015] [core:notice] [pid 1193] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
node 4:
[Tue May 26 06:15:02.123300 2015] [auth_digest:notice] [pid 1289] AH01757: generating secret for digest authentication ...
[Tue May 26 06:15:02.125171 2015] [lbmethod_heartbeat:notice] [pid 1289] AH02282: No slotmem from mod_heartmonitor
[Tue May 26 06:15:02.154459 2015] [mpm_prefork:notice] [pid 1289] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.4.16 configured -- resuming normal operations
[Tue May 26 06:15:02.154513 2015] [core:notice] [pid 1289] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
i am not sure which one i should take.
node1:
root@nls1-hht5 /var/log/httpd> tail -f error_log
[Tue May 26 08:26:17.738445 2015] [lbmethod_heartbeat:notice] [pid 17337] AH02282: No slotmem from mod_heartmonitor
[Tue May 26 08:26:17.789904 2015] [mpm_prefork:notice] [pid 17337] AH00163: Apache/2.4.6 (Red Hat Enterprise Linux) PHP/5.4.16 configured -- resuming normal operations
[Tue May 26 08:26:17.790012 2015] [core:notice] [pid 17337] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Tue May 26 16:00:01.267082 2015] [mpm_prefork:notice] [pid 17337] AH00170: caught SIGWINCH, shutting down gracefully
[Tue May 26 16:00:02.635637 2015] [suexec:notice] [pid 2305] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using nls1-hht5.it.pccwglobal.com. Set the 'ServerName' directive globally to suppress this message
[Tue May 26 16:00:02.694993 2015] [auth_digest:notice] [pid 2305] AH01757: generating secret for digest authentication ...
[Tue May 26 16:00:02.696198 2015] [lbmethod_heartbeat:notice] [pid 2305] AH02282: No slotmem from mod_heartmonitor
[Tue May 26 16:00:02.754752 2015] [mpm_prefork:notice] [pid 2305] AH00163: Apache/2.4.6 (Red Hat Enterprise Linux) PHP/5.4.16 configured -- resuming normal operations
[Tue May 26 16:00:02.754921 2015] [core:notice] [pid 2305] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
node 2: (master node)
[Mon May 25 03:17:02.397505 2015] [auth_digest:notice] [pid 1183] AH01757: generating secret for digest authentication ...
[Mon May 25 03:17:02.409271 2015] [lbmethod_heartbeat:notice] [pid 1183] AH02282: No slotmem from mod_heartmonitor
[Mon May 25 03:17:02.420619 2015] [mpm_prefork:notice] [pid 1183] AH00163: Apache/2.4.6 (Red Hat) PHP/5.4.16 configured -- resuming normal operations
[Mon May 25 03:17:02.420694 2015] [core:notice] [pid 1183] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Tue May 26 08:26:15.533925 2015] [core:warn] [pid 1183] (101)Network is unreachable: AH00056: connect to listener on [::]:80
[Tue May 26 08:26:15.553578 2015] [mpm_prefork:notice] [pid 1183] AH00170: caught SIGWINCH, shutting down gracefully
[Tue May 26 08:26:16.685991 2015] [suexec:notice] [pid 27950] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue May 26 08:26:16.717600 2015] [auth_digest:notice] [pid 27950] AH01757: generating secret for digest authentication ...
[Tue May 26 08:26:16.718431 2015] [lbmethod_heartbeat:notice] [pid 27950] AH02282: No slotmem from mod_heartmonitor
[Tue May 26 08:26:16.733517 2015] [mpm_prefork:notice] [pid 27950] AH00163: Apache/2.4.6 (Red Hat Enterprise Linux) PHP/5.4.16 configured -- resuming normal operations
[Tue May 26 08:26:16.733554 2015] [core:notice] [pid 27950] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
node 3: i am accessing this node's web and get the access: 192.168.134.7 - - [26/May/2015:16:09:19 +0000] "GET /nagioslogserver/index.php/admin HTTP/1.1" 500 -
[Tue May 26 04:19:34.638999 2015] [mpm_prefork:notice] [pid 9553] AH00170: caught SIGWINCH, shutting down gracefully
[Tue May 26 04:27:00.527438 2015] [suexec:notice] [pid 1193] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using nls1-tmh2.it.pccwglobal.com. Set the 'ServerName' directive globally to suppress this message
[Tue May 26 04:27:00.562755 2015] [auth_digest:notice] [pid 1193] AH01757: generating secret for digest authentication ...
[Tue May 26 04:27:00.563524 2015] [lbmethod_heartbeat:notice] [pid 1193] AH02282: No slotmem from mod_heartmonitor
[Tue May 26 04:27:00.581319 2015] [mpm_prefork:notice] [pid 1193] AH00163: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.4.16 configured -- resuming normal operations
[Tue May 26 04:27:00.581348 2015] [core:notice] [pid 1193] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
node 4:
[Tue May 26 06:15:02.123300 2015] [auth_digest:notice] [pid 1289] AH01757: generating secret for digest authentication ...
[Tue May 26 06:15:02.125171 2015] [lbmethod_heartbeat:notice] [pid 1289] AH02282: No slotmem from mod_heartmonitor
[Tue May 26 06:15:02.154459 2015] [mpm_prefork:notice] [pid 1289] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.4.16 configured -- resuming normal operations
[Tue May 26 06:15:02.154513 2015] [core:notice] [pid 1289] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
Re: cannot access admin page
Is this a high-availability or other heartbeat-based Apache install? That "No slotmem from mod_heartmonitor" message indicates that you're loading the heartbeat monitor module.
Regardless, you also have this error, which is likely preventing your Apache from starting in the first place: Command line: '/usr/sbin/httpd -D FOREGROUND.
Do you even have a web server running? Try this: lsof -i:80
If you do not have the lsof command installed, you can run: netstat -na | grep LISTEN
Regardless, you also have this error, which is likely preventing your Apache from starting in the first place: Command line: '/usr/sbin/httpd -D FOREGROUND.
Do you even have a web server running? Try this: lsof -i:80
If you do not have the lsof command installed, you can run: netstat -na | grep LISTEN
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: cannot access admin page
Take a look at what eloyd stated above and answer his questions - it does seem like your apache config has been customized.
I've seen this behavior if elasticsearch is acting up. Is it possible to restart elasticsearch and apache on the node you're using the Web GUI through? For instance, if you were on node 192.168.1.1:
I've seen this behavior if elasticsearch is acting up. Is it possible to restart elasticsearch and apache on the node you're using the Web GUI through? For instance, if you were on node 192.168.1.1:
Code: Select all
ssh [email protected]
service elasticsearch restart
service httpd restart-
pccwglobalit
- Posts: 105
- Joined: Wed Mar 11, 2015 9:00 pm
Re: cannot access admin page
we have four nodes and i restarted all httpd and still not access it.
i can access it before.
this is happened after i did the backup. there are about 7x backup.
i can access it before.
this is happened after i did the backup. there are about 7x backup.
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: cannot access admin page
This is the next troubleshooting step, please verify that httpd is up and listening with one of these commands.eloyd wrote:Do you even have a web server running? Try this: lsof -i:80
If you do not have the lsof command installed, you can run: netstat -na | grep LISTEN
-
pccwglobalit
- Posts: 105
- Joined: Wed Mar 11, 2015 9:00 pm
Re: cannot access admin page
the problem is solved after increase memory_size in php.ini. Default is 128G
Re: cannot access admin page
I think you mean 128M, but we understood :)
I'll be closing this thread now, but feel free to open another if you need anything in the future!
I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee