<html><head></head><body><div>Hi Franz.</div><div><br></div><div>Thank you for answer. But I think this will help at Debian background. My installation is on CentOS and there is clamscan and amavis users and groups. And clamscan daemon runs under amavis as I understand well: <a href="mailto:clamd@amavisd.service">clamd@amavisd.service</a> </div><div>I tried to compare with some other my server and I discovered I have no clamav directory at /var/log there. But clamav  daemon runs correctly.</div><div><br></div><div>Greetings, ladas</div><div><br></div><div><br></div><div>Skale, Franz píše v Čt 21. 02. 2019 v 08:35 +0100:</div><blockquote type="cite"><pre>Hi,
try the following:
chmod 755 /var/log/clamav
chown clamav.clamav /var/log/clamav
chown clamav.adm /var/log/clamav/freshclam.log
chmod 640 /var/log/clamav/freshclam.log
Then restart clamav-freshclam and clamav-daemon

Rgds.
Franz

Am 2019-02-20 20:37, schrieb Eric B Munson:
<blockquote type="cite">
What distribution is this on?  Is this a new install or an update?

On 2019-02-18 11:31, L.Slanina wrote:
<blockquote type="cite">
Hi everybody.

Can someone help with clamav problem please? Thank you very much.

Greetings ladas

During "kolab-settings" configuration I got this message:

Kolab Service password [******************]:
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check
permissions!).
ERROR: Problem with internal logger (UpdateLogFile =
/var/log/clamav/freshclam.log).
Job for <a href="mailto:clamd@amavisd.service">clamd@amavisd.service</a> failed because start of the service was
attempted too often. See "systemctl status <a href="mailto:clamd@amavisd.service">clamd@amavisd.service</a>" and
"journalctl -xe" for details.
To force a start use "systemctl reset-failed <a href="mailto:clamd@amavisd.service">clamd@amavisd.service</a>"
followed by "systemctl start <a href="mailto:clamd@amavisd.service">clamd@amavisd.service</a>" again.
Created symlink from
/etc/systemd/system/multi-user.target.wants/amavisd.service to
/usr/lib/systemd/system/amavisd.service.

And when I force to start and check clamav daemon does not work:

systemctl status <a href="mailto:clamd@amavisd.service">clamd@amavisd.service</a>
● <a href="mailto:clamd@amavisd.service">clamd@amavisd.service</a> - clamd scanner (amavisd) daemon
   Loaded: loaded (/etc/systemd/system/clamd@.service; enabled; vendor
preset: disabled)
   Active: failed (Result: start-limit) since Po 2019-02-18 17:25:36
CET; 10s ago
     Docs: man:clamd(8)
           man:clamd.conf(5)
           <a href="https://www.clamav.net/documents/">https://www.clamav.net/documents/</a>
  Process: 3826 ExecStart=/usr/sbin/clamd -c /etc/clamd.d/%i.conf
(code=exited, status=1/FAILURE)

úno 18 17:25:36 kolab.mydomain.local  systemd[1]:
<a href="mailto:clamd@amavisd.service">clamd@amavisd.service</a>: control process exited, code=exited...us=1
úno 18 17:25:36  kolab.mydomain.local systemd[1]: Failed to start
clamd scanner (amavisd) daemon.
úno 18 17:25:36  kolab.mydomain.local systemd[1]: Unit
<a href="mailto:clamd@amavisd.service">clamd@amavisd.service</a> entered failed state.
úno 18 17:25:36  kolab.mydomain.local systemd[1]:
<a href="mailto:clamd@amavisd.service">clamd@amavisd.service</a> failed.
úno 18 17:25:36  kolab.mydomain.local systemd[1]:
<a href="mailto:clamd@amavisd.service">clamd@amavisd.service</a> holdoff time over, scheduling restart.
úno 18 17:25:36  kolab.mydomain.local systemd[1]: Stopped clamd
scanner (amavisd) daemon.
úno 18 17:25:36  kolab.mydomain.local systemd[1]: start request
repeated too quickly for <a href="mailto:clamd@amavisd.service">clamd@amavisd.service</a>
úno 18 17:25:36  kolab.mydomain.local systemd[1]: Failed to start
clamd scanner (amavisd) daemon.
úno 18 17:25:36  kolab.mydomain.local systemd[1]: Unit
<a href="mailto:clamd@amavisd.service">clamd@amavisd.service</a> entered failed state.
úno 18 17:25:36  kolab.mydomain.local systemd[1]:
<a href="mailto:clamd@amavisd.service">clamd@amavisd.service</a> failed.
Hint: Some lines were ellipsized, use -l to show in full.
_______________________________________________
users mailing list
<a href="mailto:users@lists.kolab.org">users@lists.kolab.org</a>
<a href="https://lists.kolab.org/mailman/listinfo/users">https://lists.kolab.org/mailman/listinfo/users</a>
</blockquote>
_______________________________________________
users mailing list
<a href="mailto:users@lists.kolab.org">users@lists.kolab.org</a>
<a href="https://lists.kolab.org/mailman/listinfo/users">https://lists.kolab.org/mailman/listinfo/users</a>
</blockquote>
_______________________________________________
users mailing list
<a href="mailto:users@lists.kolab.org">users@lists.kolab.org</a>
<a href="https://lists.kolab.org/mailman/listinfo/users">https://lists.kolab.org/mailman/listinfo/users</a></pre></blockquote></body></html>