[smokeping-users] Smokeping daemonizes but can't browse on web

Eric Chatham echatham at broadvox.net
Thu Nov 20 17:51:50 CET 2008


Sorry, about lack of info.

Here are my Apache logfiles:

[root at happv etc]# tail /var/log/httpd/error_log

[Wed Nov 19 23:17:22 2008] [error] [client 192.168.1.101] Directory index forbidden by Options directive: /var/www/html/
[Wed Nov 19 23:17:30 2008] [error] [client 192.168.1.101] File does not exist: /var/www/html/smokeping
[Wed Nov 19 23:19:07 2008] [error] [client 192.168.1.101] File does not exist: /var/www/html/smokeping.cgi
[Thu Nov 20 04:02:19 2008] [notice] SIGHUP received.  Attempting to restart
[Thu Nov 20 04:02:20 2008] [notice] Digest: generating secret for digest authentication ...
[Thu Nov 20 04:02:20 2008] [notice] Digest: done
[Thu Nov 20 04:02:20 2008] [notice] Apache/2.2.3 (CentOS) configured -- resuming
 normal operations
[Thu Nov 20 10:57:38 2008] [error] [client 192.168.1.101] File does not exist: /var/www/html/smokeping.cgi
[Thu Nov 20 10:57:39 2008] [error] [client 192.168.1.101] File does not exist: /var/www/html/smokeping.cgi
[Thu Nov 20 10:57:44 2008] [error] [client 192.168.1.101] File does not exist: /var/www/html/smokeping

-----
[root at happv etc]# tail /var/log/httpd/access_log

192.168.1.101 - - [20/Nov/2008:10:57:38 -0500] "GET /smokeping.cgi HTTP/1.1" 404
 295 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080829 Firefox/2.0.0.17"
192.168.1.101 - - [20/Nov/2008:10:57:39 -0500] "GET /smokeping.cgi HTTP/1.1" 404
 295 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080829 Firefox/2.0.0.17"
192.168.1.101 - - [20/Nov/2008:10:57:44 -0500] "GET /smokeping HTTP/1.1" 404 291
 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080829 Firefox/2.0.0.17"

My linux server is Happv.proxima.local [192.168.1.105].  I haven't made any custom settings to my Apache.  I am trying to open the page with Mozilla Firefox.  I get "Error 404, Not found."  The smokeping.cgi page does not reference the cgi-bin directory [as per instructions setting up Smokeping].  I try to access the link http://happv.proxima.local/smokeping/smokeping.cgi.  I get "Error 404." However, when I type in http://happv.proxima.local/, the default Apache page displays.

This is the same way I have it setup in the ./etc/config file.  Do you need to see my config file?

Thank you,
ERiC
------------------------------------------------------------------------------------------
On Thu, 20 Nov 2008, Eric Chatham wrote:

> I am having a problem with apache and setting up my smokeping.  I
> can't browse to smokeping.cgi with the web browser.  What could be
> wrong?  The smokeping daemonizes properly, but I'm unable to see the
> page; here is a debug session.  I only have one target setup:
>
> [root at happv etc]# ../bin/smokeping --debug ### Compiling alert
> detector pattern 'someloss'
> [snip]

You don't send enough information for anyone to help you.  The debug output you sent is from the somkeping process but you really need to look at the log(s) from your Apache process(es).  It would also be helpful to see exactly how your Apache is configured, exactly what you do when you attempt to browse to the smokeping Web page, and exactly what response you get.  From the information you sent, "can't browse"
might easily mean that the URL you gave to the browser was incorrect.

--

73,
Ged.

CONFIDENTIAL.  This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient.



More information about the smokeping-users mailing list