MailScanner: Process did not exit cleanly, returned 2 with signal 0
Posted: 09 Oct 2023, 14:59
Hello,
Our mailscanner server all of sudden stopped processing incoming and outgoing emails. I checked maillog and saw:
Server message log shows:
ps command shows many defunct MailScanner processes.
Here are the software versions:
I have tried 'yum update', deleted /var/spool/Mailscanner/incoming/Processing.db and restarted mailscanner but none helped.
I would greatly appreciate if someone can point me to the right direction.
Thank you.
James Wang
Our mailscanner server all of sudden stopped processing incoming and outgoing emails. I checked maillog and saw:
Code: Select all
Oct 9 09:51:27 smtpin2 MailScanner[18813]: MailScanner Email Processor version 5.1.3 starting...
Oct 9 09:51:27 smtpin2 MailScanner[18813]: Reading configuration file /etc/MailScanner/MailScanner.conf
Oct 9 09:51:27 smtpin2 MailScanner[18813]: Reading configuration file /etc/MailScanner/conf.d/README
Oct 9 09:51:27 smtpin2 MailScanner[18813]: Read 1499 hostnames from the phishing whitelist
Oct 9 09:51:27 smtpin2 MailScanner[18813]: Read 27260 hostnames from the phishing blacklists
Oct 9 09:51:27 smtpin2 MailScanner[18813]: Config: calling custom init function SQLBlacklist
Oct 9 09:51:27 smtpin2 MailScanner[18813]: MailWatch: Starting up MailWatch SQL Blacklist
Oct 9 09:51:27 smtpin2 MailScanner[18813]: MailWatch: Read 1791 blacklist entries
Oct 9 09:51:27 smtpin2 MailScanner[18813]: Config: calling custom init function MailWatchLogging
Oct 9 09:51:27 smtpin2 MailScanner[18813]: MailWatch: Started MailWatch SQL Logging child
Oct 9 09:51:27 smtpin2 MailScanner[18813]: Config: calling custom init function SQLWhitelist
Oct 9 09:51:27 smtpin2 MailScanner[18813]: MailWatch: Starting up MailWatch SQL Whitelist
Oct 9 09:51:27 smtpin2 MailScanner[18813]: MailWatch: Read 504 whitelist entries
Oct 9 09:51:27 smtpin2 MailScanner[18813]: Using SpamAssassin results cache
Oct 9 09:51:27 smtpin2 MailScanner[18813]: Connected to SpamAssassin cache database
Oct 9 09:51:27 smtpin2 MailScanner[18813]: Enabling SpamAssassin auto-whitelist functionality...
Oct 9 09:51:27 smtpin2 MailScanner[18813]: Connected to Processing Attempts Database
Oct 9 09:51:27 smtpin2 MailScanner[18813]: Found 60 messages in the Processing Attempts Database
Oct 9 09:51:27 smtpin2 MailScanner[18813]: Using locktype = flock
Code: Select all
Oct 9 09:51:25 smtpin2 MailScanner: Process did not exit cleanly, returned 2 with signal 0
Oct 9 09:51:27 smtpin2 MailScanner: Process did not exit cleanly, returned 2 with signal 0
Oct 9 09:51:29 smtpin2 MailScanner: Process did not exit cleanly, returned 2 with signal 0
Oct 9 09:51:31 smtpin2 MailScanner: Process did not exit cleanly, returned 2 with signal 0
Code: Select all
1 Z postfix 1798 2928 3 80 0 - 0 do_exi 09:58 ? 00:00:00 [MailScanner: wa] <defunct>
1 Z postfix 1803 2928 3 80 0 - 0 do_exi 09:58 ? 00:00:00 [MailScanner: wa] <defunct>
1 Z postfix 1809 2928 4 80 0 - 0 do_exi 09:58 ? 00:00:00 [MailScanner: wa] <defunct>
1 Z postfix 1814 2928 4 80 0 - 0 do_exi 09:58 ? 00:00:00 [MailScanner: wa] <defunct>
1 Z postfix 1819 2928 5 80 0 - 0 do_exi 09:58 ? 00:00:00 [MailScanner: wa] <defunct>
1 Z postfix 1824 2928 7 80 0 - 0 do_exi 09:58 ? 00:00:00 [MailScanner: wa] <defunct>
1 Z postfix 1829 2928 9 80 0 - 0 do_exi 09:58 ? 00:00:00 [MailScanner: wa] <defunct>
1 Z postfix 1837 2928 14 80 0 - 0 do_exi 09:58 ? 00:00:00 [MailScanner: wa] <defunct>
1 Z postfix 1842 2928 28 80 0 - 0 do_exi 09:58 ? 00:00:00 [MailScanner: wa] <defunct>
Code: Select all
MailWatch Version: 1.2.10
Operating System Version: CentOS Linux 7.9 (Core)
Postfix Version: 3.8.1
MailScanner Version: 5.1.3
ClamAV Version: 0.103.10
SpamAssassin Version: 3.4.0
PHP Version: 7.4.33
MySQL Version: 10.3.39-MariaDB
I would greatly appreciate if someone can point me to the right direction.
Thank you.
James Wang