Mail Antispam and Mail Antivirus will not stay running and when I start them they show as running for a few minutes and then show stopped.
Share this post:
Accepted Answer
Servicewatch is fine. It is just trying to get amavis going. The other messages are more telling. Googling a bit of one of them turns up this.
For safety, you can create a temp folder in /var/lib/amavis/db and move all the files from /var/lib/amavis/db into it rather than delete them, then start amavisd agan. It should recreate the files when it starts.
For safety, you can create a temp folder in /var/lib/amavis/db and move all the files from /var/lib/amavis/db into it rather than delete them, then start amavisd agan. It should recreate the files when it starts.
Responses (8)
-
Accepted Answer
I don't see anything unusual in the clamd.log or freshclam.log.
in the system.log I see the following:
Feb 26 14:45:01 clearos servicewatch: sanity checking amavisd
Feb 26 14:46:02 clearos servicewatch: restarting amavisd
Is that normal?
In my maillog I have these which look suspicious:
Feb 26 18:05:06 clearos amavis[30281]: (!!)TROUBLE in pre_loop_hook: db_init: BDB no dbC: __fop_file_setup: Retry limit (100) exceeded, File exists. at (eval 82) line 302.
Feb 26 18:05:06 clearos amavis[30281]: (!)_DIE: Suicide () TROUBLE in pre_loop_hook: db_init: BDB no dbC: __fop_file_setup: Retry limit (100) exceeded, File exists. at (eval 82) line 302. -
Accepted Answer
-
Accepted Answer
There should be a log file viewer under Webconfig > Reports > Log Viewer, but I prefer the WinSCP method. If you don't have the Log Viewer app, it is available free from the marketplace
Also get hold of a copy of WinSCP and PuTTy. WinSCP is a graphical file manager and text editor. The logs are found in /var/log. PuTTy is a remote ssh console which integrates with WinSCP. You can copy from it by selecting text and paste to it by right-clicking. That way you don't need to take screenshots to post to the forum. -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Is the SMTP server running? Are you getting any messages in the messages or system log when they die?
Can you try starting amavis from the command line with a:
Watch for any messages as it starts. If there are any messages, you can expand the lines with a:service amavisd start
Also, if it fails, check the output of:service amavisd status -l
journalctl -xe
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »