Article ID: 129861, created on Nov 15, 2016, last review on Nov 28, 2016

  • Applies to:
  • Operations Automation 7.0
  • Operations Automation 6.0

Symptoms

If the option Propagate DNS zones to PA slave NS nodes is turned on in Plesk configuration, the task for provisioning Plesk fails with the following error:

Last execution output   
APS Application Error:
500 Internal Server Error
[ApplicationUnknownError] Provisioning: resource eeb6d154-ccf2-4756-9121-69e2cd278657 of type 'panels' (http://www.parallels.com/aps/plesk/panel/1.1) for APS application 'Parallels Plesk Panel-1.1-0': Internal Server Error: The running of command (cmd /c ""C:\Program Files (x86)\Parallels\Plesk\\bin\server_dns" --update-server -add-acl "192.0.2.2" <NUL 2>&1") returns 1 instead of 0. Command STDOUT: The DNS service is not installed.

Cause

Plesk installation got interrupted and re-run that resulted in disabled DNS service in the VPS.

Resolution

To fix the existing task, login into VPS and install bind into the VM via the following command:

C:\PleskInstaller.exe --console --select-product-id panel --select-release-current --remove-component dns
C:\PleskInstaller.exe --console --select-product-id panel --select-release-current --install-component dns

The same can be done from the Virtuozzo node via prlctl exec without logging in to the VPS:

# prlctl exec VPS_NAME "C:\PleskInstaller.exe --console --select-product-id panel --select-release-current --remove-component dns"
# prlctl exec VPS_NAME "C:\PleskInstaller.exe --console --select-product-id panel --select-release-current --install-component dns"

After that the task should be completed successfully.

In order to avoid such behavior please try to perform one the following scenarios:

  1. Disable auto-update option in the OS template the following way:

    1. Clone template to VM.
    2. Install all necessary Windows Updates.
    3. Reboot the system and switch "Update action" to "Download, but do not install updates".
    4. Create new OS template on the basis of the old one.
    5. Include new OS template in the Virtual Server Templates.
  2. Disable auto-update option during the Plesk installation by adding the following line as preinstall script:

    net stop wuauserv
    "C:\Windows\system32\reg.exe" add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v AUOptions /t REG_DWORD /d 2 /f
    net start wuauserv
    

    and the following as postinstall script:

    net stop wuauserv
    "C:\Windows\system32\reg.exe" add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v AUOptions /t REG_DWORD /d 4 /f
    net start wuauserv
    gpupdate /force
    
  3. Use a VM template with Plesk already installed: https://kb.odin.com/en/125253

Search Words

Plesk in VPS

provisioning failed

-

The DNS service is not installed

0871c0b47b3b86ae3b1af4c2942cd0ce caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5356b422f65bdad1c3e9edca5d74a1ae 1941880841f714e458ae4dc3d9f3062d 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0

Email subscription for changes to this article
Save as PDF