Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    HAVP Antivirus -> scan via GUI failed

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 2 Posters 3.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MaxHeadroom
      last edited by

      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

      1 Reply Last reply
      Reply Quote 0
      • A
        ax112
        last edited by

        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)
        
        1 Reply Last reply
        Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
        Privacy Policy · Cookie Policy