Hi, I am unable to start clamd service on CentOS Linux release 7.9.2009 (Core). Details are as follows.
#systemctl start [email protected] Job for [email protected] failed because the control process exited with error code. See "systemctl status [email protected]" 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: [email protected]: > 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 [email protected] > entered failed state. > Jul 20 00:01:57 testdeveloperportal systemd: [email protected] failed. > Jul 20 00:01:57 testdeveloperportal systemd: [email protected] 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: [email protected]: > 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 [email protected] > entered failed state. > Jul 20 00:01:57 testdeveloperportal systemd: [email protected] failed. > Jul 20 00:01:57 testdeveloperportal systemd: [email protected] 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: [email protected]: > 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 [email protected] > entered failed state. > Jul 20 00:01:57 testdeveloperportal systemd: [email protected] failed. > Jul 20 00:01:57 testdeveloperportal systemd: [email protected] 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: [email protected]: > 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 [email protected] > entered failed state. > Jul 20 00:01:57 testdeveloperportal systemd: [email protected] failed. > Jul 20 00:01:58 testdeveloperportal systemd: [email protected] 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: [email protected]: > 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 [email protected] > entered failed state. > Jul 20 00:01:58 testdeveloperportal systemd: [email protected] failed. > Jul 20 00:01:58 testdeveloperportal systemd: [email protected] 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 [email protected] > Jul 20 00:01:58 testdeveloperportal systemd: Failed to start clamd scanner > (server) daemon. > Jul 20 00:01:58 testdeveloperportal systemd: Unit [email protected] > entered failed state. > Jul 20 00:01:58 testdeveloperportal systemd: [email protected] failed. Please guide. Thanks in advance. Best Regards, On Mon, Jul 19, 2021 at 9:28 PM Kaushal Shriyan <[email protected]> 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 < > [email protected]> wrote: > >> ----- Message from Kaushal Shriyan via clamav-users >> <[email protected]> --------- >> Date: Mon, 19 Jul 2021 14:34:30 +0530 >> From: Kaushal Shriyan via clamav-users < >> [email protected]> >> Reply-To: ClamAV users ML <[email protected]> >> Subject: [clamav-users] Warning: No matches found for: clamav on >> CentOS Linux release 7.9.2009 (Core) >> To: ClamAV users ML <[email protected]> >> Cc: Kaushal Shriyan <[email protected]> >> >> >> > 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 >> <[email protected]> ----- >> >> 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@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 >> [email protected] >> 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 >> >
_______________________________________________ clamav-users mailing list [email protected] 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
