When accessing http://<hostname>/cgi-bin/smokeping.cgi Apache returns
the following error

ERROR: /var/www/cgi-bin/smokeping.cgi, line 3: table syntax error

Smokeping.cgi is located in the Apache cgi-bin directory. Httpd.conf has
this Directory configured for Exec CGI.  The only error in the httpd
logs is the one displayed to the user above....

Apache User is 'apache', and member of apache group.

/var/www/cgi-bin
[EMAIL PROTECTED] cgi-bin]# ls -la
drwxr-xr-x  2 root apache 4096 Sep  7 14:05 .
drwxr-xr-x  9 root root   4096 Sep  6 15:21 ..
-rwxr-xr-x  1 root apache 2464 Sep  7 14:05 smokeping.cgi [EMAIL PROTECTED]
cgi-bin]#

/usr/bin
[EMAIL PROTECTED] bin]# ls -la | grep speedy
-r-xr-xr-x  1 root apache  57977 Sep  6 13:08 speedy -r-xr-xr-x  1 root
apache 109516 Sep  6 13:08 speedy_backend [EMAIL PROTECTED] bin]#

Smokeping.cgi contains the following:

#!/usr/bin/speedy -w
# -*-perl-*-
use lib qw "/usr/local/rrdtool-1.2.10/lib/perl/5.8.5";  <<-- Presumably
the problem line ## I've also tried use lib qw
(/usr/local/rrdtool-1.2.10/lib/perl/5.8.5);
use lib qw(/usr/local/smokeping/lib/); <<-- will also return the error
if line 3 is commented out/removed use CGI::Carp qw(fatalsToBrowser);

Is this not the right directory for the RRD Perl module ? Permissions
are sufficient ?
/usr/local/rrdtool-1.2.10/lib/perl/5.8.5
[EMAIL PROTECTED] 5.8.5]# ls -la
drwxr-xr-x  3 root apache 4096 Sep  6 11:48 .
drwxrwxrwx  3 root apache 4096 Sep  2 13:41 ..
drwxr-xr-x  3 root apache 4096 Sep  2 13:41 i386-linux-thread-multi
-rwxr-xr-x  1 root apache 4512 Jun 17 05:05 RRDp.pm

Is this not the Smokeping "library" directory ?
/usr/local/smokeping/lib
[EMAIL PROTECTED] lib]# ls -la
d-wx--x--x  4 root apache   4096 Sep  6 12:44 .
drwxr-xr-x  8 root apache   4096 Sep  6 15:20 ..
-rwxrwxrwx  1 root apache  26178 Feb 22  2005 BER.pm
drwxrwxrwx  2 root apache   4096 Sep  6 12:44 Config
drwxrwxrwx  4 root apache   4096 Sep  6 12:44 Smokeping
-rwxrwxrwx  1 root apache 106561 Sep  4 18:20 Smokeping.pm -rwxrwxrwx  1
root apache  33720 Feb 22  2005 SNMP_Session.pm -rwxrwxrwx  1 root
apache  38889 Feb 22  2005 SNMP_util.pm
 



-----Original Message-----
From: smokeping-users [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 07, 2005 2:01 PM
To: Fraser, Ian [CAR:W669:EXCH]
Subject: Ecartis command results: who smokeping-users


List context changed to 'smokeping-users' by following command.
>> who smokeping-users
List membership is only viewable by list admins.

Valid command was found in subject field, body won't be checked for
further commands.

---
Ecartis v1.0.0 - job execution complete.


--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://lists.ee.ethz.ch/smokeping-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

Reply via email to