Install on clean debian 11 with clamav errors

OS type and version Debian 11 x64
Webmin version latest
Virtualmin version latest
Related packages clamav?

Post install I get this:

Warning! A problem occurred testing the ClamAV server scanner :

ERROR: Could not connect to clamd on LocalSocket /var/run/clamav/clamd.ctl: No such file or directory

----------- SCAN SUMMARY -----------
Infected files: 0
Time: 0.000 sec (0 m 0 s)
Start Date: 2023:01:23 21:19:03
End Date: 2023:01:23 21:19:03

During install, I saw these in the log:

Setting up clamav-base (0.103.7+dfsg-0+deb11u1) …
id: ‘clamav’: no such user


[2023/01/23 17:33:14] [INFO] - Configuring Bind
[2023/01/23 17:33:14] [INFO] - Succeeded
[2023/01/23 17:33:14] [INFO] - Configuring ClamAV
[2023/01/23 17:33:15] [INFO] - Code: 512 Result: ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
ERROR: initialize: libfreshclam init failed.
ERROR: Initialization error!
ERROR: /var/log/clamav/freshclam.log is locked by another process
[2023/01/23 17:33:15] [INFO] - Succeeded
[2023/01/23 17:33:15] [INFO] - Configuring Dovecot
[2023/01/23 17:33:16] [INFO] - Succeeded


I just did the install you did. I think freshclam is just the signature updates. After the error about locked process you did get a succeeded. Have you looked at the logs in /var/log/clamav yet?