Page 1 of 1

Can't See Nagios Core WebPage

Posted: Fri Nov 27, 2015 5:25 am
by Bone8Head
Hello.

I installed Nagios Core, but I cannot enter in the webpage.
The I.P. of my CentOS/Nagios Server is: 192.168.50.168 , so i try 192.168.50.168/nagios on the Broswer, but nothing happened.
Here the Netstat:

Code: Select all

netstat -nap | grep 80
tcp6       0      0 :::80                   :::*                    LISTEN      3080/httpd
raw6       0      0 :::58                   :::*                    7           680/NetworkManager
unix  2      [ ACC ]     STREAM     LISTENING     15362    680/NetworkManager   /var/run/NetworkManager/private
unix  2      [ ACC ]     STREAM     LISTENING     17980    2345/master          public/qmgr
unix  2      [ ACC ]     STREAM     LISTENING     18002    2345/master          public/flush
unix  2      [ ACC ]     STREAM     LISTENING     18017    2345/master          public/showq
unix  2      [ ACC ]     STREAM     LISTENING     18005    2345/master          private/proxymap
unix  2      [ ACC ]     STREAM     LISTENING     18008    2345/master          private/proxywrite
unix  2      [ ACC ]     STREAM     LISTENING     18011    2345/master          private/smtp
unix  2      [ ACC ]     STREAM     LISTENING     18014    2345/master          private/relay
unix  2      [ ACC ]     STREAM     LISTENING     18020    2345/master          private/error
unix  2      [ ACC ]     STREAM     LISTENING     18023    2345/master          private/retry
unix  2      [ ACC ]     STREAM     LISTENING     18026    2345/master          private/discard
unix  2      [ ACC ]     STREAM     LISTENING     18029    2345/master          private/local
unix  2      [ ACC ]     STREAM     LISTENING     18032    2345/master          private/virtual
unix  2      [ ACC ]     STREAM     LISTENING     18035    2345/master          private/lmtp
unix  2      [ ACC ]     STREAM     LISTENING     18038    2345/master          private/anvil
unix  2      [ ACC ]     STREAM     LISTENING     18041    2345/master          private/scache
unix  3      [ ]         STREAM     CONNECTED     18019    2345/master
unix  3      [ ]         STREAM     CONNECTED     18034    2345/master
unix  3      [ ]         STREAM     CONNECTED     18000    2345/master
unix  3      [ ]         STREAM     CONNECTED     18015    2345/master
unix  3      [ ]         STREAM     CONNECTED     18004    2345/master
unix  3      [ ]         STREAM     CONNECTED     18027    2345/master
unix  3      [ ]         STREAM     CONNECTED     18042    2345/master
unix  3      [ ]         STREAM     CONNECTED     18012    2345/master
unix  2      [ ]         DGRAM                    15356    680/NetworkManager
unix  3      [ ]         STREAM     CONNECTED     18018    2345/master
unix  3      [ ]         STREAM     CONNECTED     18001    2345/master
unix  3      [ ]         STREAM     CONNECTED     18031    2345/master
unix  3      [ ]         STREAM     CONNECTED     18022    2345/master
unix  3      [ ]         STREAM     CONNECTED     21991    3080/httpd
unix  3      [ ]         STREAM     CONNECTED     18043    2345/master
unix  3      [ ]         STREAM     CONNECTED     18009    2345/master
unix  3      [ ]         STREAM     CONNECTED     18039    2345/master
unix  3      [ ]         STREAM     CONNECTED     18030    2345/master
unix  3      [ ]         STREAM     CONNECTED     18013    2345/master
unix  3      [ ]         STREAM     CONNECTED     18006    2345/master
unix  3      [ ]         STREAM     CONNECTED     18021    2345/master
unix  3      [ ]         STREAM     CONNECTED     18036    2345/master
unix  3      [ ]         STREAM     CONNECTED     15377    680/NetworkManager
unix  3      [ ]         STREAM     CONNECTED     18010    2345/master
unix  3      [ ]         STREAM     CONNECTED     18025    2345/master
unix  3      [ ]         STREAM     CONNECTED     14777    680/NetworkManager
unix  3      [ ]         STREAM     CONNECTED     18040    2345/master
unix  2      [ ]         DGRAM                    18059    2347/qmgr
unix  3      [ ]         STREAM     CONNECTED     18003    2345/master
unix  3      [ ]         STREAM     CONNECTED     18033    2345/master
unix  3      [ ]         STREAM     CONNECTED     18016    2345/master
unix  3      [ ]         STREAM     CONNECTED     18037    2345/master
unix  3      [ ]         STREAM     CONNECTED     18024    2345/master
unix  3      [ ]         STREAM     CONNECTED     18007    2345/master
unix  3      [ ]         STREAM     CONNECTED     15364    680/NetworkManager
unix  2      [ ]         DGRAM                    18088    2346/pickup
unix  3      [ ]         STREAM     CONNECTED     18028    2345/master

