Try
1)
In top of /etc/clamd.conf
Comment
# Comment or remove the line below.
#Example
2)
# systemctl stop clamav-daemon
# systemctl stop clamav-daemon.socket
# chown clamav:clamav /var/run/clamav
# chmod 774 /var/run/clamav
# systemctl start clamav-daemon.socket
# systemctl start clamav-daemon.service
# systemctl status clamav-daemon.service
[root@mymachine ~]# ls -l /var/run/clamav
total 4
srw-rw-rw- 1 clamav clamav 0 Dec 14 08:27 clamd.ctl
-rw-rw-r-- 1 clamav clamav 6 Dec 14 08:27 clamd.pid
Let me know
Eric
On 12/14/2016 6:12 AM, Noriyuki Hayashi wrote:
Hi,
I found the clamd.log as follows.
Wed Dec 14 22:09:26 2016 -> TCP: No tcp AF_INET/AF_INET6 SOCK_STREAM
socket received from systemd.
Does anyone knows this problem?
Help me.
Kind regards,
Noriyuki.Hayashi
On Wed, 14 Dec 2016 21:11:37 +0900
Noriyuki Hayashi <[email protected]> wrote:
Hi,
I found part of cause, There is no /var/clamav/clamd.socket and
/run/clamav/clamd.pid.
I modified as below.
vi /etc/tmpfiles.d/clamd.conf
# Clamd dir create
D /run/clamav 0775 root clamav -
After rebooting, I can see...
ll /run/clamav
total 8
srw-rw-rw- 1 clamav clamav 0 Dec 14 21:05 clamd.ctl
-rw-rw-r-- 1 clamav clamav 4 Dec 14 21:05 clamd.pid
-rw-rw---- 1 clamav clamav 4 Dec 14 21:05 freshclam.pid
But It can not create /var/clamav/clamd.socket yet.
Anyone tell me the solution with much appriciated.
Please...
OMG...
Noriyuki.Hayashi
On Wed, 14 Dec 2016 17:16:19 +0900
Noriyuki Hayashi <[email protected]> wrote:
Hi to ALL,
Thank you for this QT and Mr.Eric.
I have the trouble on CentOS7.2.1511
# clamdscan -V
ERROR: Could not lookup : Servname not supported for ai_socktype
ClamAV 0.99.2
Would someone please tell me if it knows this.
Kind regards,
Noriyuki.Hayashi
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Telecommunications Association License No. A-18-9191
Government Resell License No. 301039703002
WATS CO.,LTD.
Kawana Bldg, 5F Kamata
Ota-ku Tokyo, 144-0052 JAPAN
Phone 81-50-5830-5940
Ext&Mobile:201 VoiceMailDirect:201*1
FAX 81-50-5830-5941
http://wats.gr.jp
Mail: wats @ wats.gr.jp
Please remove the space between @ as double side
Key fingerprint = B53D FF2F BFEA FDA8 1439 38AA 8281 9A3E C9B6 2FC9
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Telecommunications Association License No. A-18-9191
Government Resell License No. 301039703002
WATS CO.,LTD.
Kawana Bldg, 5F Kamata
Ota-ku Tokyo, 144-0052 JAPAN
Phone 81-50-5830-5940
Ext&Mobile:201 VoiceMailDirect:201*1
FAX 81-50-5830-5941
http://wats.gr.jp
Mail: wats @ wats.gr.jp
Please remove the space between @ as double side
Key fingerprint = B53D FF2F BFEA FDA8 1439 38AA 8281 9A3E C9B6 2FC9
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]