Plesk upgrade fails: Access is denied. (Error code 5) at StartService 'PleskSQLServer'

Created:

2017-03-30 19:56:07 UTC

Modified:

2017-08-08 13:26:16 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Plesk upgrade fails: Access is denied. (Error code 5) at StartService 'PleskSQLServer'

Symptoms

  • Plesk upgrade fails with the following message:
    Upgrading Plesk SQL server... 
    MSI: Error! Critical action 'Upgrade data of MySQL Server...' failed:
    Command "C:\Program Files (x86)\Parallels\Plesk\admin\bin\mysqlmng_adm.exe" --upgrade-server-data "--initial-ver=5.5" "--target-ver=5.5.54" failed with code 1. Output: Stop service...
    Removing InnoDB log files...
    Start service...
    Access is denied. (Error code 5) at StartService 'PleskSQLServer'
    at (service::startService line 211)
    at startService(PleskSQLServer)(service::startService line 274)
    at execute console command --upgrade-server-data(vconsoleapp::start line 122)
    at execute "C:\Program Files (x86)\Parallels\Plesk\admin\bin\mysqlmng_adm.exe" --upgrade-server-data "--initial-ver=5.5" "--target-ver=5.5.54"(vconsoleapp::run line 139)
    at (CmdAction::Commit line 393)
    at Execute action Upgrade data of MySQL Server...(executeList line 271)
    Failed to install 'C:\ParallelsInstaller\parallels\PANEL-WIN_17.5.3\dist-msi-Microsoft-2003-i386\mysql-admin.msi': Fatal error during installation. (Error code 1603)
    Error: The installation of the package 'mysql' failed with code 1603. (upgrade: Upgrading Plesk SQL server...)
  • Executing of the command below shows the same error:
    msiexec /i "C:\ParallelsInstaller\parallels\PANEL-WIN_17.0.17\dist-msi-Microsoft-2003-i386\php70_mu017.msi" /L*V "C:\MyFile.log" AUTOINSTALLER=1
  • There is no antivirus software installed on the server.

Cause

Incorrect permissions on %plesk_dir%MySQL and %plesk_dir%MySQL\bin folders.

Resolution

Correct permissions should be as displayed on the screenshots below:

- for %plesk_dir%MySQL

default_permissions.png

- for %plesk_dir%MySQL\bin

Screenshot_49.png

Have more questions? Submit a request
Please sign in to leave a comment.