Hi, I am unable to start clamd service on CentOS Linux release 7.9.2009 (Core). Details are as follows. #systemctl start clamd@server.service Job for clamd@server.service failed because the control process exited with error code. See "systemctl status clamd@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@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@server.service > entered failed state. > Jul 20 00:01:57 testdeveloperportal systemd: clamd@server.service failed. > Jul 20 00:01:57 testdeveloperportal systemd: clamd@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@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@server.service > entered failed state. > Jul 20 00:01:57 testdeveloperportal systemd: clamd@server.service failed. > Jul 20 00:01:57 testdeveloperportal systemd: clamd@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@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@server.service > entered failed state. > Jul 20 00:01:57 testdeveloperportal systemd: clamd@server.service failed. > Jul 20 00:01:57 testdeveloperportal systemd: clamd@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@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@server.service > entered failed state. > Jul 20 00:01:57 testdeveloperportal systemd: clamd@server.service failed. > Jul 20 00:01:58 testdeveloperportal systemd: clamd@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@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@server.service > entered failed state. > Jul 20 00:01:58 testdeveloperportal systemd: clamd@server.service failed. > Jul 20 00:01:58 testdeveloperportal systemd: clamd@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@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@server.service > entered failed state. > Jul 20 00:01:58 testdeveloperportal systemd: clamd@server.service failed. Please guide. Thanks in advance. Best Regards, On Mon, Jul 19, 2021 at 9:28 PM Kaushal Shriyan <kaushalshriyan@xxxxxxxxx> wrote: > Thanks everyone for the reply and much appreciated. It worked like a > charm. > > Best Regards, > > Kaushal > > On Mon, Jul 19, 2021 at 5:18 PM Simon Matter <simon.matter@xxxxxxxxx> > wrote: > >> > The latest version in in epel-testing, yum --enablerepo=epel-testing >> > update clam* will do the trick >> >> I don't see any clamav package in testing on my local mirror, only in the >> main tree. >> >> Can it be that there are outdated/broken epel mirrors out there? >> >> Simon >> >> > >> > On 7/19/21 5:04 AM, Kaushal Shriyan wrote: >> >> 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 >> >> _______________________________________________ >> >> CentOS mailing list >> >> CentOS@xxxxxxxxxx >> >> https://lists.centos.org/mailman/listinfo/centos >> >> >> > >> > -- >> > Unencumbered by the thought process. >> > -- Click and Clack the Tappet brothers >> > >> > _______________________________________________ >> > CentOS mailing list >> > CentOS@xxxxxxxxxx >> > https://lists.centos.org/mailman/listinfo/centos >> > >> >> >> _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx https://lists.centos.org/mailman/listinfo/centos