[smokeping-users] Re: problem with smokeping CGI
Keith Redfield
kredfield at airsurfwireless.com
Thu Dec 2 00:53:28 MET 2004
"Linux FAQ #1 : It's always permissions".
This sounds like an apache config problem, not a problem with smokeping. Unless you are running apache as suid root (a bad idea I hear), it might not be able to read all the data files - so find out what user apache is runnng under (usually 'apache') and chown/chgrp all the files to that uid. A simple test would be to create a small perl script like:
-------------
#!/usr/bin/perl <---or wherever your perl is
print "Content-type text/html\n\n";
print "Hello World";
-------------
chmod 774 it and call it 'test.cgi' and put it in the same dir as smokeping.cgi. If it works, you know apache can handle CGI's correctly, and so the permissions issue is the more likely candidate.
Cheers,
-Keith
________________________________
From: smokeping-users-bounce at list.ee.ethz.ch on behalf of benedict at kmun.gov.kw
Sent: Wed 12/1/2004 12:35 AM
To: smokeping-users at list.ee.ethz.ch
Subject: [smokeping-users] problem with smokeping CGI
I am new to smoke and have recently installed it
OS linux Red Hat 8
smokeping 1.31
apache version httpd-2.0.40-8
i have installed and setup smokeping with the other required software but
now when I try to use the browser and try to open the smokeping.cgi
it says
Access forbiden
you dont have permission to acces the requested object it is either read
protected or not readable by the server
my imgcache directory is /var/www/html/smokecache and the permissions are
defult as i have created this directory as user root.
appreciate if you could help me
any other info required kindly let me know
thanks n regards
--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the smokeping-users
mailing list