Article ID: 11217, created on Apr 1, 2011, last review on Dec 5, 2014

  • Applies to:
  • Plesk 10.x for Linux
  • Plesk 9.x for Linux/Unix
  • Plesk 8.x for Linux/Unix

Symptoms

Mailbox creation, updating or deleting fails with the following error:

Unable update mailbox: mailmng failed: mailmng: unable to open mail authentication database: DB_RUNRECOVERY: Fatal error, run database recover

System error 2: No such file or directory
mailmng: unable to set password
System error 2: No such file or directory
Additionally: Unable to remove the mail acccoutns: %1mailmng failed: mailmng: unable to open mail authentication database: DB_RUNRECOVERY: Fatal error, run database recover

Resolution

Mail authentication database should be re-built.Use the following instruction:

1. Move the corrupted authentication database directory to another location:
# mv /var/lib/plesk/mail/auth/ /var/lib/plesk/mail/auth.old

2. Create empty directory for the new database
# mkdir /var/lib/plesk/mail/auth/

3. Rebuild database using 'mail_auth_dump' utility.
For Parallels Plesk Panel 8.x this utility is located in the $PRODUCT_ROOT_D/admin/sbin/ directory
/usr/local/psa/admin/sbin/mail_auth_dump

For Parallels Plesk Panel 9.x. and higher the 'mail_auth_dump' utility can be found in the $PLESK_LIBEXEC_DIR directory.
/usr/lib64/plesk-9.0/mail_auth_dump

4. Then reconfigure mail settings using mchk utility:
/usr/local/psa/admin/sbin/mchk --with-spam

dd0611b6086474193d9bf78e2b293040 a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 6ef0db7f1685482449634a455d77d3f4 b8ef5052d936e902043e41759118114e 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF