Hi Eric, I am appriciated very much by your advise. You are so gently guy that I always feel so.
By the way, Once I deleted clamav-0.99.2-3.cs7qt.x86_64.rpm by self compiled one. Then I re-installed clamav-0.99.2-3.qt.el7.x86_64.rpm by yours. Now It is working... less /var/log/clamd/clamd.log Fri Dec 16 15:31:23 2016 -> --- Stopped at Fri Dec 16 15:31:23 2016 Fri Dec 16 15:35:10 2016 -> +++ Started at Fri Dec 16 15:35:10 2016 Fri Dec 16 15:35:10 2016 -> Received 0 file descriptor(s) from systemd. Fri Dec 16 15:35:10 2016 -> clamd daemon 0.99.2 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64) Fri Dec 16 15:35:10 2016 -> Running as user clamav (UID 46, GID 46) Fri Dec 16 15:35:10 2016 -> Log file size limited to 2097152 bytes. Fri Dec 16 15:35:10 2016 -> Reading databases from /var/lib/clamav Fri Dec 16 15:35:10 2016 -> Not loading PUA signatures. Fri Dec 16 15:35:10 2016 -> Bytecode: Security mode set to "TrustSigned". Fri Dec 16 15:35:17 2016 -> Loaded 5263249 signatures. Fri Dec 16 15:35:18 2016 -> LOCAL: Unix socket file /var/clamav/clamd.socket Fri Dec 16 15:35:18 2016 -> LOCAL: Setting connection queue length to 200 Fri Dec 16 15:35:18 2016 -> Limits: Global size limit set to 104857600 bytes. Fri Dec 16 15:35:18 2016 -> Limits: File size limit set to 26214400 bytes. Fri Dec 16 15:35:18 2016 -> Limits: Recursion level limit set to 16. Fri Dec 16 15:35:18 2016 -> Limits: Files limit set to 10000. Fri Dec 16 15:35:18 2016 -> Limits: Core-dump limit is 0. Fri Dec 16 15:35:18 2016 -> Limits: MaxEmbeddedPE limit set to 10485760 bytes. Fri Dec 16 15:35:18 2016 -> Limits: MaxHTMLNormalize limit set to 10485760 bytes. Fri Dec 16 15:35:18 2016 -> Limits: MaxHTMLNoTags limit set to 2097152 bytes. Fri Dec 16 15:35:18 2016 -> Limits: MaxScriptNormalize limit set to 5242880 bytes. Fri Dec 16 15:35:18 2016 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Fri Dec 16 15:35:18 2016 -> Limits: MaxPartitions limit set to 50. Fri Dec 16 15:35:18 2016 -> Limits: MaxIconsPE limit set to 100. Fri Dec 16 15:35:18 2016 -> Limits: MaxRecHWP3 limit set to 16. Fri Dec 16 15:35:18 2016 -> Limits: PCREMatchLimit limit set to 10000. Fri Dec 16 15:35:18 2016 -> Limits: PCRERecMatchLimit limit set to 5000. Fri Dec 16 15:35:18 2016 -> Limits: PCREMaxFileSize limit set to 26214400. Fri Dec 16 15:35:18 2016 -> Archive support enabled. Fri Dec 16 15:35:18 2016 -> Algorithmic detection enabled. Fri Dec 16 15:35:18 2016 -> Portable Executable support enabled. Fri Dec 16 15:35:18 2016 -> ELF support enabled. Fri Dec 16 15:35:18 2016 -> Mail files support enabled. Fri Dec 16 15:35:18 2016 -> OLE2 support enabled. Fri Dec 16 15:35:18 2016 -> PDF support enabled. Fri Dec 16 15:35:18 2016 -> SWF support enabled. Fri Dec 16 15:35:18 2016 -> HTML support enabled. Fri Dec 16 15:35:18 2016 -> XMLDOCS support enabled. Fri Dec 16 15:35:18 2016 -> HWP3 support enabled. Fri Dec 16 15:35:18 2016 -> Self checking every 600 seconds. Fri Dec 16 15:35:18 2016 -> Listening daemon: PID: 22313 Fri Dec 16 15:35:18 2016 -> MaxQueue set to: 100 Thank you for your great support. I was stuck by this probelm on CentOS7.2.1511_x86_64. Kind regards, Noriyuki Hayashi On Wed, 14 Dec 2016 08:49:10 -0700 Eric Broch <[email protected]> wrote: > 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] /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ 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]
