Hi Josh,

Actually, there are no files there (in either directory you listed).  I do have 
a /var/www/html/smokeping directory though.  Do I need to configure the 
./doc/smokeping.html doc and copy it to that directory?

---------------------------------

Looks to me like you put the files in /var/www/html and not /var/www/cgi-bin.  
I am using CentOS myself and I have it as:

/var/www/cgi-bin/smokeping.cgi

I use the URL host/cgi-bin/smokeping.cgi

Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer

On Thu, Nov 20, 2008 at 11:51 AM, Eric Chatham <[EMAIL PROTECTED]<mailto:[EMAIL 
PROTECTED]>> wrote:
Sorry, about lack of info.

Here are my Apache logfiles:

[EMAIL PROTECTED] etc]# tail /var/log/httpd/error_log

[Wed Nov 19 23:17:22 2008] [error] [client 192.168.1.101<http://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<http://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<http://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<http://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<http://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<http://192.168.1.101>] 
File does not exist: /var/www/html/smokeping

-----
[EMAIL PROTECTED] etc]# tail /var/log/httpd/access_log

192.168.1.101<http://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<http://1.8.1.17>) Gecko/20080829 Firefox/2.0.0.17<http://2.0.0.17>"
192.168.1.101<http://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<http://1.8.1.17>) Gecko/20080829 Firefox/2.0.0.17<http://2.0.0.17>"
192.168.1.101<http://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<http://1.8.1.17>) Gecko/20080829 Firefox/2.0.0.17<http://2.0.0.17>"

My linux server is Happv.proxima.local [192.168.1.105<http://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:
>
> [EMAIL PROTECTED] 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.

_______________________________________________
smokeping-users mailing list
[email protected]<mailto:[email protected]>
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users


________________________________
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.
_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Reply via email to