Discussion:
[users] Centos7 ClamAv
APach
2014-07-13 10:44:04 UTC
Permalink
Dear Team.

When Clamav installed work fine but after reboot cannot start.
Jul 12 10:44:33 DKM clamd[891]: LOCAL: Socket file
/var/run/clamav/clamd.sock could not be bound: No such file or directory
Jul 12 10:44:33 DKM clamd[891]: Can't unlink the socket file
/var/run/clamav/clamd.sock
Jul 12 10:44:33 DKM clamd[885]: ERROR: LOCAL: Socket file
/var/run/clamav/clamd.sock could not be bound: No such file or directory
Jul 12 10:44:33 DKM clamd[885]: ERROR: Can't unlink the socket file
/var/run/clamav/clamd.sock

If I create a directory manually, clamav work until next reboot.
[root at DKM ~]# mkdir /var/run/clamav
[root at DKM ~]# chown -R clamav:clamav /var/run/clamav
[root at DKM ~]# chmod -R 700 /var/run/clamav


[root at DKM ~]# systemctl status clamd.service
clamd.service - SYSV: Clam AntiVirus Daemon is a TCP/IP or socket protocol
server.
Loaded: loaded (/etc/rc.d/init.d/clamd)
Active: active (running) since Sat 2014-07-12 10:56:57 EEST; 9s ago
Process: 996 ExecStart=/etc/rc.d/init.d/clamd start (code=exited,
status=0/SUCCESS)
Main PID: 999 (clamd)
CGroup: /system.slice/clamd.service
??999 clamd



[root at DKM ~]# Linux DKM 3.10.0-123.4.2.el7.x86_64 #1 SMP Mon Jun 30 16:09:14
UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Clamav ver: clamav-0.98.4-1.el7.rf.x86_64.rpm
clamav-db-0.98.4-1.el7.rf.x86_64.rpm clamd-0.98.4-1.el7.rf.x86_64.rpm

Could any one had such problems and how to solve them?

Thanks.
~~~~~~~~~~~~~~~~~~~~~~~~~
Best Regards Andriy Pachkovskyy
Tel.mob. +380679421834
Tel.work +380974587008 (int. 220000)
Tel.work +380666538940 (int. 220000)
Tel.home. +380322540363
Sip tel. 220000 at lviv-ua.com
Email: apach at lviv-ua.com
Jabber: apach at lviv-ua.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.repoforge.org/pipermail/users/attachments/20140713/432a845c/attachment.html>
Loading...