Cannot create mailbox or change its settings: ValueError: bad marshal data

Created:

2016-12-12 03:48:06 UTC

Modified:

2017-08-08 13:39:20 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot create mailbox or change its settings: ValueError: bad marshal data

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

Cannot create mailbox or change its settings (update password):

    Error: mailmng-outgoing failed: Traceback (most recent call last):
File "/usr/local/psa/admin/sbin/mailmng-outgoing", line 5, in
import outgoing
File "/usr/local/psa/lib/modules/python/mailmng-outgoing/outgoing.py", line 12, in
from plesk_outgoing_mail_db import OutgoingMailLimitsDb
File "/usr/local/psa/lib/modules/python/pylib-outgoing-mail/plesk_outgoing_mail_db.py", line 10, in
from plesk_sqlite3_db import Sqlite3Db, sqlite3
ValueError: bad marshal data (unknown type code)

Cause

Corrupted file /usr/local/psa/lib/modules/python/pylib-outgoing-mail/plesk_sqlite3_db.pyc

Resolution

  1. Remove plesk_sqlite3_db.* , plesk_outgoing_mail_db.* files
  2. Recreate these files by reinstalling psa-mail-driver-common package, e.g. for Plesk 12.5, CentOS 7:
    # wget http://autoinstall.plesk.com/PSA_12.5.30/dist-rpm-CentOS-7-x86_64/opt/maildrivers/psa-mail-driver-common-12.5.30-cos7.build1205150826.19.x86_64.rpm
    # rpm -Uvh --force psa-mail-driver-common-12.5.30-cos7.build1205150826.19.x86_64.rpm
Have more questions? Submit a request
Please sign in to leave a comment.