HAVP - Problem virus not alert but detect

  • Hi guys , what my problem if

    Havp detect test virus -http://www.eicar.org/download/eicar_com.zip

    but not show how many virus detect ..

    define('PATH_HAVPLOG', '/var/log/havp/access.log');
    define('PATH_HAVPLOG', '/var/log/access.log');

    function dwg_av_statistic()
    $s = "Unknown.";
    if (file_exists(PATH_HAVPLOG)) {
    $log = file_get_contents(PATH_HAVPLOG);

    $count = substr_count(strtolower($log), "virus clamd:");
    $s = "Found $count viruses (total).";

    No log … but it detect virus .

  • https://forum.pfsense.org/index.php?topic=18714.msg96295#msg96295

    same probem with me  , but still no solution . btw after restart it will be false again . and my will be like this
    "can't connect to clamd: No such file or directory"

    i fix using this

    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

    every reboot

Log in to reply