A problem occurred testing the ClamAV server scanner

hello i'm trying to configure my server Post-Installation Wizard Virus scanning
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.006 sec (0 m 0 s)

what to do to solve this problem?

thank you

Status: 
Active

Comments

Howdy -- when configuring ClamAV, what option were you attempting to use -- the server scanner, or the standalone scanner?

And if you try the other option, does that allow it to continue?

Doing some Googling on that, it sounds like one possible cause of that issue is lack of resources. How much RAM do you have available? You can determine that with the command "free -m".

Run ClamAV server scanner? Yes (more RAM used, faster mail processing - approximately 100M)
  No (less RAM used, slower mail processing)

I choosed the first option clamav server scanner

And if you try the other option, does that allow it to continue?

yes

Doing some Googling on that, it sounds like one possible cause of that issue is lack of resources. How much RAM do you have available? You can determine that with the command "free -m".:

              total        used        free      shared  buff/cache   available
Mem:          15849         660       13543          41        1646       14874
Swap:         40023           0       40023

Okay, it definitely looks like you have plenty of RAM there :-)

I'm glad to hear using the other ClamAV option works!

I'm unfortunately not sure what might be causing that error you saw. I'll look into it deeper, but it may be necessary to use your current option for the time being.