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 failed completely

Discussion in 'E-mail Discussions' started by Clemr, Oct 26, 2012.

  1. Clemr

    Clemr Registered

    Joined:
    Oct 26, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi everyone,

    spamassassin stop working yesterday afternoon and I have got the following message send by cpanel ChkServd every 5min :

    Code:
    spamd failed @ Thu Oct 25 22:37:12 2012. A restart was attempted automagically.
    Service Check Method:  [check command] 
    Number of Restart Attempts: 94
    Cmd Service Check Raw Output: Spamd is not running
    Raw Output: 
    
    Syslog Messages: Oct 25 21:37:05 mail kernel: [20010077.522568] spamd[21395] general protection ip:7f424db6632c sp:495ad26440a68d1d error:0 in ld-2.5.so[7f424db52000+1c000]
    Oct 25 21:42:06 mail kernel: [20010379.619016] spamd[19015] general protection ip:7f4db057d32c sp:431232f0e12fc8a5 error:0 in ld-2.5.so[7f4db0569000+1c000]
    Oct 25 22:07:13 mail kernel: [20011890.047758] spamd[15332] general protection ip:7fecdde0032c sp:4c9075ad9475a283 error:0 in ld-2.5.so[7fecdddec000+1c000]
    Oct 25 22:12:11 mail kernel: [20012191.515411] spamd[25210] general protection ip:7fe76745332c sp:a56f963932d93999 error:0 in ld-2.5.so[7fe76743f000+1c000]
    As I have made some searches on forum, I know usually followings commands are used to solve this :

    Code:
    /scripts/upcp --force
    /usr/local/cpanel/scripts/fixspamassassinfailedupdate
    /scripts/restartsrv_spamd
    but the thing is, when I try : /scripts/restartsrv_spamd I'have got a :
    Code:
    /usr/local/cpanel/scripts/uptdate_sa_rules:running in background
    the most strange thing is when I try to go on WHM to "Setup Spamd Configuration", I have got :
    Code:
    Internal Error 500, No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/addon_spamdconf.cgi) with exit signal: 2
    have you any idea about where come from the issue and what can I try ? Its not a recent server and we cannot have a dowtime on the mailserver, too much peoples use it.
     
  2. ruiz

    ruiz Active Member

    Joined:
    Feb 13, 2008
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    I have exactly the same problem here. Did you fix it Clemr?
     
  3. arunsv84

    arunsv84 Well-Known Member

    Joined:
    Oct 20, 2008
    Messages:
    373
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    127.0.0.1
    cPanel Access Level:
    Root Administrator
    Paste the error logs from the following file.

    I have experienced the same issue, but it was due to a recent CentOS update breaking the perl on server. Paste the logs here and so we can confirm this.

    Cheers!!!
     
  4. ruiz

    ruiz Active Member

    Joined:
    Feb 13, 2008
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    There's nothing related to perl on the error_log, however when trying to restart cpanel, i got this:

     
  5. arunsv84

    arunsv84 Well-Known Member

    Joined:
    Oct 20, 2008
    Messages:
    373
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    127.0.0.1
    cPanel Access Level:
    Root Administrator
    Its the same issue that I experienced. You have to check if the /etc/yum.conf. If its empty that means your perl got updated from the repo of centos. This will break the cPanel installed perl. The way to fix this is to reinstall perl. Make sure to backup your perl before reinstalling. I would recommend you to submit a ticket to cPanel team and they will fix this for you.

    Cheers!!!
     
  6. ruiz

    ruiz Active Member

    Joined:
    Feb 13, 2008
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Thanks arunsv84 that was exactly the problem. Softlayer support fixed it for me.

    As for my /etc/yum.conf it was different from my other servers, so i copied over the corret data (i assume?)

    Code:
    [main]
    exclude=apache* bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mydns* mysql* nsd* perl* php* proftpd* pure-ftpd* ruby* spamassa$
    tolerant=1
    errorlevel=1
    cachedir=/var/cache/yum
    keepcache=0
    debuglevel=2
    logfile=/var/log/yum.log
    distroverpkg=redhat-release
    exactarch=1
    obsoletes=1
    gpgcheck=1
    plugins=1
    
    # Note: yum-RHN-plugin doesn't honor this.
    metadata_expire=1h
    
    # Default.
    # installonly_limit = 3
    
    # PUT YOUR REPOS HERE OR IN separate files named file.repo
    # in /etc/yum.repos.d
    assumeyes=1
    failovermethod=priority
    
     
Loading...

Share This Page