HAVP Antivirus -> scan via GUI failed



  • Hi
    i have Fresh installation of Antivirus HAVP pkg and  pf 2.1 today snapshot

    2013.01.29 17:13:06 Starting scan file '/var/db'.
    –------------------------------------
    ERROR: Can't connect to clamd: No such file or directory

    ----------- SCAN SUMMARY -----------
    Infected files: 0
    Total errors: 1
    Time: 0.000 sec (0 m 0 s)

    Any hint what's wrong? (All selectable dirs failed)

    regards max



  • sorry for the necro post, but this issue still is around and I wanted to post my workaround.

    It seems pfsense is setting up clamav with a non-default location for its socks and pid file (/var/run).  The default location is /var/run/clamav.  But when the scanning program is called by the gui, it's not given the path of the config file and doesn't know about the location of the sock file.  This creates a symlink as a work around.

    I'm not sure if the pid file is needed, but I linked it anyway.

    mkdir /var/run/clamav
    ln -s /var/run/clamd.pid /var/run/clamav/clamd.pid
    ln -s /var/run/clamd.sock /var/run/clamav/clamd.sock
    

    And it now works.

    2013.05.28 02:08:31 Starting scan file '/var/db'.
    
    ----------- SCAN SUMMARY -----------
    Infected files: 0
    Time: 4.963 sec (0 m 4 s)
    

Locked