• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

MAIL Tab broken

D

devindull

Guest
ERROR
Domain ID is undefined.
--------------------------------------------------------------------------------
0: /usr/local/psa/admin/htdocs/domains/mail/mail_names.php:18 psaerror(string "Domain ID is undefined.")

We continually get this error now for any domains when they go to their MAIL TAB in their Domain Options area on the Plesk interface.

We changed PHP.INI to disable certain features and we also chmoded /tmp/ and /var/tmp to 1666 to remove excute abilities, but due to MySQL problems I changed it to 1777 to get Plesk running again. Now, that isn't working. Any ideas?


PHP.INI:
disable_functions = "dl,phpinfo,shell_exec,passthru,exec,popen,system,proc_get_status,proc_nice,proc_open,proc_terminate,proc_close"
upload_tmp_dir = /var/tmp/phptmp

/tmp
drwxrwxrwt 8 root wheel 1K Nov 3 10:45 tmp
/var/tmp
drwxrwxrwt 5 root wheel 512B Nov 3 10:46 tmp


MYSQL won't connect as SWSOFT knowledge base says to do:
mysqlcheck -uadmin -p`cat /etc/psa/.psa.shadow ` psa
mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) when trying to connect

There is enough diskspace (82% used)
 
The php.ini directives are not related to Plesk (as long as you modify the correct php.ini in /etc/). The Mysql error says that Mysql is not running on your host, try to kill it manually and then restart it.
 
It didn't work. Same error:
mysqlcheck -uadmin -p`cat /etc/psa/.psa.shadow ` psa

mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (38) when trying to connect
 
You may try running safe_mysqld from the command line. That will usually retstart mysql properly, when it can't connect to the mysql.sock file.
 
Hello,

I have the same problem :

0: /usr/local/psa/admin/htdocs/domains/mail/mail_names.php:18 psaerror(string "Domain ID is undefined.")

while trying to configure e-mails.

How did you solve it ?

Thanks for helping,

Laurent
 
Back
Top