ASSP + Clamav + Fedora 8

Discussion in 'HOWTO-Related Questions' started by c4rdinal, Apr 24, 2008.

  1. c4rdinal

    c4rdinal New Member

    Hi,

    I followed the howto on ASSP integrated with Clamav. However, i noticed that there is no clamav-daemon package for Fedora 8.

    What should be the package equivalent then? Also in the Attachment Viruses --> Port or file socket for ClamAV ---> what should I use as port for clamav?

    TIA
     
  2. falko

    falko Super Moderator

    I think the package is named clamav on Fedora.
     
  3. c4rdinal

    c4rdinal New Member

    Hi falko,

    Thanks for the reply.

    I got this error. I hope you can help me sort it out.

    #tail -f /var/log/maillog

    Apr 28 13:04:07 mx-1 amavis[2337]: (02337-01) (!)ClamAV-clamd: Can't connect to UNIX socket /var/spool/amavisd/clamd.sock: No such file or directory, retrying (2)
    Apr 28 13:04:13 mx-1 amavis[2337]: (02337-01) (!)run_av (ClamAV-clamd, built-in i/f): Too many retries to talk to /var/spool/amavisd/clamd.sock (Can't connect to UNIX socket /var/spool/amavisd/clamd.sock: No such file or directory) at (eval 55) line 310.
    Apr 28 13:04:13 mx-1 amavis[2337]: (02337-01) (!!)ClamAV-clamd av-scanner FAILED: CODE(0x96365ac) Too many retries to talk to /var/spool/amavisd/clamd.sock (Can't connect to UNIX socket /var/spool/amavisd/clamd.sock: No such file or directory) at (eval 55) line 310. at (eval 55) line 511.
    Apr 28 13:04:13 mx-1 amavis[2337]: (02337-01) (!!)WARN: all primary virus scanners failed, considering backups
     
  4. falko

    falko Super Moderator

    What's the output of
    Code:
    ls -la /var/spool/amavisd
    ? Are amavisd and clamd running?
     
  5. bouthinon

    bouthinon New Member

    have the same problem
    Have you an answer

    Since
     
  6. bouthinon

    bouthinon New Member

    Here the answer for ls -la /var/spool/amavisd

    total 128
    drwx------ 7 amavis amavis 4096 mai 10 07:12 .
    drwxr-xr-x 17 root root 4096 déc 29 10:15 ..
    srwxr-x--- 1 amavis amavis 0 mai 10 07:12 amavisd.sock
    srwxrwxrwx 1 amavis amavis 0 mai 10 07:12 clamd.sock
    drwx------ 2 amavis amavis 4096 mai 10 07:12 db
    drwx------ 2 amavis amavis 4096 aoû 12 2007 quarantine
    drwxr-x--- 2 amavis amavis 4096 mai 9 06:15 .razor
    drwx------ 2 amavis amavis 4096 mai 10 19:19 .spamassassin
    drwx------ 1545 amavis amavis 98304 mai 10 19:20 tmp

    For FEDORA the clamd.amavisd and amavisd running

    But we have this answer
    clamd.amavisd (pid 9780) en cours d'exécution...
    and after 10 minutes
    clamd.amavisd est mort mais subsys est verrouillé
     
  7. falko

    falko Super Moderator

    Try
    Code:
    chmod 755 /var/spool/amavisd
     
  8. bouthinon

    bouthinon New Member

    Seemingly that works

    Thanks
     

Share This Page