[smokeping-users] Re: apache error when smokeping.cgi is invoked from the browser

Srinivas Makam smakam60540 at yahoo.com
Sat Jun 11 00:02:32 MEST 2005


Hi,

I used perl instead of speedy, that solved the library
problem. The speedy may have to be configured
differntly for library modules.

Now, I have another error message from apache
error_log:
[Fri Jun 10 16:56:22 2005] [error] [client 127.0.0.1]
[Fri Jun 10 16:56:22 2005] smokeping.cgi: WARNING:
creating /home/smakam/public_html/images/rrdtool.png:
Permission denied, referer:
http://localhost/cgi-bin/smokeping.cgi
--------
The directory has proper write/execute permissions. I
don't why it is not able to write the files into the
imagecache directory.
Thanks for any help.

Srinivas

--- Scott Schappell <archon at silvertree.org> wrote:

> Srinivas Makam wrote:
> > I got 500 Internal server error and the following
> > messages in the /etc/httpd/logs/error_log file.
> > My URL was: http://localhost/cgi-bin/smokeping.cgi
> > 
> > The smokeping.cgi has first few lines like:
> > #!/usr/bin/speedy -w
> > # -*-perl-*-
> > use lib qw(/usr/local/rrdtool-1.2.9/lib/perl);
> > use lib qw(/home/smakam/smokeping/lib);
> > use CGI::Carp qw(fatalsToBrowser);
> 
> I got that all the time. I had to remove the "use
> lib
> qw(/usr/local/rrdtool-1.2.9/lib/perl);" line.
> 
> Give that a try.
> 
> Also make sure /home/smakam/smokeping/lib is indeed
> where the smokeping lib
> directory is.
> 
> -- 
> PGP Key: http://archon.silvertree.org/pgp.txt
> 
> Fingerprint: E799 F032 BD9A 66B8 2930 AE2B E742 0B78
> BADB 8E11
> 
> "Compassion and retribution are two sides of the
> same coin. Necessity
> dictates on what side the coin will fall."
> 
> --
> 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://lists.ee.ethz.ch/smokeping-users
> WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi
> 
> 



		
__________________________________ 
Discover Yahoo! 
Get on-the-go sports scores, stock quotes, news and more. Check it out! 
http://discover.yahoo.com/mobile.html

--
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://lists.ee.ethz.ch/smokeping-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the smokeping-users mailing list