Ispconfig not processing job queue – spamfilter_policy error
Suddenly some of my slave servers stopped processing the job queue. Ispconfig version 3.2.9. Investigating the log files.
/var/log/ispconfig/cron.log shows:
PHP Fatal error: Uncaught mysqli_sql_exception: Data truncated for column 'warnvirusrecip' at row 1 in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:302
See this discussion: https://forum.howtoforge.com/threads/uncaught-mysqli_sql_exception-data-truncated-for-column-warnvirusrecip-at-row-1.90116/
This is how I solved it. On the master server:
mysqldump -uroot -p --add-drop-table dbispconfig spamfilter_policy > spamfilter_policy.sql
Then copy the spamfilter_policy.sql to each slave server having problems processing the queue and do:
mysql -uroot -p dbispconfig < spamfilter_policy.sql