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.

up2date updates Perl and messes up Spamassasin

Discussion in 'General Discussion' started by silversurfer, Sep 23, 2003.

  1. silversurfer

    silversurfer Well-Known Member

    Joined:
    Dec 29, 2002
    Messages:
    274
    Likes Received:
    0
    Trophy Points:
    18
    Hi

    I ran up2date today, and it updates Perl. Following that, the error pops up:

    Shutting down exim: [ OK ]
    Shutting down antirelayd: [ OK ]
    Shutting down spamd: [FAILED]
    Starting exim: [ OK ]
    Starting exim-outgoing: [ OK ]
    Starting exim-smtps: [ OK ]
    Starting antirelayd: [ OK ]
    Starting spamd: Can't locate HTML/Parser.pm in @INC (@INC contains: ../lib /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /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 /usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/HTML.pm line 7.
    BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/HTML.pm line 7.
    Compilation failed in require at /usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/PerMsgStatus.pm line 44.
    BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/PerMsgStatus.pm line 44.
    Compilation failed in require at /usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin.pm line 62.
    BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin.pm line 62.
    Compilation failed in require at /usr/bin/spamd line 32.
    BEGIN failed--compilation aborted at /usr/bin/spamd line 32.
    [FAILED]


    I tried upgrading cpanel but to no avail. Any suggestions?

    cPanel.net Support Ticket Number:
     
  2. wwwhosts

    wwwhosts Well-Known Member

    Joined:
    Apr 25, 2003
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    NZ
    do a rollback


    there are some packages that shouldn't be updated using rh's up2date when running cpanel

    cPanel.net Support Ticket Number:
     
  3. silversurfer

    silversurfer Well-Known Member

    Joined:
    Dec 29, 2002
    Messages:
    274
    Likes Received:
    0
    Trophy Points:
    18
    How do you rollback?

    cPanel.net Support Ticket Number:
     
  4. wwwhosts

    wwwhosts Well-Known Member

    Joined:
    Apr 25, 2003
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    NZ
    --relocate=<old>=<new> relocate files from path <old> to <new>

    if up2date was configured to repackage

    otherwise force an install of the previous version, probably best to use whm software > rpm install

    there are 5 pkgs - you can check what was installed by viewing the contents of /var/spool/up2date
     
    #4 wwwhosts, Sep 23, 2003
    Last edited: Sep 23, 2003
  5. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    If running the up2date from RH, would it be better to add perl* to the pkgSkipList configuration to prevent it from messing up the Cpanel then??

    Or which perl packages can be safely updated through the RH up2date process??

    Thx's

    cPanel.net Support Ticket Number:
     
  6. silversurfer

    silversurfer Well-Known Member

    Joined:
    Dec 29, 2002
    Messages:
    274
    Likes Received:
    0
    Trophy Points:
    18
    There's no need to. I found out how to fix it already. Just have to reinstall the modules that's missing

    cPanel.net Support Ticket Number:
     
  7. denisdekat09

    denisdekat09 Well-Known Member

    Joined:
    Mar 2, 2002
    Messages:
    265
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    San Francisco
    Hi,

    I got a similar problem, but I get this:

    root@secure00 [/scripts]# /usr/bin/spamd -d
    /usr/bin/perl: relocation error: /usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Net/DNS/DNS.so: undefined symbol: perl_get_sv


    I tried installing NET:: DNS and it seemed to say it was fine.

    I think the upgrade to 5.8 messed things up. I see the path that spamd is looking for is 5.6.1. Has anyone seen this?
     
  8. denisdekat09

    denisdekat09 Well-Known Member

    Joined:
    Mar 2, 2002
    Messages:
    265
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    San Francisco
    BTW, going back to 5.6 fixed it right up.
     
  9. mr.wonderful

    mr.wonderful BANNED

    Joined:
    Feb 1, 2004
    Messages:
    345
    Likes Received:
    0
    Trophy Points:
    0
    Well howabout those running 5.8? Downgrading to 5.6 is not the answer. Surely we dont have to downgrade to fix this issue.
     
Loading...

Share This Page