Discussion:
[clamav-users] /bin/mkdir: cannot create directory ‘/run/clamav’: File exists
Dino Edwards
2018-10-09 18:57:32 UTC
Permalink
Hello,

I$B!G(Bm getting the following error on clamav on Ubuntu 16.04 LTS when I look at the service status:

Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/clamav-daemon.service.d
$B(&(!(Bextend.conf
Active: active (running) since Tue 2018-10-09 12:12:22 EDT; 4s ago
Docs: man:clamd(8)
man:clamd.conf(5)
https://www.clamav.net/documents/
Process: 14202 ExecStartPre=/bin/chown clamav /run/clamav (code=exited, status=0/SUCCESS)
Process: 14199 ExecStartPre=/bin/mkdir /run/clamav (code=exited, status=1/FAILURE)
Main PID: 14207 (clamd)
Tasks: 1
Memory: 225.1M
CPU: 3.902s
CGroup: /system.slice/clamav-daemon.service
$B(&(!(B14207 /usr/sbin/clamd --foreground=true

Oct 09 12:12:22 hermes systemd[1]: Starting Clam AntiVirus userspace daemon...
Oct 09 12:12:22 hermes systemd[1]: Started Clam AntiVirus userspace daemon.
Oct 09 12:12:22 hermes mkdir[14199]: /bin/mkdir: cannot create directory $B!F(B/run/clamav$B!G(B: File exists

Can someone point me in the right direction?

Thanks

Loading...