Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email warning in cron logrotate #1

Open
lupo112 opened this issue Oct 18, 2017 · 4 comments
Open

Email warning in cron logrotate #1

lupo112 opened this issue Oct 18, 2017 · 4 comments

Comments

@lupo112
Copy link

lupo112 commented Oct 18, 2017

I am still getting this email every day:

/etc/cron.daily/logrotate:
error: stat of /var/log/clamav/clamav.log failed: No such file or directory
run-parts: /etc/cron.daily/logrotate exited with return code 1

@bekce
Copy link
Owner

bekce commented Oct 18, 2017

Hello, how do you get that error as an email? I use it in production but I dont receive any emails about server logs.

@lupo112
Copy link
Author

lupo112 commented Oct 19, 2017

Sender is root@mail.{my-domain} and recipient also root@mail.{my-domain}.

It started when i switched to your image instead of official poste.io docker image.

@ymarillet
Copy link

ymarillet commented Nov 8, 2017

same "error" here

@danielj23
Copy link

danielj23 commented Mar 14, 2020

Same here on the latest free version. I even have clamavdisabled=true configured

Sat Mar 14 00:17:14 2020 -> ClamAV update process started at Sat Mar 14 00:17:14 2020
Sat Mar 14 00:17:14 2020 -> daily database available for update (local version: 25738, remote version: 25750)
Sat Mar 14 00:17:19 2020 -> Testing database: '/data/var/clamav/tmp.4b732/clamav-7ee833e2f614438cde4ae4547785d5bb.tmp-daily.cld' ...
Sat Mar 14 00:17:25 2020 -> ^[LibClamAV] mpool_malloc(): Can't allocate memory (262144 bytes).
Sat Mar 14 00:17:25 2020 -> ^[LibClamAV] cli_ac_addpatt: Can't allocate memory for new->trans
Sat Mar 14 00:17:25 2020 -> ^[LibClamAV] cli_parse_add(): Problem adding signature (3).
Sat Mar 14 00:17:25 2020 -> ^[LibClamAV] Problem parsing database at line 98387
Sat Mar 14 00:17:25 2020 -> ^[LibClamAV] Can't load daily.ldb: Can't allocate memory
Sat Mar 14 00:17:25 2020 -> ^[LibClamAV] cli_tgzload: Can't load daily.ldb
Sat Mar 14 00:17:25 2020 -> ^[LibClamAV] Can't load /data/var/clamav/tmp.4b732/clamav-7ee833e2f614438cde4ae4547785d5bb.tmp-daily.cld: Malformed database
Sat Mar 14 00:17:25 2020 -> !Failed to load new database: Malformed database
Sat Mar 14 00:17:25 2020 -> !Database load killed by signal 11
Sat Mar 14 00:17:25 2020 -> !Database test FAILED.
Sat Mar 14 00:17:25 2020 -> !Unexpected error when attempting to update database: daily
Sat Mar 14 00:17:25 2020 -> ^fc_update_databases: fc_update_database failed: Test failed (8)
Sat Mar 14 00:17:25 2020 -> !Database update process failed: Test failed (8)
Sat Mar 14 00:17:25 2020 -> !Update failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants