• 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

Issue Problème installation plesk

Yzikaa

New Pleskian
Bonjour,
Je suis sur VPS DEBIAN 8 et j'aimerais installer plesk.
Voici la commande que j'entre :

hostname libertain.cz

sudo sh -c "wget http://installer.plesk.com/plesk-installer -O - | sh /dev/stdin --source Index of / --target /tmp/plesk-installation --select-product-id plesk --select-release-latest --installation-type "Typical" --notify-email [email protected]"


Message d'erreur:





===> Performing safe prep-install database actions

Trying to register service mysql... Trying to enable automatic respawn for service mysql.service... done
done
Trying to define valid mysql credentials... Trying to establish test connection... ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
failed
Trying to establish test connection... ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
failed
Trying to establish test connection... ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
failed
Trying to establish test connection... ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: NO)
failed
Trying to establish test connection... ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
failed
Trying to establish test connection... ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: NO)
failed
Trying to establish test connection... ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
failed
Trying to establish test connection... Could not open required defaults file: /root/.my.cnf
Fatal error in defaults handling. Program aborted
failed
One more attempt to connect
Trying to reset authentication for MySQL server... Trying to stop MySQL server... /usr/sbin/mysqld (pid 26770) is running...
Stopping MariaDB database server: mysqld.
done
Starting mysqld in authentication reset mode.
Waiting for mysqld to stop (60 seconds at most)200506 21:25:22 [Note] mysqld (mysqld 10.0.38-MariaDB-0+deb8u1) starting as process 27913 ...
... Looks like mysqld stopped normally.
Waiting for mysqld return code (if this hangs, try 'kill -9 27913')... done
Trying to restart service mysql... /usr/sbin/mysqld is stopped
Starting MariaDB database server: mysqld.
done
Trying to establish test connection... connected
done
ERROR 1396 (HY000) at line 1: Operation CREATE USER failed for 'admin'@'localhost'

ERROR while trying to create 'admin' MySQL user. Plesk has been able to successfully connect to MySQL server, but assigning password and privileges to the new user failed. If you are installing Plesk on an already configured MySQL server with enabled password strength validation, you may need to disable it for the initial Plesk installation. After the installation is finished, you may re-enable it.

Check the error reason (see log file: /var/log/plesk/install/plesk_18.0.26_installation.log), fix and try again
***** problem report *****
ERROR while trying to create 'admin' MySQL user. Plesk has been able to successfully connect to MySQL server, but assigning password and privileges to the new user failed. If you are installing Plesk on an already configured MySQL server with enabled password strength validation, you may need to disable it for the initial Plesk installation. After the installation is finished, you may re-enable it.
Launching component and product checkers...
Downloading file report-update: 0%
Downloading file report-update: 100% was finished.
Downloading file pool/PSA_18.0.26_2994/examiners/py_launcher.sh: 0%
Downloading file pool/PSA_18.0.26_2994/examiners/py_launcher.sh: 100% was finished.

ERROR: An error occurred during performing of installation PREP actions (see log for details). Installation was rolled back.
Warning! Not all packages were installed.
Please check if your system services are operable.
Please resolve this issue and try to install the packages again.
Visit Plesk Help Center to search for a solution.




Cordialement
 
Hi Yzikaa,

Could you please clarify what type (mysql/mariadb/etc.) and database version is used on your server?
 
ERROR while trying to create 'admin' MySQL user. Plesk has been able to successfully connect to MySQL server, but assigning password and privileges to the new user failed. If you are installing Plesk on an already configured MySQL server with enabled password strength validation, you may need to disable it for the initial Plesk installation. After the installation is finished, you may re-enable it.

I am not sure but maybe Your password does not satisfy the current policy requirements could help?

Why do you try to install Plesk on a server with a pre-installed database?
 
Yes, it is one of the possible solutions: let Plesk install a database from the system's repository and configure it.
 
Yes, it is one of the possible solutions: let Plesk install a database from the system's repository and configure it.
Bonjour, j'ai delete mysql php admin de mon vps, j'ai essayé de le re installer....



Voici mon erreur (encore)




Trying to register service mysql... Trying to enable automatic respawn for service mysql.service... done
done
Trying to define valid mysql credentials... Trying to establish test connection... ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
failed
Trying to establish test connection... ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
failed
Trying to establish test connection... ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
failed
Trying to establish test connection... ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: NO)
failed
Trying to establish test connection... ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
failed
Trying to establish test connection... ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: NO)
failed
Trying to establish test connection... ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
failed
Trying to establish test connection... Could not open required defaults file: /root/.my.cnf
Fatal error in defaults handling. Program aborted
failed
One more attempt to connect
Trying to reset authentication for MySQL server... Trying to stop MySQL server... /usr/sbin/mysqld (pid 1252) is running...
Stopping MariaDB database server: mysqld.
done
Starting mysqld in authentication reset mode.
Waiting for mysqld to stop (60 seconds at most).200521 14:09:51 [Note] mysqld (mysqld 10.0.38-MariaDB-0+deb8u1) starting as process 15366 ...
.... Looks like mysqld stopped normally.
Waiting for mysqld return code (if this hangs, try 'kill -9 15366')... done
Trying to restart service mysql... /usr/sbin/mysqld is stopped
Starting MariaDB database server: mysqld.
done
Trying to establish test connection... connected
done
ERROR 1396 (HY000) at line 1: Operation CREATE USER failed for 'admin'@'localhost'

ERROR while trying to create 'admin' MySQL user. Plesk has been able to successfully connect to MySQL server, but assigning password and privileges to the new user failed. If you are installing Plesk on an already configured MySQL server with enabled password strength validation, you may need to disable it for the initial Plesk installation. After the installation is finished, you may re-enable it.

Check the error reason (see log file: /var/log/plesk/install/plesk_18.0.27_installation.log), fix and try again
***** problem report *****
ERROR while trying to create 'admin' MySQL user. Plesk has been able to successfully connect to MySQL server, but assigning password and privileges to the new user failed. If you are installing Plesk on an already configured MySQL server with enabled password strength validation, you may need to disable it for the initial Plesk installation. After the installation is finished, you may re-enable it.
Launching component and product checkers...
Downloading file report-update: 0%
Downloading file report-update: 100% was finished.
Downloading file pool/PSA_18.0.27_3171/examiners/py_launcher.sh: 0%
Downloading file pool/PSA_18.0.27_3171/examiners/py_launcher.sh: 100% was finished.

ERROR: An error occurred during performing of installation PREP actions (see log for details). Installation was rolled back.
Warning! Not all packages were installed.
Please check if your system services are operable.
Please resolve this issue and try to install the packages again.
Visit Plesk Help Center to search for a solution.
 
Last edited:
Back
Top