I am trying to run a very simple cgi script in the /usr/local/cpanel/base/3rdparty directory, and for some reason I am getting the following error message:
------------------------------------------------------
Can't locate Carp/Heavy.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i686-linux /usr/lib/perl5/ERLVER /usr/lib/perl5/site_perl/5.6.0/i686-linux /usr/lib/perl5/site_perl/ERLVER /usr/lib/perl5/site_perl/5.6.0/i686-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl . /usr/lib/perl5/5.6.0/i686-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i686-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/5.6.0/Carp.pm line 109.
-------------------------------------------------------
The strange thing is that, as far as I know, Perl 5.6.0 has NEVER been installed on this server. So how is it that my script is trying to access the Carp/Heavy.pm file in the /5.6.0/i686-linux directory? That directory or version of perl is NOT on the server.
Is there a fix for this? If not, how do I get CPanel to look at the right perl directory? (I call the script like this: http://domain.com:2082/3rdparty/script.cgi). My other scripts in this directory seem to work fine so far.
When I type perl -v at the command line it says I have 5.6.1 i686-linux installed, and the Carp/Heavy.pm files do reside and work in the /5.6.1/i686-linux directory. So if I can get CPanel pointing to the right directory I should be good to go.
Please help!
------------------------------------------------------
Can't locate Carp/Heavy.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i686-linux /usr/lib/perl5/ERLVER /usr/lib/perl5/site_perl/5.6.0/i686-linux /usr/lib/perl5/site_perl/ERLVER /usr/lib/perl5/site_perl/5.6.0/i686-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl . /usr/lib/perl5/5.6.0/i686-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i686-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/5.6.0/Carp.pm line 109.
-------------------------------------------------------
The strange thing is that, as far as I know, Perl 5.6.0 has NEVER been installed on this server. So how is it that my script is trying to access the Carp/Heavy.pm file in the /5.6.0/i686-linux directory? That directory or version of perl is NOT on the server.
Is there a fix for this? If not, how do I get CPanel to look at the right perl directory? (I call the script like this: http://domain.com:2082/3rdparty/script.cgi). My other scripts in this directory seem to work fine so far.
When I type perl -v at the command line it says I have 5.6.1 i686-linux installed, and the Carp/Heavy.pm files do reside and work in the /5.6.1/i686-linux directory. So if I can get CPanel pointing to the right directory I should be good to go.
Please help!