Hi !
THnks for all the help, it saved the day!!
The given solutions were working partially:
To help other people with same issues, this is what solved everything:
First:
plesk repair fs
plesk repair db
plesk repair installation
or
plesk repair all
Then reset permissions:
# for p in $(rpm -qa); do rpm --setugids $p; done
# for p in $(rpm -qa); do rpm --setperms $p; done
# chown root.psaadm /usr/local/psa/admin/sbin/mod_wrapper
Then still errors:
ERROR: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Permission denied' in /usr/local/psa/admin/externals/Zend/Db/Adapter/Pdo/Abstract.php:129 Stack trace: #0 /usr/local/psa/admin/externals/Zend/Db/Adapter/Pdo/Abstract.php(129): PDO->__construct('mysql:dbname=ps...', 'admin', '', Array) #1 /usr/local/psa/admin/externals/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /usr/local/psa/admin/externals/Zend/Db/Adapter/Abstract.php(460): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /usr/local/psa/admin/externals/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('select param, v...', Array) #4 /usr/local/psa/admin/plib/Db/Adapter/Pdo/Mysql.php(30): Zend_Db_Adapter_Pdo_Abstract->query('select param, v...', Array) #5 /usr/local/psa/admin/plib/db.php(36): Db_Adapter_Pdo_Mysql->query('select param, v...') #6 /usr/local/psa/admin/plib/db.php(212): db_query('select param, v...', false) #7 /usr/local/psa/admin/plib/Plesk/Mode.php(439): get_param('disable_pr (Abstract.php:144)
Then the first step of the solution:
service mariadb restart
Then last error was:
SQLSTATE[HY000] [1045] Access denied for user 'admin'@'localhost' (using password: NO)
Then the second step of the solution:
# plesk bin admin -p -passwd '<password>'
After that Plesk was accessible again!!
Thnks!