[cgiirc-general] 500 Internal server error
Brought to you by:
dgl
From: <je...@ag...> - 2007-01-16 12:14:20
|
Hi, I've been using cgiirc for a couple of years on a linux server, now I had to change servers, and I tried to install it on another linux server. But I can't get it to work, and I'm running out of ideas. The apache log says like this: [Tue Jan 16 12:57:46 2007] [error] Can't locate parse.pl in @INC (@INC contains: modules interfaces /home/httpd/perl /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7/i686-linux /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6/i686-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5/i686-linux /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5/i686-linux /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl . /usr/lib/apache2) at /var/www/localhost/cgi-bin/cgiirc-0.5.9/irc.cgi line 34.\n This is the contents of the cgiirc directory: drwxr-xr-x 6 root root 4096 Jan 16 12:47 . drwxr-xr-x 3 root root 4096 Jan 16 12:46 .. -rw-r--r-- 2 root root 105 Jan 16 12:46 .htaccess -rw-r--r-- 1 root root 1109 Jan 16 12:47 cgiirc.config -rw-r--r-- 1 root root 1117 Jan 16 12:46 cgiirc.config~ -rwxr-xr-x 2 root root 2377 Jan 16 12:46 client-perl.cgi -rw-r--r-- 2 root root 5141 Jan 16 12:46 client.c drwxr-xr-x 2 root root 4096 Jan 16 12:46 formats drwxr-xr-x 3 root root 4096 Jan 16 12:46 images drwxr-xr-x 3 root root 4096 Jan 16 12:46 interfaces -rwxr-xr-x 2 root root 7747 Jan 16 12:46 irc.cgi drwxr-xr-x 3 root root 4096 Jan 16 12:46 modules -rwxr-xr-x 2 root root 37832 Jan 16 12:46 nph-irc.cgi This is the modules directory: drwxr-xr-x 3 root root 4096 Jan 16 12:46 . drwxr-xr-x 6 root root 4096 Jan 16 12:47 .. -rw-r--r-- 2 root root 14 Jan 16 12:46 .htaccess -rw-r--r-- 2 root root 8277 Jan 16 12:46 Command.pm -rw-r--r-- 2 root root 2517 Jan 16 12:46 Event.pm drwxr-xr-x 3 root root 4096 Jan 16 12:46 IRC -rw-r--r-- 2 root root 5110 Jan 16 12:46 IRC.pm -rw-r--r-- 2 root root 3151 Jan 16 12:46 Timer.pm -rw-r--r-- 2 root root 3351 Jan 16 12:46 parse.pl And what I can see, the file parse.pl is located under the modules directory, I've tried all kinds of permissions on the files, and even try to move the parse.pl script to the same directory as irc.cgi. The strange thing is that when I run the script from the shell, it nicely prints out the html. Could this have anything to do with mod-perl2 ? That's the main change from my old server I think. Any ideas? /Jesper |