Unable to create mail account. Following error in /usr/local/psa/admin/logs/panel.log
2013-11-07T20:55:30+00:00 ERR (3) [util_exec]: proc_close() failed [07-Nov-2013 20:55:30 UTC] PleskUtilException: '/usr/local/psa/admin/bin/mailmng-core' '--add-mailbox' '--domain-name=domain.com' '--mailname=testpara' failed with code 1. stdout: unable to set password System error 2: No such file or directory stderr: mailmng: Unable to prepare SQL statement for query 'SELECT id FROM domains WHERE name=LOWER(?)': no such table: domains mailmng: No such domain 'domain.com' in the mail authentication DB unable to set password System error 2: No such file or directory
When attempting to fix the issue with "mchk" utility, got that "/usr/lib64/plesk-9.0/mailsrv_conf_init" module failed. If you try to run this module separately got the following error:
[root@hostname ~]# /usr/lib64/plesk-9.0/mailsrv_conf_init /usr/lib64/plesk-9.0/mailsrv_conf_init: Unable to resolve fqdn: Name or service not known /usr/lib64/plesk-9.0/mailsrv_conf_init: It is impossible to detect the FQDN of the host. Please make sure that the host name is correctly specified in /etc/hosts and goes right after the host's IP address. Depending on your OS, you might need to set the host name in /etc/HOSTNAME or /etc/hostname. /usr/lib64/plesk-9.0/mailsrv_conf_init: unable to get hostname: Success Unable to create files for qmail
Server' hostname resolves to non-local IP address or cannot be resolved at all:
# hostname myplesk.example.com # host plesk.example.com Host myplesk.example.com not found: 3(NXDOMAIN)
To set the hostname follow to steps described in the article How do I get or change the server hostname on the Parallels Plesk Panel server?