1

Topic: clamd@scan service is stoped

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi
clamd@scan service is stoped and returns below error when I try to start it. I got below link to solve this issue whereas I am not sure about solution. does anybody have better soloution?

Aug 24 14:29:02 test.test.local systemd[1]: Unit clamd@scan.service entered failed state.
Aug 24 14:29:02 test.test.local systemd[1]: clamd@scan.service failed.
Aug 24 14:29:02 test.test.local systemd[1]: clamd@scan.service holdoff time over, scheduling restart.
Aug 24 14:29:02 test.test.local systemd[1]: Stopped Generic clamav scanner daemon.
Aug 24 14:29:02 test.test.local systemd[1]: start request repeated too quickly for clamd@scan.service
Aug 24 14:29:02 test.test.local systemd[1]: Failed to start Generic clamav scanner daemon.
Aug 24 14:29:02 test.test.local systemd[1]: Unit clamd@scan.service entered failed state.
Aug 24 14:29:02 test.test.local systemd[1]: clamd@scan.service failed.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: clamd@scan service is stoped

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

You did not fill ANY of the required fields.

Nor did you tell which solution you consider.

3

Re: clamd@scan service is stoped

Any related error in /var/log/clamav/*.log?

- And yes please fill the basic info of your iRedMail server each time you create a new forum topic, this is useful to help us give you accurate answer quickly.
- Don't create duplicate forum topic, it doesn't help.

4

Re: clamd@scan service is stoped

Hi gain,
First of I apologize due to multiple sent of my post, I guess it is because of slow rate of Internet. Then, I could not find /var/log/clam... but I found some related logs in messages log file which is copied here.
I usually update clamd manually so download daily.cvd from clamav website and then copy in /var/lib/clamav. recently, I receive a e_mail from logwatch which says clam can not download main.cvd .  I downloaded it and copie in mentioned path even though it did not solve my problem.
(iredmail0.9.9 -sql-centos7)


Aug 25 08:56:43 mail freshclam[26206]: ClamAV update process started at Wed Aug 25 08:56:43 2021
Aug 25 08:56:43 mail freshclam[26206]: Your ClamAV installation is OUTDATED!
Aug 25 08:56:43 mail freshclam[26206]: Local version: 0.101.2 Recommended version: 0.103.3
Aug 25 08:56:43 mail freshclam[26206]: DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav
Aug 25 08:56:43 mail freshclam[26206]: main.cvd is up to date (version: 61, sigs: 6607162, f-level: 90, builder: sigmgr)
Aug 25 08:56:44 mail freshclam[26206]: getpatch: Can't download daily-26271.cdiff from 104.16.218.84
Aug 25 08:56:44 mail freshclam[26206]: getpatch: Can't download daily-26271.cdiff from 104.16.218.84
Aug 25 08:56:44 mail freshclam[26206]: getpatch: Can't download daily-26271.cdiff from 104.16.218.84
Aug 25 08:56:44 mail freshclam[26206]: Incremental update failed, trying to download daily.cvd
Aug 25 08:56:44 mail freshclam[26206]: Can't download daily.cvd from 104.16.218.84
Aug 25 08:56:44 mail freshclam[26206]: Trying again in 5 secs...
Aug 25 08:56:49 mail freshclam[26206]: Your ClamAV installation is OUTDATED!
Aug 25 08:56:49 mail freshclam[26206]: Local version: 0.101.2 Recommended version: 0.103.3
Aug 25 08:56:49 mail freshclam[26206]: DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav
Aug 25 08:56:49 mail freshclam[26206]: main.cvd is up to date (version: 61, sigs: 6607162, f-level: 90, builder: sigmgr)
Aug 25 08:56:50 mail freshclam[26206]: getfile: Unknown response from 104.16.218.84 (IP: 104.16.218.84): HTTP/1.1 403
Aug 25 08:56:50 mail freshclam[26206]: getpatch: Can't download daily-26271.cdiff from 104.16.218.84
Aug 25 08:56:50 mail freshclam[26206]: getpatch: Can't download daily-26271.cdiff from 104.16.218.84
Aug 25 08:56:50 mail freshclam[26206]: getpatch: Can't download daily-26271.cdiff from 104.16.218.84
Aug 25 08:56:50 mail freshclam[26206]: Incremental update failed, trying to download daily.cvd
Aug 25 08:56:50 mail freshclam[26206]: Can't download daily.cvd from 104.16.218.84
Aug 25 08:56:50 mail freshclam[26206]: Trying again in 5 secs...
Aug 25 08:56:52 mail php-fpm: [25-Aug-2021 08:56:52] NOTICE: [pool inet] child 26184 exited with code 0 after 30.000386 seconds from start
Aug 25 08:56:52 mail php-fpm: [25-Aug-2021 08:56:52] NOTICE: [pool inet] child 26210 started
Aug 25 08:56:55 mail freshclam[26206]: Your ClamAV installation is OUTDATED!
Aug 25 08:56:55 mail freshclam[26206]: Local version: 0.101.2 Recommended version: 0.103.3
Aug 25 08:56:55 mail freshclam[26206]: DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav
Aug 25 08:56:55 mail freshclam[26206]: main.cvd is up to date (version: 61, sigs: 6607162, f-level: 90, builder: sigmgr)
Aug 25 08:56:56 mail freshclam[26206]: getpatch: Can't download daily-26271.cdiff from 104.16.218.84
Aug 25 08:56:56 mail freshclam[26206]: getpatch: Can't download daily-26271.cdiff from 104.16.218.84
Aug 25 08:56:56 mail freshclam[26206]: getpatch: Can't download daily-26271.cdiff from 104.16.218.84
Aug 25 08:56:56 mail freshclam[26206]: Incremental update failed, trying to download daily.cvd
Aug 25 08:56:56 mail freshclam[26206]: Can't download daily.cvd from 104.16.218.84
Aug 25 08:56:56 mail freshclam[26206]: Giving up on 104.16.218.84...
Aug 25 08:56:56 mail freshclam[26206]: Update failed. Your network may be down or none of the mirrors listed in /etc/freshclam.conf is working. Check https://www.clamav.net/documents/official-mirror-faq for possible reasons.

ZhangHuangbin wrote:

Any related error in /var/log/clamav/*.log?

- And yes please fill the basic info of your iRedMail server each time you create a new forum topic, this is useful to help us give you accurate answer quickly.
- Don't create duplicate forum topic, it doesn't help.

5

Re: clamd@scan service is stoped

https://forum.directadmin.com/threads/c … ost-272726

Cthulhu wrote:

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

You did not fill ANY of the required fields.

Nor did you tell which solution you consider.

6

Re: clamd@scan service is stoped

Do you mean this line fix your issue?

7

Re: clamd@scan service is stoped

I am not sure, I just asked .
How can i solve my issue?

ZhangHuangbin wrote:

Do you mean this line fix your issue?

8

Re: clamd@scan service is stoped

hi,
stopped clam service means that my email will not be scanned or what?

ired_mania wrote:

I am not sure, I just asked .
How can i solve my issue?

ZhangHuangbin wrote:

Do you mean this line fix your issue?

9

Re: clamd@scan service is stoped

ired_mania wrote:

stopped clam service means that my email will not be scanned or what?

Search "complete" here: https://docs.iredmail.org/