HAVP Antivirus -> scan via GUI failed
-
Hi
i have Fresh installation of Antivirus HAVP pkg and pf 2.1 today snapshot2013.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.sockAnd 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)
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 LoginPrivacy Policy · Cookie Policy