problem with enable ClamAV after fresh install

I built Virtualmin on Ubuntu 18.04 at least 5 times in last 1 month with no issues whatsoever (as far as build/fresh installation of virtualmin is concerned). However, I just built a new server for Test purposes (before rolling out the new code changes on Prod Server) and I have seen this issue for the first time.

I have tried everything suggested in the forum but the service does not start at all and so the issue persists with both ClamAv as well as spamassassin and Webmin is not ready to be used and so I cannot oroiceed further,

However, the following 5 steps in exact same order did help me fix the issue:

  1. /etc/init.d/clamav-daemon start

  2. /etc/init.d/spamassassin start

  3. Restarted Webmin from within Webmin, waited for 2 mins

  4. Rebooted the Server

  5. Went back to Virtualmin -> System Settings -> Re-Check Configuration

Let the process run thru and it picked up everything needed and now the Webmin is ready to be used.

Hope this helps someone.

Thx: Rav

2 Likes