Re: Can't See Nagios Core WebPage

Posted: Sat Nov 28, 2015 12:45 am
by vnc786
try elinks http://localhost/nagios on nagios server

Re: Can't See Nagios Core WebPage

Posted: Sun Nov 29, 2015 10:40 pm
by Box293
What OS did you install core on and what guide did you follow?

Re: Can't See Nagios Core WebPage

Posted: Tue Dec 01, 2015 3:52 am
by Bone8Head
Box293 wrote:What OS did you install core on and what guide did you follow?
On Centos 7, and I follow the Official Nagios Guide..

Re: Can't See Nagios Core WebPage

Posted: Tue Dec 01, 2015 10:07 am
by mleo40
Did you follow https://assets.nagios.com/downloads/nag ... edora.html ? Specifically step 5?

Re: Can't See Nagios Core WebPage

Posted: Tue Dec 01, 2015 10:14 am
by rkennedy
Can you post output for the following commands? -

Code: Select all

tail -n50 /var/log/httpd/error_log
tail -n50 /var/log/httpd/ssl_error_log
Can you ping 192.168.50.168 from your local machine?

Re: Can't See Nagios Core WebPage

Posted: Wed Dec 02, 2015 3:42 am
by Bone8Head
rkennedy wrote:Can you post output for the following commands? -

Code: Select all

tail -n50 /var/log/httpd/error_log
tail -n50 /var/log/httpd/ssl_error_log
Can you ping 192.168.50.168 from your local machine?
Yes I can ping it.

Re: Can't See Nagios Core WebPage

Posted: Wed Dec 02, 2015 10:44 am
by hsmith
rkennedy wrote:Can you post output for the following commands? -

Code: Select all

tail -n50 /var/log/httpd/error_log
tail -n50 /var/log/httpd/ssl_error_log
Can you please do this?

Re: Can't See Nagios Core WebPage

Posted: Thu Dec 03, 2015 5:37 am
by Bone8Head
hsmith wrote:
rkennedy wrote:Can you post output for the following commands? -

Code: Select all

tail -n50 /var/log/httpd/error_log
tail -n50 /var/log/httpd/ssl_error_log
Can you please do this?

Code: Select all

