• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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