Created a fresh VM in CM using the CM's CentOS 7 image From CM, I installed Virtualmin Everything completed fine. Go into the Virtualmin web interface to complete the Post Installation wizard enabling the ClamAV server scanner.
A problem occurred testing the ClamAV server scanner :
ERROR: Could not lookup : Servname not supported for ai_socktype ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 0.004 sec (0 m 0 s)
Is this something that needs to fixed during installation or do you have an easy fix to keep moving?
Status:
Closed (fixed)
Comments
Submitted by andreychek on Tue, 09/06/2016 - 00:41 Comment #1
Howdy -- does the solution mentioned at the bottom of this post resolve the issue you're seeing:
https://www.virtualmin.com/node/35862
I was just reading through that. I did the following:
It then lets me proceed. I don't know if it's a permanent fix. What is it that causes this? Is it a bug with the clam stuff or Virtualmin?
Submitted by andreychek on Tue, 09/06/2016 - 09:10 Comment #3
Yeah that's a fine question! That doesn't occur for everyone, so we'll need to sort out why that's occurring for some people and not others.
Is your server a dedicated server, or a VPS?
VPS. - A Cloudmin created Virtual Machine. Looking back at it, this may be the fix according to the bug report posted on fedora. https://bugzilla.redhat.com/show_bug.cgi?id=1284253
Submitted by JamieCameron on Tue, 09/06/2016 - 19:50 Comment #5
FYI, the next Virtualmin release should fix this by updating clamd.conf to have clamd set the correct permissions on the socket file.