clamd.amavisd FAILED - perfect-server-centos-6.4-x86

Discussion in 'Installation/Configuration' started by webb, Oct 27, 2013.

  1. webb

    webb New Member

    Hello All,

    First time poster... I am working on the "perfect-server-centos-6.4-x86_64-apache2-dovecot-ispconfig". I am up to the portion of installing and starting Clamav / SpamAssassan Components.

    When i try to run /etc/init.d/clamd.amavisd start i get the following:

    Code:
    # /etc/init.d/clamd.amavisd start
    Starting clamd.amavisd:                                    [FAILED]
    :confused:

    I have looked in the forum for help on this topic but none of the solutions have worked and the googles is not bringing any fine results.

    I also notice that in /var/spool/amavisd/ i do not have a clamd.sock file. Like other users in the past i have touch clamd.sock and that did not help



    Please any help would be much appreciated. I am just scratching my head here, and it has to be something stupid that i am missing.






    Additional Note:

    There is only one step i have not performed in the "perfect-server-centos-6.4-x86" that is installing getmail

    Common Things Asked in Other Threads:

    My /var/run/ contains the following:

    Code:
    drwxr-xr-x 16 root   root    4096 Oct 27 00:56 .
    drwxr-xr-x 19 root   root    4096 Oct 21 21:52 ..
    -rw-r--r--  1 root   root       4 Oct 27 00:31 acpid.pid
    srw-rw-rw-  1 root   root       0 Oct 27 00:31 acpid.socket
    drwxr-xr-x  2 amavis amavis  4096 Oct 27 01:17 amavisd
    -rw-r--r--  1 root   root       4 Oct 27 00:31 auditd.pid
    drwxr-xr-x  2 clam   clam    4096 Oct  6 16:48 clamav
    drwxr-xr-x  2 amavis amavis  4096 Feb 22  2013 clamd.amavisd
    drwxr-xr-x  2 root   root    4096 Feb 22  2013 console
    -rw-r--r--  1 root   root       5 Oct 27 00:31 crond.pid
    ----------  1 root   root       0 Oct 27 00:31 cron.reboot
    drwxr-xr-x  4 root   dovecot 4096 Oct 27 00:31 dovecot
    drwxr-xr-x  2 root   root    4096 Feb 22  2013 faillock
    drwx--x---  2 root   apache  4096 Oct 27 00:31 httpd
    drwxrwxr-x  2 root   root    4096 Aug  5 13:21 netreport
    drwxr-xr-x  2 root   root    4096 Feb 23  2013 plymouth
    drwxr-xr-x  2 root   root    4096 Oct 27 00:31 portreserve
    -rw-r--r--  1 root   root       4 Oct 27 00:31 portreserve.pid
    drwxr-xr-x  2 root   root    4096 Nov 27  2012 saslauthd
    drwxr-xr-x  2 root   root    4096 Feb 22  2013 sepermit
    drwxr-xr-x  2 root   root    4096 May 10 09:06 setrans
    drwxr-xr-x  2 root   root    4096 Aug 23  2010 spamassassin
    -rw-r--r--  1 root   root       4 Oct 27 00:31 sshd.pid
    -rw-------  1 root   root       4 Oct 27 00:31 syslogd.pid
    -rw-rw-r--  1 root   utmp    3456 Oct 27 00:31 utmp
    
    locate claimd.conf list:

    Code:
    /etc/clamd.conf
    /etc/clamd.conf.rpmsave
    /usr/share/doc/clamd-0.98/clamd.conf
    /usr/share/man/man5/clamd.conf.5.gz
    
    I also change modified /etc/clam.d/amavisd.conf:

    changed PIDFILE to following:

    Code:
    PidFile /var/run/amavisd/clamd.amavisd/clamd.pid


    /var/spool/ list the following #all subdirectories are also chowned accordingly.

    Code:
    drwx--x---  7 amavis amavis 4096 Oct 27 01:17 amavisd
     
  2. webb

    webb New Member

    any assistance would be appreciated
     
  3. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    First question: how much RAM has the server?
    Something in /var/log/syslog when trying to start clamd?
     

Share This Page