• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

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