did you override the config template for freshclam? (see https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmgconfig_template_engine)When I going to update ClamAV I got this error message.
what should i do to fix this error?
did you override the config template for freshclam? (see https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmgconfig_template_engine)
No, I didn't change any config file
what is the content of /etc/clamav/freshclam.conf?
DatabaseOwner clamav
LogVerbose false
LogSyslog true
LogFacility LOG_LOCAL6
LogFileMaxSize 0
Foreground false
Debug false
MaxAttempts 5
Checks 48
DatabaseDirectory /var/lib/clamav/
PidFile /var/run/clamav/freshclam.pid
DatabaseMirror database.clamav.net
ConnectTimeout 30
ScriptedUpdates false
CompressLocalDatabase no
NotifyClamd /etc/clamav/clamd.conf
Bytecode true
SafeBrowsing true
DNSDatabaseInfo current.cvd.clamav.net
ls -la /etc/clamav
journalctl -f
Apparmor (or rather the shipped feature-pinning file) in PMG6 does not work with the newer shipped kernel - check https://pmg.proxmox.com/wiki/index....ilure_Caused_By_Apparmor_Featureset_MissmatchAccording to my observation, the issue occurs because AppArmor doesn't allow permission to start both clamav-daemon and clamav-freshclam services. if you stop the AppArmor it will allow starting services. But for security purpose, we didn't stop the AppArmor and added both services to AppArmor.
mv /etc/clamav/freshclam.conf /etc/clamav/freshclam.conf.OLD
cp /etc/clamav/freshclam.conf.OLD /etc/clamav/freshclam.conf
We use essential cookies to make this site work, and optional cookies to enhance your experience.