1

Topic: clamav@scan is stopped and can not be started

==== 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
I cant start clamd@scan service but Also clamd@amavis is working.
Is it necessery to clamd@scan be startted?
how can I start it?

----

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

2 (edited by MuPp3t33r 2020-06-04 17:08:01)

Re: clamav@scan is stopped and can not be started

I might be mistaken, but I think that process is called by amavisd when it is required, not meant to be running all the time.
ZhangHuangbin should be able to confirm.

by the way, it's better if you fill in all the details about your iRedMail version, operating system, backend and related logs so we can troubleshoot, without this it's generally like finding a needle in a haystack we don't have access to

3

Re: clamav@scan is stopped and can not be started

I am running Iredmail0.9.8 on centos7. and here is result of starting clamd@scan:

clamd@scan.service - Generic clamav scanner daemon
   Loaded: loaded (/usr/lib/systemd/system/clamd@scan.service; enabled; vendor preset: disabled)
   Active: failed (Result: start-limit) since Thu 2020-06-04 13:46:06 +0430; 9s ago
     Docs: man:clamd(8)
           man:clamd.conf(5)
           https://www.clamav.net/documents/
  Process: 17135 ExecStart=/usr/sbin/clamd -c /etc/clamd.d/%i.conf (code=exited, status=1/FAILURE)

Jun 04 13:46:05 seconddomain.ir systemd[1]: clamd@scan.service: control process exited, code=exited status=1
Jun 04 13:46:05 seconddomain.ir systemd[1]: Failed to start Generic clamav scanner daemon.
Jun 04 13:46:05 seconddomain.ir systemd[1]: Unit clamd@scan.service entered failed state.
Jun 04 13:46:05 seconddomain.ir systemd[1]: clamd@scan.service failed.
Jun 04 13:46:06 seconddomain.ir systemd[1]: clamd@scan.service holdoff time over, scheduling restart.
Jun 04 13:46:06 seconddomain.ir systemd[1]: Stopped Generic clamav scanner daemon.
Jun 04 13:46:06 seconddomain.ir systemd[1]: start request repeated too quickly for clamd@scan.service
Jun 04 13:46:06 seconddomain.ir systemd[1]: Failed to start Generic clamav scanner daemon.
Jun 04 13:46:06 seconddomain.ir systemd[1]: Unit clamd@scan.service entered failed state.
Jun 04 13:46:06 seconddomain.ir systemd[1]: clamd@scan.service failed.

4

Re: clamav@scan is stopped and can not be started

iRedMail uses clamd@amavis, not the @scan one. Don’t bother trying it.

5 (edited by ired_mania 2020-06-07 18:24:34)

Re: clamav@scan is stopped and can not be started

I want to know what does it do exactly. Althoght It is considered for scanning of files or directories, I can scan when it is stopped.


ZhangHuangbin wrote:

iRedMail uses clamd@amavis, not the @scan one. Don’t bother trying it.