After upgrade to 8.1 spamassassin can't start

Oct 30, 2017
9
0
41
50
Hi folks,
after an upgrade to 8.1 spamassassin won't start.
Spamd is running.
in /etc/default/spamassassin, ENABLED=0 (also in /etc backup before the upgrade)

Any hints?

/var/log/syslog:
2024-03-06T19:02:51.141439+01:00 ucs systemd[1]: Failed to start spamassassin.service - Perl-based spam filter using text analysis.
2024-03-06T19:02:51.297156+01:00 ucs systemd[1]: spamassassin.service: Scheduled restart job, restart counter is at 1317.
2024-03-06T19:02:51.297509+01:00 ucs systemd[1]: Stopped spamassassin.service - Perl-based spam filter using text analysis.
2024-03-06T19:02:51.316495+01:00 ucs systemd[1]: Starting spamassassin.service - Perl-based spam filter using text analysis...
2024-03-06T19:03:00.636285+01:00 ucs systemd[1]: spamassassin.service: Control process exited, code=exited, status=98/n/a
2024-03-06T19:03:00.636745+01:00 ucs systemd[1]: spamassassin.service: Failed with result 'exit-code'.
2024-03-06T19:03:00.636885+01:00 ucs systemd[1]: Failed to start spamassassin.service - Perl-based spam filter using text analysis.
2024-03-06T19:03:00.797195+01:00 ucs systemd[1]: spamassassin.service: Scheduled restart job, restart counter is at 1318.
2024-03-06T19:03:00.797476+01:00 ucs systemd[1]: Stopped spamassassin.service - Perl-based spam filter using text analysis.
2024-03-06T19:03:00.812632+01:00 ucs systemd[1]: Starting spamassassin.service - Perl-based spam filter using text analysis...

journalctl:
░░
░░ A start job for unit spamassassin.service has begun execution.
░░
░░ The job identifier is 98960.
Mar 06 18:53:10 ucs systemd[1]: spamassassin.service: Control process exited, code=exited, status=98/n/a
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit spamassassin.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 98.
Mar 06 18:53:10 ucs systemd[1]: spamassassin.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit spamassassin.service has entered the 'failed' state with result 'exit-code'.
Mar 06 18:53:10 ucs systemd[1]: Failed to start spamassassin.service - Perl-based spam filter using text analysis.
░░ Subject: A start job for unit spamassassin.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit spamassassin.service has finished with a failure.
░░
░░ The job identifier is 98960 and the job result is failed.
Mar 06 18:53:10 ucs systemd[1]: spamassassin.service: Scheduled restart job, restart counter is at 1256.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ Automatic restarting of the unit spamassassin.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Mar 06 18:53:10 ucs systemd[1]: Stopped spamassassin.service - Perl-based spam filter using text analysis.
░░ Subject: A stop job for unit spamassassin.service has finished
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A stop job for unit spamassassin.service has finished.
░░
░░ The job identifier is 99038 and the job result is done.
Mar 06 18:53:10 ucs systemd[1]: Starting spamassassin.service - Perl-based spam filter using text analysis...
░░ Subject: A start job for unit spamassassin.service has begun execution
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit spamassassin.service has begun execution.
░░
░░ The job identifier is 99038.
 
Hi folks,
after an upgrade to 8.1 spamassassin won't start.
Spamd is running.
in /etc/default/spamassassin, ENABLED=0 (also in /etc backup before the upg
PMG does not use the spamassassin.service - SpamAssassin is integrated into pmg-smtp-filter

EDIT: and this service does not exist on a PMG installation - make sure you have the correct packages installed (pmgversion -v)

I hope this explains it!
 
PMG does not use the spamassassin.service - SpamAssassin is integrated into pmg-smtp-filter EDIT: and this service does not exist on a PMG installation - make sure you have the correct packages installed (pmgversion -v) I hope this explains it!

Thanks Stoiko

I've masked with systemctl spamassassin.

In syslog before upgrade i didn't found errors about spamassassin. Strange!

pmgversion -v
proxmox-mailgateway: 8.1.0 (API: 8.1.2/c979cfd1d78a, running kernel: 6.5.13-1-pve)
pmg-api: 8.1.2
pmg-gui: 4.1.1
proxmox-kernel-helper: 8.1.0
pve-kernel-5.15: 7.4-9
proxmox-kernel-6.5.13-1-pve-signed: 6.5.13-1
proxmox-kernel-6.5: 6.5.13-1
pve-kernel-5.4: 6.4-19
pve-kernel-5.3: 6.1-6
pve-kernel-5.15.131-2-pve: 5.15.131-3
pve-kernel-5.15.126-1-pve: 5.15.126-1
pve-kernel-5.4.195-1-pve: 5.4.195-1
pve-kernel-4.15: 5.4-11
pve-kernel-5.3.18-3-pve: 5.3.18-3
pve-kernel-4.15.18-23-pve: 4.15.18-51
pve-kernel-4.15.18-7-pve: 4.15.18-27
clamav-daemon: 1.0.3+dfsg-1~deb12u1
ifupdown: 0.8.41
libarchive-perl: 3.6.2
libjs-extjs: 7.0.0-4
libjs-framework7: 4.4.7-2
libproxmox-acme-perl: 1.5.0
libproxmox-acme-plugins: 1.5.0
libpve-apiclient-perl: 3.3.0
libpve-common-perl: 8.1.0
libpve-http-server-perl: 5.0.5
libxdgmime-perl: 1.1.0
lvm2: 2.03.16-2
pmg-docs: 8.1.1
pmg-i18n: 3.2.1
pmg-log-tracker: 2.5.0
postgresql-13: 13.14-0+deb11u1
proxmox-mini-journalreader: 1.4.0
proxmox-offline-mirror-helper: 0.6.5
proxmox-spamassassin: 4.0.0-5
proxmox-widget-toolkit: 4.1.4
pve-firmware: 3.9-2
pve-xtermjs: 5.3.0-3
zfsutils-linux: 2.2.2-pve2
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!