[clamav-users] Warning: No matches found for: clamav on CentOS Linux release 7.9.2009 (Core)
Kaushal Shriyan
kaushalshriyan at gmail.com
Mon Jul 19 18:38:20 UTC 2021
Hi,
I am unable to start clamd service on CentOS Linux release 7.9.2009 (Core).
Details are as follows.
#systemctl start clamd at server.service
Job for clamd at server.service failed because the control process exited with
error code. See "systemctl status clamd at server.service" and "journalctl
-xe" for details.
# ls -l /etc/clamd.d/
total 68
-rw-r--r-- 1 root root 12110 Feb 27 2020 clamsmtp.conf
-rw-r--r-- 1 root root 26647 Jul 19 23:58 scan.conf
-rw-r--r-- 1 root root 26648 Jul 19 23:57 scan.conf.2021-07-19
# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
# rpm -qa | grep clam
clamav-0.103.3-1.el7.x86_64
clamsmtp-1.10-14.el7.x86_64
clamav-devel-0.103.3-1.el7.x86_64
clamav-update-0.103.3-1.el7.x86_64
clamd-0.103.3-1.el7.x86_64
clamav-lib-0.103.3-1.el7.x86_64
clamav-data-0.103.3-1.el7.noarch
clamav-filesystem-0.103.3-1.el7.noarch
#
Jul 20 00:01:57 testdeveloperportal systemd: Starting clamd scanner
> (server) daemon...
> Jul 20 00:01:57 testdeveloperportal clamd: ERROR: Can't open/parse the
> config file /etc/clamd.d/server.conf
> Jul 20 00:01:57 testdeveloperportal systemd: clamd at server.service:
> control process exited, code=exited status=1
> Jul 20 00:01:57 testdeveloperportal systemd: Failed to start clamd scanner
> (server) daemon.
> Jul 20 00:01:57 testdeveloperportal systemd: Unit clamd at server.service
> entered failed state.
> Jul 20 00:01:57 testdeveloperportal systemd: clamd at server.service failed.
> Jul 20 00:01:57 testdeveloperportal systemd: clamd at server.service holdoff
> time over, scheduling restart.
> Jul 20 00:01:57 testdeveloperportal systemd: Stopped clamd scanner
> (server) daemon.
> Jul 20 00:01:57 testdeveloperportal systemd: Starting clamd scanner
> (server) daemon...
> Jul 20 00:01:57 testdeveloperportal clamd: ERROR: Can't open/parse the
> config file /etc/clamd.d/server.conf
> Jul 20 00:01:57 testdeveloperportal systemd: clamd at server.service:
> control process exited, code=exited status=1
> Jul 20 00:01:57 testdeveloperportal systemd: Failed to start clamd scanner
> (server) daemon.
> Jul 20 00:01:57 testdeveloperportal systemd: Unit clamd at server.service
> entered failed state.
> Jul 20 00:01:57 testdeveloperportal systemd: clamd at server.service failed.
> Jul 20 00:01:57 testdeveloperportal systemd: clamd at server.service holdoff
> time over, scheduling restart.
> Jul 20 00:01:57 testdeveloperportal systemd: Stopped clamd scanner
> (server) daemon.
> Jul 20 00:01:57 testdeveloperportal systemd: Starting clamd scanner
> (server) daemon...
> Jul 20 00:01:57 testdeveloperportal clamd: ERROR: Can't open/parse the
> config file /etc/clamd.d/server.conf
> Jul 20 00:01:57 testdeveloperportal systemd: clamd at server.service:
> control process exited, code=exited status=1
> Jul 20 00:01:57 testdeveloperportal systemd: Failed to start clamd scanner
> (server) daemon.
> Jul 20 00:01:57 testdeveloperportal systemd: Unit clamd at server.service
> entered failed state.
> Jul 20 00:01:57 testdeveloperportal systemd: clamd at server.service failed.
> Jul 20 00:01:57 testdeveloperportal systemd: clamd at server.service holdoff
> time over, scheduling restart.
> Jul 20 00:01:57 testdeveloperportal systemd: Stopped clamd scanner
> (server) daemon.
> Jul 20 00:01:57 testdeveloperportal systemd: Starting clamd scanner
> (server) daemon...
> Jul 20 00:01:57 testdeveloperportal clamd: ERROR: Can't open/parse the
> config file /etc/clamd.d/server.conf
> Jul 20 00:01:57 testdeveloperportal systemd: clamd at server.service:
> control process exited, code=exited status=1
> Jul 20 00:01:57 testdeveloperportal systemd: Failed to start clamd scanner
> (server) daemon.
> Jul 20 00:01:57 testdeveloperportal systemd: Unit clamd at server.service
> entered failed state.
> Jul 20 00:01:57 testdeveloperportal systemd: clamd at server.service failed.
> Jul 20 00:01:58 testdeveloperportal systemd: clamd at server.service holdoff
> time over, scheduling restart.
> Jul 20 00:01:58 testdeveloperportal systemd: Stopped clamd scanner
> (server) daemon.
> Jul 20 00:01:58 testdeveloperportal systemd: Starting clamd scanner
> (server) daemon...
> Jul 20 00:01:58 testdeveloperportal clamd: ERROR: Can't open/parse the
> config file /etc/clamd.d/server.conf
> Jul 20 00:01:58 testdeveloperportal systemd: clamd at server.service:
> control process exited, code=exited status=1
> Jul 20 00:01:58 testdeveloperportal systemd: Failed to start clamd scanner
> (server) daemon.
> Jul 20 00:01:58 testdeveloperportal systemd: Unit clamd at server.service
> entered failed state.
> Jul 20 00:01:58 testdeveloperportal systemd: clamd at server.service failed.
> Jul 20 00:01:58 testdeveloperportal systemd: clamd at server.service holdoff
> time over, scheduling restart.
> Jul 20 00:01:58 testdeveloperportal systemd: Stopped clamd scanner
> (server) daemon.
> Jul 20 00:01:58 testdeveloperportal systemd: start request repeated too
> quickly for clamd at server.service
> Jul 20 00:01:58 testdeveloperportal systemd: Failed to start clamd scanner
> (server) daemon.
> Jul 20 00:01:58 testdeveloperportal systemd: Unit clamd at server.service
> entered failed state.
> Jul 20 00:01:58 testdeveloperportal systemd: clamd at server.service failed.
Please guide. Thanks in advance.
Best Regards,
On Mon, Jul 19, 2021 at 9:28 PM Kaushal Shriyan <kaushalshriyan at gmail.com>
wrote:
> Thanks everyone for the reply and much appreciated. It worked like a
> charm.
>
> Best Regards,
>
> Kaushal
>
> On Mon, Jul 19, 2021 at 2:56 PM Simon Wilson via clamav-users <
> clamav-users at lists.clamav.net> wrote:
>
>> ----- Message from Kaushal Shriyan via clamav-users
>> <clamav-users at lists.clamav.net> ---------
>> Date: Mon, 19 Jul 2021 14:34:30 +0530
>> From: Kaushal Shriyan via clamav-users <
>> clamav-users at lists.clamav.net>
>> Reply-To: ClamAV users ML <clamav-users at lists.clamav.net>
>> Subject: [clamav-users] Warning: No matches found for: clamav on
>> CentOS Linux release 7.9.2009 (Core)
>> To: ClamAV users ML <clamav-users at lists.clamav.net>
>> Cc: Kaushal Shriyan <kaushalshriyan at gmail.com>
>>
>>
>> > Hi,
>> >
>> > I am running CentOS Linux release 7.9.2009 (Core) and installed epel
>> > repository.
>> >
>> > # rpm -qa | grep epel
>> > epel-release-7-13.noarch
>> > # cat /etc/redhat-release
>> > CentOS Linux release 7.9.2009 (Core)
>> > #yum search clamav
>> > Loaded plugins: fastestmirror
>> > Determining fastest mirrors
>> > * base: mirrors.piconets.webwerks.in
>> > * extras: mirrors.piconets.webwerks.in
>> > * updates: mirrors.piconets.webwerks.in
>> > base
>> >
>> > | 3.6 kB 00:00:00
>> > docker-ce-stable
>> >
>> > | 3.5 kB 00:00:00
>> > elastic-7.x
>> >
>> > | 1.3 kB 00:00:00
>> > extras
>> >
>> > | 2.9 kB 00:00:00
>> > ius
>> >
>> > | 1.3 kB 00:00:00
>> > mariadb
>> >
>> > | 2.9 kB 00:00:00
>> > nginx
>> >
>> > | 2.9 kB 00:00:00
>> > updates
>> >
>> > | 2.9 kB 00:00:00
>> > (1/10): base/7/x86_64/group_gz
>> >
>> > | 153 kB 00:00:00
>> > (2/10): extras/7/x86_64/primary_db
>> >
>> > | 242 kB 00:00:00
>> > (3/10): elastic-7.x/primary
>> >
>> > | 288 kB 00:00:00
>> > (4/10): docker-ce-stable/7/x86_64/primary_db
>> >
>> > | 62 kB 00:00:00
>> > (5/10): docker-ce-stable/7/x86_64/updateinfo
>> >
>> > | 55 B 00:00:00
>> > (6/10): ius/x86_64/primary
>> >
>> > | 100 kB 00:00:01
>> > (7/10): updates/7/x86_64/primary_db
>> >
>> > | 8.8 MB 00:00:04
>> > (8/10): base/7/x86_64/primary_db
>> >
>> > | 6.1 MB 00:00:05
>> > (9/10): nginx/7/x86_64/primary_db
>> >
>> > | 67 kB 00:00:04
>> > (10/10): mariadb/primary_db
>> >
>> > | 36 kB 00:00:05
>> > elastic-7.x
>> >
>> > 880/880
>> > ius
>> >
>> > 467/467
>> > Warning: No matches found for: clamav
>> > No matches found
>> >
>> > Am I missing anything? Please suggest further. Thanks in Advance.
>> >
>> > Best Regards,
>> >
>> > Kaushal
>>
>>
>> ----- End message from Kaushal Shriyan via clamav-users
>> <clamav-users at lists.clamav.net> -----
>>
>> Doesn't look like EPEL is being checked - look at the list of repos.
>> Is it enabled?
>>
>> See below on a CentOS 7 server:
>>
>> [root at emp75 ~]# yum search clamav
>> Loaded plugins: fastestmirror
>> Loading mirror speeds from cached hostfile
>> * base: centos.mirror.ausnetservers.net.au
>> * epel: epel.mirror.digitalpacific.com.au
>> * extras: centos.mirror.ausnetservers.net.au
>> * updates: centos.mirror.ausnetservers.net.au
>> ============================= N/S matched: clamav
>> ==============================
>> clamav-filesystem.noarch : Filesystem structure for clamav
>> clamav-unofficial-sigs.noarch : Scripts to download unofficial clamav
>> signatures
>> clamav.x86_64 : End-user tools for the Clam Antivirus scanner
>> clamav-data.noarch : Virus signature data for the Clam Antivirus scanner
>> clamav-devel.x86_64 : Header files and libraries for the Clam
>> Antivirus scanner
>> clamav-lib.x86_64 : Dynamic libraries for the Clam Antivirus scanner
>> clamav-milter.x86_64 : Milter module for the Clam Antivirus scanner
>> clamav-update.x86_64 : Auto-updater for the Clam Antivirus scanner
>> data-files
>>
>> Name and summary matches only, use "search all" for everything.
>>
>>
>> --
>> Simon Wilson
>> M: 0400 12 11 16
>>
>>
>> _______________________________________________
>>
>> clamav-users mailing list
>> clamav-users at lists.clamav.net
>> https://lists.clamav.net/mailman/listinfo/clamav-users
>>
>>
>> Help us build a comprehensive ClamAV guide:
>> https://github.com/vrtadmin/clamav-faq
>>
>> http://www.clamav.net/contact.html#ml
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20210720/576f9f62/attachment.htm>
More information about the clamav-users
mailing list