Archive for the 'Plesk Support' Category

DNS Records for Domain Aliasses not provisioned.

Error

when you Domain Alias to a Domain, and select all appropriate check boxes, no records appear in the zone file. The zone file itself is created, and contains the SOA record. But no other records at all.

Resolution:

1. Download the module DNSManager.php and copy it to folder %plesk_dir%admin\plib\dns
2. Download the modules DomainAlias.php and DomainAliasesManager.php and copy it to folder %plesk_dir%admin\plib\domainaliases

Note : Please backup old module before copying.

The concerned files are available from the following links

ftp://download1.swsoft.com/Plesk/Autoupdate/Windows/8.3.0/128001/DNSManager.php
ftp://download1.swsoft.com/Plesk/Autoupdate/Windows/8.3.0/128001/DomainAlias.php
ftp://download1.swsoft.com/Plesk/Autoupdate/Windows/8.3.0/128001/DomainAliasesManager.php

How to reset SQL “sa” password and Integrate with Plesk Control panel

The following steps will guide you to reset the SQL admin password and how to integrate it with Plesk control panel for hosting purpose.

Step 1: Login to the Windows server through RDP.

Step 2: Open CMD ( Start -> Run -> type: cmd then Enter)

Step 3: cd “c:\Program files\Microsoft SQL Server\80\Tools\Binn”

Step 4: Now execute the following command.

osql -E -Q “EXEC sp_password @new=’newpassword’, @loginame = ’sa’”

Now integrate SQL server with Plesk control panel.

Step 1: Login to Plesk control panel using the admin login.

Step 2: Select “Server >> Databases >> Add new database”.

Step 3: Create new MSSQL database server using SQL admin (known as “sa”) login details.

defpackagemng failed: Access is denied.

If you are getting the following error when logging into Plesk control panel (Windows) :

DefPackageMng() constructor failed: defpackagemng failed: Access is denied. Error code 5) at CreateProcess ‘C:\WINDOWS\system32\cmd.exe /c “”C:\Plesk\admin\bin\defpackagemng.exe” –get”‘
at execUtil C:\Plesk\admin\bin\defpackagemng.exe –get on C:\Plesk\admin(PleskSrvClient::execUtil line 420)at execute console command –get(vconsoleapp::start line 128)
at execute C:\Plesk\/admin/bin/defpackagemng –get(vconsoleapp::run line 138)

Solution:

This error occurs when Plesk Control Panel service Apache can’t access to C:\Windows\System32\cmd.exe. This may happen when administrator manually changes permissions on file system. User SERVICE should have Read+Execute; Read on the file.

>> The following permissions should be set on ‘cmd.exe’ to make server work properly:

Administrators - Full Control
System - Full Control
Service - Read+Execute; Read
Interactive - Read+Execute; Read

Restart the plesk service. Try login again.

Plesk login page shows “Unable to connect to database : saved admin password is incorrect”

When try to login to Plesk admin panel the following error is displayed.

Unable to connect to database: saved admin password is incorrect. 0: C:\\Program Files\\SWsoft\\Plesk\\admin\\auto_prepend\\auth.php3:56 psaerror(string “Unable to connect to database: saved admin password is incorrect.”)

Reason:

The main reason for the issue is the PSA database user password and the Plesk admin password mismatch.

Solution:

Step 1 : Confirm the Plesk admin password. You can get the current Plesk password with command below.

%plesk_bin%\plesksrvclient.exe -get

Step 2 : Edit the MySQL configuration file(my.ini - %plesk_dir%\mysql\data\).

[C:\Program Files\Parallels\Plesk\mysql\data\]

Add the skip_grant_tables=1 parameter and restart the Plesk SQL Server service.

Note : Add to the [PleskSQLServer] section, NOT to [Client] section.

Step 3 : Reset the password

Type the below command to get into the MySQL prompt,

C:\Program Files\Parallels\Plesk\mysql\bin\mysql.exe -P8306 mysql

Now from the MySQL prompt, type

update mysql.user set password=password(’current_password’) where user=’admin’;

where ‘current_password’ is the current Plesk password.

Step 4 : Revert the changes

Remove the parameter ’skip_grant_tables=1′ from the MySQL configuration file and restart service Plesk SQL Server.

You should get the plesk admin page.

Plesk login page shows “Unable to connect to database : saved admin password is incorrect”

When try to login to Plesk admin panel the following error is displayed.

Unable to connect to database: saved admin password is incorrect. 0: C:\\Program Files\\SWsoft\\Plesk\\admin\\auto_prepend\\auth.php3:56 psaerror(string “Unable to connect to database: saved admin password is incorrect.”)

Reason:

The main reason for the issue is the PSA database user password and the Plesk admin password mismatch.

Solution:

Step 1 : Confirm the Plesk admin password. You can get the current Plesk password with command below.

%plesk_bin%\plesksrvclient.exe -get

Step 2 : Edit the MySQL configuration file(my.ini - %plesk_dir%\mysql\data\).

[C:\Program Files\Parallels\Plesk\mysql\data\]

Add the skip_grant_tables=1 parameter and restart the Plesk SQL Server service.

Note : Add to the [PleskSQLServer] section, NOT to [Client] section.

Step 3 : Reset the password

Type the below command to get into the MySQL prompt,

C:\Program Files\Parallels\Plesk\mysql\bin\mysql.exe -P8306 mysql

Now from the MySQL prompt, type

update mysql.user set password=password(’current_password’) where user=’admin’;

where ‘current_password’ is the current Plesk password.

Step 4 : Revert the changes

Remove the parameter ’skip_grant_tables=1′ from the MySQL configuration file and restart service Plesk SQL Server.

You should get the plesk admin page now

« Prev - Next »