• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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