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.

spamd problem

Discussion in 'General Discussion' started by JCave, Nov 3, 2003.

  1. JCave

    JCave Well-Known Member

    Joined:
    Feb 19, 2003
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    I searched the forum and didnt find an answer to my question. I tried restarting exim from cpanel and spamd doesnt run, yet no errors are shown. I tried running /etc/rc.d/init.d/exim restart and got the following error:

    Starting spamd: /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
    [FAILED]

    And since spamd isnt running, spam is getting through. Anyone else encountered this or have anyway to fix it.

    Here is a couple things I tried doing with NO success:
    Reinstalling BIND
    Reinstalling Net::DNS

    Thanks;
     
  2. JCave

    JCave Well-Known Member

    Joined:
    Feb 19, 2003
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    I fixed it by moving that directory. So far nothing else uses it as I got no errors.
     
  3. silversurfer

    silversurfer Well-Known Member

    Joined:
    Dec 29, 2002
    Messages:
    274
    Likes Received:
    0
    Trophy Points:
    18
    can you post details of what you move and to where?
     
  4. cretu

    cretu Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    208
    Likes Received:
    0
    Trophy Points:
    16
    JCave,

    I am having exactly the same problem when restarting Exim (spamd fails every time):

    Code:
    # service exim restart
    Shutting down exim:                                        [  OK  ]
    Shutting down antirelayd:                                  [  OK  ]
    Shutting down spamd:                                       [FAILED]
    Starting exim:                                             [  OK  ]
    Starting exim-smtps:                                       [  OK  ]
    Starting antirelayd:                                       [  OK  ]
    Starting spamd: /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
                                                               [FAILED]
    

    Can you kindly post how did you resolve it?

    Regards,
    Cretu
     
  5. mr.wonderful

    mr.wonderful BANNED

    Joined:
    Feb 1, 2004
    Messages:
    345
    Likes Received:
    0
    Trophy Points:
    0
    Hello, whats the resolution to this issue?

    Starting exim: [ OK ]
    Starting exim-outgoing: [ OK ]
    Starting exim-smtps: [ OK ]
    Starting antirelayd: [ OK ]
    Starting spamd: /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
     
  6. cretu

    cretu Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    208
    Likes Received:
    0
    Trophy Points:
    16
    HI,

    I had to downgrade to Perl 6 - this resolved the issue.

    Cretu
     
  7. mr.wonderful

    mr.wonderful BANNED

    Joined:
    Feb 1, 2004
    Messages:
    345
    Likes Received:
    0
    Trophy Points:
    0
    What about those who are running perl 5.8? We should be able to have this issue resolved if running perl 5.8 which is what im running.
     
  8. cretu

    cretu Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    208
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    My advise would be opening a ticket with cPanel support...

    Cretu
     
  9. mr.wonderful

    mr.wonderful BANNED

    Joined:
    Feb 1, 2004
    Messages:
    345
    Likes Received:
    0
    Trophy Points:
    0
    I did already. It would be nice if somebody replied to our msgs around here. What happened to all the staff they hired?
     
  10. 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
    Did you guys try re-installing spamassassin? I had a similar problem and solved it by forcing a re-install of spamassassin.

    # perl -MCPAN -e shell
    # force install Mail::SpamAssassin
     
  11. mr.wonderful

    mr.wonderful BANNED

    Joined:
    Feb 1, 2004
    Messages:
    345
    Likes Received:
    0
    Trophy Points:
    0
    /scripts/spamassassin-cpanel
    /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

    And if i try to do it the other way.

    spawn /usr/local/cpanel/whostmgr/bin/perlmod -i
    Mail::SpamAssassin

    Using RPM Backend: RPM version 4.0.4
    glibc-devel: installed version 2.2.4-33 is up to date, no action needed.
    CPAN: Storable loaded ok
    Going to read /home/.cpan/Metadata
    Database was generated on Wed, 03 Mar 2004 19:56:36 GMT
    File::Spec is up to date.
    Digest::MD5 is up to date.
    Compress::Zlib is up to date.
    Archive::Tar is up to date.
    Data::Dumper is up to date.
    Net::Telnet is up to date.
    Net::Cmd is up to date.
    Term::ReadKey is up to date.
    Term::ReadLine::Perl is up to date.
    CPAN is up to date.
    Mail::SpamAssassin is up to date.
    perlmod--Install done

    Nothing
     
  12. 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
    The problem popped up on me again. Do it from shell, as I said, not from whm or /scripts, and it will work.

    # perl -MCPAN -e shell
    # force install Mail::SpamAssassin
     
Loading...

Share This Page