Problem with perl/sendmail

@home

Well-Known Member
Nov 5, 2003
121
2
168
cPanel Access Level
Root Administrator
Problem with perl urgent

I have Osticket installed.
It worked fine till this day now i get.

pipe to |/home/user/public_html/cgi-bin/automail.pl
generated by [email protected]

Can't locate DBI.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at /home/user/public_html/cgi-bin/automail.pl line 54.
BEGIN failed--compilation aborted at /home/user/public_html/cgi-bin/automail.pl line 54.

I cannot add new acounts i get.
Can't locate Digest/MD5.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at /scripts/md5crypt line 5.
BEGIN failed--compilation aborted at /scripts/md5crypt line 5.
User added
Can't locate Digest/MD5.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at /scripts/md5crypt line 5.
BEGIN failed--compilation aborted at /scripts/md5crypt line 5.


I am not using autoupdate.
But stupid me yesterday i did up2date -u
I think that is the cause:(
What is the best way to resolve this error?
Install perl module DBI ?

I realy need some advice here

Thanks
 
Last edited:

casey

Well-Known Member
Jan 17, 2003
2,288
0
191
What version of cpanel are you using? With the latest builds there's a tool in WHM to repair perl scripts.

Otherwise you could try
/scripts/cleanmd5
and then re-install DBI.

If all else fails you'll have to re-install perl from layer1.
 

@home

Well-Known Member
Nov 5, 2003
121
2
168
cPanel Access Level
Root Administrator
Better to new istall i think :(

Okay please help me to refresh my memory.
Is this the correct way to do so ?

# wget http://layer1.cpanel.net/perl561installer.tar.gz
# tar xvzf perl561installer.tar.gz
# cd perl561installer
# ./wp-cpup/install


Thanks.

trying to install the DBI module gives me the following error.

Looking up ftp.cpanel.net
ftp.cpanel.net
Making HTTP connection to ftp.cpanel.net
Alert!: Unable to connect to remote host.

lynx: Can't access startfile http://ftp.cpanel.net/pub/CPAN/authors/01mailrc.txt.gz
--12:47:51-- http://ftp.cpanel.net/pub/CPAN/authors/01mailrc.txt.gz
=> `-'
Resolving ftp.cpanel.net... done.
 

@home

Well-Known Member
Nov 5, 2003
121
2
168
cPanel Access Level
Root Administrator
All went wel till i wanto cd.

it says no such file or directory.

[email protected] [~]# wget http://layer1.cpanel.net/perl561installer.tar.gz
--13:00:24-- http://layer1.cpanel.net/perl561installer.tar.gz
=> `perl561installer.tar.gz'
Resolving layer1.cpanel.net... done.
Connecting to layer1.cpanel.net[216.118.116.106]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5,970,542 [application/x-tar]

100%[====================================>] 5,970,542 1.18M/s ETA 00:00

13:00:29 (1.18 MB/s) - `perl561installer.tar.gz' saved [5970542/5970542]

[email protected] [~]# tar xvzf perl561installer.tar.gz
wp-cpup/
wp-cpup/installscripts/
wp-cpup/installscripts/perlmod
wp-cpup/installscripts/perlmods
wp-cpup/installscripts/cpan
wp-cpup/installscripts/expectperl
wp-cpup/installscripts/expectcpan
wp-cpup/stable.tar.gz
wp-cpup/install
[email protected] [~]# cd perl561installer
bash: cd: perl561installer: No such file or directory