• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Backup Restore Failed - mailmng failed

Y

Yohan FidzriA

Guest
Hi,

I encountered error when restoring from backup with the following errors :-


An error occured during domain creation: unable to update domain preferences: Unable to update domain data: mailmng failed: Fatal error: plesk::mail::postfix::postfixConfigurationError(postmap: fatal: open database /var/spool/postfix/plesk/virtual.db: Invalid argument
)
</text></message></message><message code="FailedDomainDeployment" severity="error"><context>void plesk::tDomainDeployer::eek:perator()(plesk::XmlNode) const</context><file>./domain_deploy.cpp</file><line>381</line><text>Failed deployment of domain emaac.org</text><message code="ExecCmd::ExFailed" severity="error"><context>void plesk::ExecCmd::reportError() const</context><file>ExecCmd.cpp</file><line>49</line><text>Execution of /usr/local/psa/admin/plib/api-cli/domain.php --create example.com -owner client -notify false -guid 7fece7bd-643a-434a-7ccd-b4111e6aeae0 -creation-date 2008-08-01 failed with return code 1.

Plesk ver 9.5.4 / CentOS v5.6

Thanks
 
Try to rebuild this database with following method:
# /usr/local/psa/admin/sbin/mailmng --stop-service
# mv /var/spool/postfix/plesk/virtual.db /var/spool/postfix/plesk/virtual.db_
# /usr/local/psa/admin/sbin/mchk --with-spam
# /usr/local/psa/admin/sbin/mailmng --start-service

I hope it will help.
 
Back
Top