Hello,
We have a perl script that is located under cgi-bin/yabb/
Everytime it's loaded is causing an error 500, suexec logs shows everything correct but error_log shows this:
It seems CGI.pm module can't be found.. can this be installed on the server? searched for this module in WHM - Main >> Software >> Module Installers but I wasn't able to find any module named like this.
In the other hand.. a simple "hello world" in the same directory works perfect.. so.. perl is working.. but the forum .pl file doesn't, don't know why.. permissions are 755 and owner are user.user.
Can anybody guide me? I'm using RHEL 5 + latest cPanel Current release tree.
Thanks.
We have a perl script that is located under cgi-bin/yabb/
Everytime it's loaded is causing an error 500, suexec logs shows everything correct but error_log shows this:
Code:
[Wed Mar 25 00:58:18 2009] [error] [client 190.135.xxx.xxx] [B]Can't locate Upload/CGI.pm in @INC[/B] (@INC contains: /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /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.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl . ./Modules ./Modules/Upload ./Modules/Digest ./Modules ./Modules/Upload ./Modules/Digest) at ./Sources/Subs.pl line 605.
[Wed Mar 25 00:58:18 2009] [error] [client 190.135.xxx.xxx] [B]BEGIN failed--compilation aborted at ./Sources/Subs.pl line 605.[/B]
[Wed Mar 25 00:58:18 2009] [error] [client 190.135.xxx.xxx] [B]Compilation failed in require at YaBB.pl line 57.[/B]
[Wed Mar 25 00:58:18 2009] [error] [client 190.135.xxx.xxx] [B]Premature end of script headers: YaBB.pl[/B]
In the other hand.. a simple "hello world" in the same directory works perfect.. so.. perl is working.. but the forum .pl file doesn't, don't know why.. permissions are 755 and owner are user.user.
Can anybody guide me? I'm using RHEL 5 + latest cPanel Current release tree.
Thanks.
Last edited by a moderator: