Symptoms
-
Plesk upgrade has failed with the error:
Info 1923.Service 'Plesk SQL Server' (PleskSQLServer) could not be installed. Verify that you have sufficient privileges to install system services MSI (04): ExecServiceConfig: Error 0x80070430: Cannot change service configuration. Error: The specified service has been marked for deletion. Failed to install 'C:ParallelsInstallerparallelsPANEL-WIN_17.8.11dist-windowsmysql-admin_mu067.msi': Fatal error Action '' failed with error 1603(0x00000643) Error: The installation of the package 'mysql' failed with code 1603. (upgrade: Upgrading Plesk SQL server...)
-
Plesk SQL Service fails to start with the following error:
System error 1058 has occurred. The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
-
No specific errors in the PleskSQL service error log.
Cause
Plesk SQL Server service configuration has been corrupted during the update.
Resolution
-
Connect to the server via RDP
-
Stop the PleskSQLServer service:
C:> net stop PleskSQLServer
-
Delete the PleskSQLServer service:
C:> sc delete PleskSQLServer
-
Re-create the PleskSQLServer service:
C:> sc create PleskSQLServer start= auto DisplayName= "Plesk SQL Server" binPath= ""%plesk_dir%MySQLbinmysqld.exe" --defaults-file="%plesk_dir%MySQLmy.ini" PleskSQLServer"
-
Configure the Log on user in the PleskSQLServer service:
C:> sc config "PleskSQLServer" obj= "NT ServicePleskSQLServer"
-
Start the PleskSQLServer service:
C:> net start PleskSQLServer
-
Continue with the upgrade of Plesk with the following command and selecting forward options:
C:> plesk installer --console --debug
Note: The following warning might appear during the upgrade, but can be safely ignored:
Continuing with the upgrade without having an appropriate product license key will result in the installation of a default license key with limited functionality. Administrators are advised to first acquire the appropriate license key before continuing with the product upgrade.