Error messages when administrating email accounts

Created:

2016-11-16 12:50:41 UTC

Modified:

2017-04-24 12:09:57 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Error messages when administrating email accounts

Applicable to:

  • Plesk for Linux

Symptoms

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[11868]: Unable to prepare SQL statement for query 'SELECT id FROM domains WHERE name=LOWER(?)': no such table: domains
mailmng[11868]: 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[12057]: Unable to resolve fqdn: Name or service not known
/usr/lib64/plesk-9.0/mailsrv_conf_init[12057]: 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[12057]: unable to get hostname: Success
Unable to create files for qmail

Cause

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)

Resolution

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?

Have more questions? Submit a request
Please sign in to leave a comment.