[Thu Dec 03 07:21:19.115294 2015] [autoindex:error] [pid 2378] [client 127.0.0.1:60281] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 07:26:19.092532 2015] [autoindex:error] [pid 2374] [client 127.0.0.1:60283] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 07:31:19.069385 2015] [autoindex:error] [pid 2375] [client 127.0.0.1:60285] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 07:36:19.046594 2015] [autoindex:error] [pid 2376] [client 127.0.0.1:60287] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 07:41:19.024080 2015] [autoindex:error] [pid 2377] [client 127.0.0.1:60289] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 07:46:19.002097 2015] [autoindex:error] [pid 2378] [client 127.0.0.1:60291] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 07:51:17.981674 2015] [autoindex:error] [pid 2374] [client 127.0.0.1:60293] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 07:56:17.960993 2015] [autoindex:error] [pid 2375] [client 127.0.0.1:60295] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 08:01:17.940394 2015] [autoindex:error] [pid 2376] [client 127.0.0.1:60297] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 08:06:17.918811 2015] [autoindex:error] [pid 2377] [client 127.0.0.1:60299] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 08:11:17.898661 2015] [autoindex:error] [pid 2378] [client 127.0.0.1:60301] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 08:16:17.878360 2015] [autoindex:error] [pid 2374] [client 127.0.0.1:60303] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 08:21:17.857425 2015] [autoindex:error] [pid 2375] [client 127.0.0.1:60305] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 08:26:17.836276 2015] [autoindex:error] [pid 2376] [client 127.0.0.1:60307] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 08:31:17.815606 2015] [autoindex:error] [pid 2377] [client 127.0.0.1:60309] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 08:36:17.795051 2015] [autoindex:error] [pid 2378] [client 127.0.0.1:60311] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 08:41:17.774879 2015] [autoindex:error] [pid 2374] [client 127.0.0.1:60313] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 08:46:17.754233 2015] [autoindex:error] [pid 2375] [client 127.0.0.1:60315] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 08:51:17.732820 2015] [autoindex:error] [pid 2376] [client 127.0.0.1:60317] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 08:56:17.711298 2015] [autoindex:error] [pid 2377] [client 127.0.0.1:60319] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 09:01:17.689579 2015] [autoindex:error] [pid 2378] [client 127.0.0.1:60321] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 09:06:17.668101 2015] [autoindex:error] [pid 2374] [client 127.0.0.1:60323] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 09:11:17.646853 2015] [autoindex:error] [pid 2375] [client 127.0.0.1:60325] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 09:16:17.626338 2015] [autoindex:error] [pid 2376] [client 127.0.0.1:60327] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 09:21:17.605214 2015] [autoindex:error] [pid 2377] [client 127.0.0.1:60329] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 09:26:17.584225 2015] [autoindex:error] [pid 2378] [client 127.0.0.1:60331] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 09:31:17.563071 2015] [autoindex:error] [pid 2374] [client 127.0.0.1:60333] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 09:36:17.542158 2015] [autoindex:error] [pid 2375] [client 127.0.0.1:60335] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 09:41:17.521294 2015] [autoindex:error] [pid 2376] [client 127.0.0.1:60337] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 09:46:17.500442 2015] [autoindex:error] [pid 2377] [client 127.0.0.1:60339] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 09:51:17.478814 2015] [autoindex:error] [pid 2378] [client 127.0.0.1:60341] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 09:56:17.456945 2015] [autoindex:error] [pid 2374] [client 127.0.0.1:60343] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 10:01:17.435470 2015] [autoindex:error] [pid 2375] [client 127.0.0.1:60345] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 10:06:17.414054 2015] [autoindex:error] [pid 2376] [client 127.0.0.1:60347] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 10:11:17.392082 2015] [autoindex:error] [pid 2377] [client 127.0.0.1:60349] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 10:16:17.370100 2015] [autoindex:error] [pid 2378] [client 127.0.0.1:60351] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 10:21:17.348668 2015] [autoindex:error] [pid 2374] [client 127.0.0.1:60353] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 10:26:17.327097 2015] [autoindex:error] [pid 2375] [client 127.0.0.1:60355] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 10:31:17.305760 2015] [autoindex:error] [pid 2376] [client 127.0.0.1:60357] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 10:36:17.284485 2015] [autoindex:error] [pid 2377] [client 127.0.0.1:60359] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 10:41:17.263075 2015] [autoindex:error] [pid 2378] [client 127.0.0.1:60361] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 10:46:17.241369 2015] [autoindex:error] [pid 2374] [client 127.0.0.1:60363] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 10:51:17.220127 2015] [autoindex:error] [pid 2375] [client 127.0.0.1:60365] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 10:56:17.198733 2015] [autoindex:error] [pid 2376] [client 127.0.0.1:60367] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 11:01:17.176881 2015] [autoindex:error] [pid 2377] [client 127.0.0.1:60369] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 11:06:17.155280 2015] [autoindex:error] [pid 2378] [client 127.0.0.1:60371] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 11:11:17.133950 2015] [autoindex:error] [pid 2374] [client 127.0.0.1:60373] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 11:16:17.112333 2015] [autoindex:error] [pid 2375] [client 127.0.0.1:60375] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 11:21:17.090100 2015] [autoindex:error] [pid 2376] [client 127.0.0.1:60377] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 03 11:26:17.068132 2015] [autoindex:error] [pid 2377] [client 127.0.0.1:60379] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive
I can't to the 2nd command, it says that the Directory doesn't exist.

Re: Can't See Nagios Core WebPage

Posted: Thu Dec 03, 2015 10:30 am
by hsmith
Can you post your /etc/httpd/conf.d/nagios.conf file here?