• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Spamassassin Installation

ollibraun

New Pleskian
Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-042stab111.12 x86_64)
Plesk Version 12.5.30 Update #33

Hi,

while installing Spamassassin via Plesk there was an error message. I have tried via CLI:

Code:
root@h2572108:~# apt install spamassassin
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Die folgenden zusätzlichen Pakete werden installiert:
sa-compile
Vorgeschlagene Pakete:
razor pyzor libmail-dkim-perl
Die folgenden NEUEN Pakete werden installiert:
sa-compile spamassassin
0 aktualisiert, 2 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen noch 0 B von 1.048 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 3.808 kB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n]
Vormals nicht ausgewähltes Paket spamassassin wird gewählt.
(Lese Datenbank ... 130091 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../spamassassin_3.4.0-1ubuntu2.1_all.deb ...
Entpacken von spamassassin (3.4.0-1ubuntu2.1) ...
Vormals nicht ausgewähltes Paket sa-compile wird gewählt.
Vorbereitung zum Entpacken von .../sa-compile_3.4.0-1ubuntu2.1_all.deb ...
Entpacken von sa-compile (3.4.0-1ubuntu2.1) ...
Trigger für man-db (2.6.7.1-1ubuntu1) werden verarbeitet ...
spamassassin (3.4.0-1ubuntu2.1) wird eingerichtet ...
SpamAssassin Mail Filter Daemon: disabled, see /etc/default/spamassassin
sa-compile (3.4.0-1ubuntu2.1) wird eingerichtet ...
Running sa-compile (may take a long time)
cc: internal compiler error: Bus error (program as)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
make: *** [body_0.o] Error 4
command 'make >>/tmp/.spamassassin4280inMb1Ctmp/log' failed: exit 2
dpkg: Fehler beim Bearbeiten des Paketes sa-compile (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 25 zurück
Fehler traten auf beim Bearbeiten von:
sa-compile
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@h2572108:~#

What can I do?

Regards, Oliver
 
root@h2572108:~# apt install spamassassin
Why do you not install Spamassassin through Plesk Autoinstaller?

iz7xGFyRSO.gif
 
I have tried it first:

[2016-05-26 09:38:35.658488] Installation started in background
[2016-05-26 09:38:35.658575]
Getting bootstrapper packages to installation list:
[2016-05-26 09:38:35.658650] skip package 'pp12.5.30-bootstrapper-12.5.30-ubuntu14.04.build1205160407.13.amd64' from component panel - there is same or newer version of this package is installed (in system pp12.5.30-bootstrapper-12.5.30-ubuntu14.04.build1205160407.13.amd64)
[2016-05-26 09:38:35.658723] skip package 'sw-engine-cli-2.16-2.16.2-ubuntu1404.201510051442.amd64' from component panel - there is same or newer version of this package is installed (in system sw-engine-cli-2.16-2.16.2-ubuntu1404.201510051442.amd64)
[2016-05-26 09:38:35.658776] Following bootstrapper packages will be installed: (empty)
[2016-05-26 09:38:35.658801] ----------------
[2016-05-26 09:38:35.658822] Getting packages to installation list:
[2016-05-26 09:38:35.658883] skip package 'psa-fileserver-12.5.30-ubuntu14.04.build1205150826.19.amd64' from component psa-fileserver - there is same or newer version of this package is installed (in system psa-fileserver-12.5.30-ubuntu14.04.build1205150826.19.amd64)
[2016-05-26 09:38:35.658947] skip package 'samba-2:4.3.9+dfsg-0ubuntu0.14.04.1.amd64' from component psa-fileserver - there is same or newer version of this package is installed (in system samba-2:4.3.9+dfsg-0ubuntu0.14.04.1.amd64)
[2016-05-26 09:38:35.659004] skip package 'samba-common-bin-2:4.3.9+dfsg-0ubuntu0.14.04.1.amd64' from component psa-fileserver - there is same or newer version of this package is installed (in system samba-common-bin-2:4.3.9+dfsg-0ubuntu0.14.04.1.amd64)
[2016-05-26 09:38:35.659085] skip keypackage 'psa-fileserver-12.5.30-ubuntu14.04.build1205150826.19.amd64' from component psa-fileserver - same or newer version of this package is already installed (in system psa-fileserver-12.5.30-ubuntu14.04.build1205150826.19.amd64)
[2016-05-26 09:38:35.659194] Following packages will be installed: samba-2:4.3.9+dfsg-0ubuntu0.14.04.3 samba-common-bin-2:4.3.9+dfsg-0ubuntu0.14.04.3
[2016-05-26 09:38:35.659231] ----------------
[2016-05-26 09:38:35.659274] Auflösung der Paketabhängigkeiten wird geprüft.
[2016-05-26 09:38:35.659312] autoinstaller: read output of DEBIAN_FRONTEND=noninteractive LANG=C apt-get --assume-yes --show-upgraded --purge --no-reinstall -o APT::Get::List-Cleanup=true -o Dpkg::eek:ptions::=--force-confdef -o Dpkg::eek:ptions::=--force-confold -o APT::Get::AllowUnauthenticated=false -o Acquire::Retries=3 -t 'trusty*' --just-print install samba samba-common-bin
[2016-05-26 09:38:36.613113] add to install list sa-compile-3.4.0-1ubuntu2.1
[2016-05-26 09:38:36.613246] add to install list samba-libs-2:4.3.9+dfsg-0ubuntu0.14.04.3
[2016-05-26 09:38:36.613311] add to install list python-samba-2:4.3.9+dfsg-0ubuntu0.14.04.3
[2016-05-26 09:38:36.613364] add to install list samba-common-2:4.3.9+dfsg-0ubuntu0.14.04.3
[2016-05-26 09:38:36.613452] add to install list samba-vfs-modules-2:4.3.9+dfsg-0ubuntu0.14.04.3
[2016-05-26 09:38:36.613525] add to install list samba-dsdb-modules-2:4.3.9+dfsg-0ubuntu0.14.04.3
[2016-05-26 09:38:36.740279] (regen obsoletes cache)
[2016-05-26 09:38:36.740488] Check package set before installation
[2016-05-26 09:38:36.740913] The following packages from not selected components will be installed because they are required by other components' packages you selected for installation:
[2016-05-26 09:38:36.813910] Pakete werden installiert
[2016-05-26 09:38:36.817833] Bootstrapper has finished action (exec time: 0 sec.): parent_name='PLESK_12_5_30', sequence='prep', stage='execute', sequence_order='-1', operation='install', exec_cmd='touch /tmp/pp-bootstrapper-mode.flag; touch /var/lock/parallels-panel-maintenance-mode.flag; rm -f /var/lock/parallels-panel-upgrade-failure.flag; :'', m_arch='', output: ~empty
[2016-05-26 09:38:36.840023] Reading package lists...
Building dependency tree...
Reading state information...
sa-compile is already the newest version.
Suggested packages:
bind9 bind9utils ldb-tools ntp smbldap-tools winbind ufw heimdal-clients
The following packages will be upgraded:
python-samba samba samba-common samba-common-bin samba-dsdb-modules
samba-libs samba-vfs-modules
7 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
1 not fully installed or removed.
Need to get 8184 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 ftp://ftp.stratoserver.net/pub/linux/ubuntu/ trusty-updates/main samba amd64 2:4.3.9+dfsg-0ubuntu0.14.04.3 [903 kB]
Get:2 ftp://ftp.stratoserver.net/pub/linux/ubuntu/ trusty-updates/main samba-common-bin amd64 2:4.3.9+dfsg-0ubuntu0.14.04.3 [508 kB]
Get:3 ftp://ftp.stratoserver.net/pub/linux/ubuntu/ trusty-updates/main samba-common all 2:4.3.9+dfsg-0ubuntu0.14.04.3 [82.8 kB]
Get:4 ftp://ftp.stratoserver.net/pub/linux/ubuntu/ trusty-updates/main samba-vfs-modules amd64 2:4.3.9+dfsg-0ubuntu0.14.04.3 [259 kB]
Get:5 ftp://ftp.stratoserver.net/pub/linux/ubuntu/ trusty-updates/main samba-dsdb-modules amd64 2:4.3.9+dfsg-0ubuntu0.14.04.3 [218 kB]
Get:6 ftp://ftp.stratoserver.net/pub/linux/ubuntu/ trusty-updates/main python-samba amd64 2:4.3.9+dfsg-0ubuntu0.14.04.3 [1068 kB]
Get:7 ftp://ftp.stratoserver.net/pub/linux/ubuntu/ trusty-updates/main samba-libs amd64 2:4.3.9+dfsg-0ubuntu0.14.04.3 [5144 kB]
Preconfiguring packages ...
Fetched 8184 kB in 2s (3779 kB/s)
(Reading database ... 130305 files and directories currently installed.)
Preparing to unpack .../samba_2%3a4.3.9+dfsg-0ubuntu0.14.04.3_amd64.deb ...
nmbd stop/waiting
smbd stop/waiting
Unpacking samba (2:4.3.9+dfsg-0ubuntu0.14.04.3) over (2:4.3.9+dfsg-0ubuntu0.14.04.1) ...
Preparing to unpack .../samba-common-bin_2%3a4.3.9+dfsg-0ubuntu0.14.04.3_amd64.deb ...
Unpacking samba-common-bin (2:4.3.9+dfsg-0ubuntu0.14.04.3) over (2:4.3.9+dfsg-0ubuntu0.14.04.1) ...
Preparing to unpack .../samba-common_2%3a4.3.9+dfsg-0ubuntu0.14.04.3_all.deb ...
Unpacking samba-common (2:4.3.9+dfsg-0ubuntu0.14.04.3) over (2:4.3.9+dfsg-0ubuntu0.14.04.1) ...
Preparing to unpack .../samba-vfs-modules_2%3a4.3.9+dfsg-0ubuntu0.14.04.3_amd64.deb ...
Unpacking samba-vfs-modules (2:4.3.9+dfsg-0ubuntu0.14.04.3) over (2:4.3.9+dfsg-0ubuntu0.14.04.1) ...
Preparing to unpack .../samba-dsdb-modules_2%3a4.3.9+dfsg-0ubuntu0.14.04.3_amd64.deb ...
Unpacking samba-dsdb-modules (2:4.3.9+dfsg-0ubuntu0.14.04.3) over (2:4.3.9+dfsg-0ubuntu0.14.04.1) ...
Preparing to unpack .../python-samba_2%3a4.3.9+dfsg-0ubuntu0.14.04.3_amd64.deb ...
Unpacking python-samba (2:4.3.9+dfsg-0ubuntu0.14.04.3) over (2:4.3.9+dfsg-0ubuntu0.14.04.1) ...
Preparing to unpack .../samba-libs_2%3a4.3.9+dfsg-0ubuntu0.14.04.3_amd64.deb ...
Unpacking samba-libs:amd64 (2:4.3.9+dfsg-0ubuntu0.14.04.3) over (2:4.3.9+dfsg-0ubuntu0.14.04.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up sa-compile (3.4.0-1ubuntu2.1) ...
Running sa-compile (may take a long time)
cc: internal compiler error: Bus error (program as)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
make: *** [body_0.o] Error 4
command 'make >>/tmp/.spamassassin10262aZfqNHtmp/log' failed: exit 2
Setting up samba-libs:amd64 (2:4.3.9+dfsg-0ubuntu0.14.04.3) ...
dpkg: error processing package sa-compile (--configure):
subprocess installed post-installation script returned error exit status 25
Setting up python-samba (2:4.3.9+dfsg-0ubuntu0.14.04.3) ...
Setting up samba-common (2:4.3.9+dfsg-0ubuntu0.14.04.3) ...
Setting up samba-common-bin (2:4.3.9+dfsg-0ubuntu0.14.04.3) ...
Setting up samba (2:4.3.9+dfsg-0ubuntu0.14.04.3) ...
smbd start/running, process 10561
nmbd start/running, process 10599
samba-ad-dc start/running, process 10640
Setting up samba-vfs-modules (2:4.3.9+dfsg-0ubuntu0.14.04.3) ...
Setting up samba-dsdb-modules (2:4.3.9+dfsg-0ubuntu0.14.04.3) ...
Processing triggers for libc-bin (2.19-0ubuntu6.7) ...
/sbin/ldconfig.real: file /usr/lib/libbfd-2.24-system.so is truncated

Errors were encountered while processing:
sa-compile
E: Sub-process /usr/bin/dpkg returned an error code (1)
Bootstrapper has finished action (exec time: 0 sec.): parent_name='PLESK_12_5_30', sequence='pkgs', stage='rollback', sequence_order='1', operation='install', exec_cmd='rm -f /tmp/pp-bootstrapper-mode.flag; rm -f /var/lock/parallels-panel-maintenance-mode.flag; touch /var/lock/parallels-panel-upgrade-failure.flag; :'', m_arch='', output: ~empty
[2016-05-26 09:39:33.539776] Error: Ein Fehler ist aufgetreten bei dem Versuch, Pakete zu installieren.
Achtung! Ihre Software ist vielleicht nicht betriebsbereit.
Bitte kontaktieren Sie den technischen Produktsupport.
 
Setting up sa-compile (3.4.0-1ubuntu2.1) ...
Running sa-compile (may take a long time)
cc: internal compiler error: Bus error (program as)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
make: *** [body_0.o] Error 4
command 'make >>/tmp/.spamassassin10262aZfqNHtmp/log' failed: exit 2

Do you have any special gcc or make packages installed from any third-party repositories?
 
@ollibraun,

A number of things should be noticed:

- you should have enough (free) memory for the compiler process: just try to install some base packages first, install spamassassin afterwards (one-package-one-installation action)
- there are some known bugs with gcc compiling of spamassassin, mostly related to gcc permission structure: this should not apply to 3.4.0-1ubuntu2.1
- there can be problems with gcc compiler itself: this is not likely to be the case, if you have a clean install of Ubuntu 14.04.4 LTS
- problems with stratoserver repositories can exist, but these problems are often resolved very fast: just wait a day to retry

In short, try to install Plesk base packages and make sure that enough free memory exists.

Afterwards, try to install spamassassin separately and again, make sure that free memory is sufficient.

If that really does not help, just return and ask your question(s).

Regards.........
 
@ollibraun,

Hello, do you have solved your problem?
I have no plesk on my server but exactly the same problem: I have a V-Server from strato with
Ubuntu 14.04.4 and I cannot compile the spamassassin-rules (same error message as yours).

Kind regards...
SevenOf9Sleeper
 
I have now three (3) Strato vServers, the same problem on every machine.

I have request support from Strato, but no answer.

After ordering second and third vServer I could install SpamAssassin on the fresh machine, but after "New installation" the problem arrives. In my opinion the "New installation" does not work the way it should...
 
Hi,

does any Body know how to solve this Problem ?
I have 2 VServer from Strato, both are makeing the same Problem, as described above.

On the Otherhand, I've got 3 Real-Server, without any Problems ....

since I don't own the VServer, I playing with the Idea to disable SPAMASSIN ....
I'll install qmail + SPAMDYKE from source so at least there will be some kind of SPAM-Protection ...

sincerly
 
>>
es ist nun möglich den SpamAssassin wieder zu installieren. Bevor das Image "Ubuntu 14.04 + Plesk 12.5" grundlegend angepasst wird, ist das nur über einen SSH Befehl möglich, der die GNU Binutils neu installiert.

Der Befehl lautet, wie folgt: apt-get install --reinstall binutils

Während und nach der Ausführung des Befehls sind alle Dienste weiterhin aktiv. Der Befehl hat keinen negativen Einfluss auf Ihre Konfiguration.

Anschließend kann die SpamAssassin-Installation über Plesk ("Updates und Upgrades") neu angestoßen werden.

Die Arbeiten am Image werden aufgrund der Qualitätssicherung noch einige Tage in Anspruch nehmen, daher empfehle ich Ihnen die oben genannte Lösung.

Mit freundlichen Grüßen
STRATO Customer Care
08.06.2016
<<
 
Back
Top