[clamav-users] Can't start clamd - lchown to user failed

Keith Graber Keith.Graber at lsssd.org
Fri Apr 23 20:16:27 UTC 2021


Hello everyone,

I'm running a Ubuntu 20.04 server.  I've had ClamAV installed and running with on-access successfully.

I did an apt upgrade that included ClamAV v0.103.2 and since then I can't get clamd to start.

The error is: ERROR: lchown to user 'clamav' failed on log file '/var/log/clamav/clamav.log'. Error was 'Operation not permitted'

lchown is not installed on my system and I'm not finding it in the Ubuntu software repository.  Searching the web led me to a lchown man page that states this is for changing syslinks, but /var/log/clamav/clamav.log is not a syslink'd file.

Is lchown a new requirement for v0.103.2?

How can I get clamd working again?

Thanks!

Keith Graber


More information about the clamav-users mailing list