The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem with perl/sendmail

Discussion in 'E-mail Discussions' started by @home, Nov 16, 2003.

  1. @home

    @home Well-Known Member

    Joined:
    Nov 5, 2003
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    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 my@email.com

    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
     
    #1 @home, Nov 16, 2003
    Last edited: Nov 16, 2003
  2. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    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.
     
  3. @home

    @home Well-Known Member

    Joined:
    Nov 5, 2003
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  4. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    I think it's actually
    # wget http://layer1.cpanel.net/perl561installer.tar.gz
    # tar xvzf perl561installer.tar.gz
    # cd perl561installer
    # ./install

    But yeah, that's the right idea. It takes about 30 minutes to run. After that you should be all set, though.
     
  5. @home

    @home Well-Known Member

    Joined:
    Nov 5, 2003
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Thanks Casey.

    I am gone try that .:rolleyes:
     
  6. @home

    @home Well-Known Member

    Joined:
    Nov 5, 2003
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    All went wel till i wanto cd.

    it says no such file or directory.

    root@host [~]# 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]

    root@host [~]# 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
    root@host [~]# cd perl561installer
    bash: cd: perl561installer: No such file or directory
     
Loading...

Share This Page