Results 1 to 6 of 6

Thread: spamd always failing

  1. #1
    Member
    Join Date
    Nov 2006
    Posts
    347

    Default spamd always failing

    Spamd is always failing and I tried various methods mentioned in the forums including uninstall / reinstall via whm.



    Also:

    /scripts/perlinstaller Digest::SHA1
    /scripts/perlinstaller --force Mail::SpamAssassin
    /etc/rc.d/init.d/exim restart
    /scripts/restartsrv spamd


    Now, I got this error during the above process:

    Code:
    root@server [~]# /etc/rc.d/init.d/exim restart
    Shutting down clamd:                                       [  OK  ]
    Shutting down exim:                                        [  OK  ]
    Shutting down antirelayd:                                  [  OK  ]
    Shutting down spamd:                                       [  OK  ]
    Starting clamd:                                            [  OK  ]
    Starting exim:                                             [  OK  ]
    Starting exim-smtps:                                       [  OK  ]
    Starting antirelayd:                                       [  OK  ]
    Starting spamd: [25517] error: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
    spamd: could not create INET socket on 127.0.0.1:783: Address already in use
                                                               [FAILED]
    I've done forced cpanel upgrade as well. Any suggestions?

  2. #2
    Member
    Join Date
    Oct 2002
    Posts
    131

    Default

    I have the same problem.
    Tried /scripts/restartsrv_clamd

    got:

    clamd: no process killed
    clamd: no process killed
    ERROR: Parse error at line 76: Option FixStaleSocket requires boolean argument.
    ERROR: Can't open/parse the config file /etc/clamd.conf

  3. #3
    Member
    Join Date
    Aug 2005
    Location
    /dev/null
    Posts
    38

    Default

    Try to update your clamav to latest version from cpanel update version 0.90 if I'm not mistaken and use socket instead of listening to tcp port.. and also increase your maxchild per connection if your server has big activity on email connection.. you can search on this forum how to do it..

    keyword: spamd socket

  4. #4
    Member
    Join Date
    Jun 2002
    Posts
    51

    Default The problem is...

    I have the same problem.
    Tried /scripts/restartsrv_clamd

    got:

    clamd: no process killed
    clamd: no process killed
    ERROR: Parse error at line 76: Option FixStaleSocket requires boolean argument.
    ERROR: Can't open/parse the config file /etc/clamd.conf
    I don't know if this is a different problem than the one listed at the start of the ticket, but its because cPanel updated the clamav connector with the new version of clamav 0.90. However, they didn't have their addon update the config file to work with the new version. As a result, clamd won't start for anyone who has been updated to clamav 0.90.

    So you need to either fix /etc/clamd.conf or wait for cPanel to hopefully come out with a fix for the problem. Until its resolved, exim won't accept emails for delivery.

    Hal
    Last edited by hbouma; 02-22-2007 at 08:07 AM. Reason: fixed a typo

  5. #5
    Member
    Join Date
    Oct 2002
    Posts
    131

    Default

    "So you need to either fix /etc/clamd.conf or wait for cPanel to hopefully come out with a fix for the problem. Until its resolved, exim won't accept emails for delivery."

    What do I need to do to clamd.conf to make it work?

    Found this too:
    http://forums.cpanel.net/showthread....ighlight=clamd
    Tried that fix, but still failing.

    FIXED; forced update and /usr/local/cpanel/whostmgr/bin/whostmgr2 --updateaddons fixed it.
    thanks!
    Last edited by fuzzie; 02-22-2007 at 09:44 AM.

  6. #6
    Member
    Join Date
    Mar 2004
    Posts
    67

    Default

    thanks allot man it worked for me and I hope this will stay so!

    http://forums.cpanel.net/showthread.php?t=63843&page=3

    /scripts/perlinstaller Digest::SHA1
    /scripts/perlinstaller --force Mail::SpamAssassin
    /etc/rc.d/init.d/exim restart
    /scripts/restartsrv spamd


    root@system [~]# /etc/rc.d/init.d/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: [ OK ]
    root@system [~]# /scripts/restartsrv spamd
    Waiting for spamd to restart..............finished.

    root 13717 7.2 1.1 29804 24192 ? Ss 05:20 0:00 /usr/bin/spamd -d --allowed-ips=127.0.0.1 --pidfile=/var/run/spamd.pid --max-children=5
    root 13718 0.0 1.0 29804 22676 ? S 05:20 0:00 spamd child
    root 13719 0.0 1.0 29804 22556 ? S 05:20 0:00 spamd child

    spamd started ok
    root@system [~]#


    root@system [~]# /etc/rc.d/init.d/exim restart
    Shutting down exim: [ OK ]
    Shutting down antirelayd: [ OK ]
    Shutting down spamd: [ OK ]
    Starting exim: [ OK ]
    Starting exim-smtps: [ OK ]
    Starting antirelayd: [ OK ]
    Starting spamd: [ OK ]
    root@system [~]# /etc/rc.d/init.d/exim restart

    Shutting down exim: [ OK ]
    Shutting down antirelayd: [ OK ]
    Shutting down spamd: [ OK ]
    Starting exim: [ OK ]
    Starting exim-smtps: [ OK ]
    Starting antirelayd: [ OK ]
    Starting spamd: [ OK ]
    root@system [~]#
    Online text based rpg game webmaster http://www.lordsoflords.com

Similar Threads

  1. My spamd keeps failing
    By Cwebz in forum E-mail Discussions
    Replies: 0
    Last Post: 11-28-2007, 05:06 AM
  2. Spamd keeps failing
    By Brook in forum cPanel & WHM Discussions
    Replies: 10
    Last Post: 06-06-2007, 11:01 AM
  3. Spamd keeps failing
    By bradyb in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 05-07-2007, 06:52 AM
  4. spamd keeps failing
    By GreatBritGirl in forum cPanel & WHM Discussions
    Replies: 12
    Last Post: 10-25-2006, 10:44 AM
  5. spamd Failing
    By AexiSolutions in forum cPanel & WHM Discussions
    Replies: 8
    Last Post: 01-13-2005, 07:21 PM