Automated Bind installation is inconsistent in Windows 2012R2 VMs

Created:

2016-12-12 03:48:36 UTC

Modified:

2017-08-08 13:40:00 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Automated Bind installation is inconsistent in Windows 2012R2 VMs

Applicable to:

  • Plesk 12.5 for Windows

Symptoms

During automated install of Plesk in customer's VM in scope of OSA Plesk in VPS module, installation fails with the following error message:

"The DNS service is not installed."

While setting BIND as default DNS server the following can be found:

Error: Unable to set BIND DNS Server 9.10.3-P4 <id:ebd72b3> as the default DNS Server: defpackagemng failed: Das System kann die angegebene Datei nicht finden. (Error code 2) at lookup subKey=SOFTWARE\\Plesk\\PSA Config\\Config\\Packages\\dnsserver\\dns value=dll
at (registry::getstr line 748)
at doSetPackage(dnsserver, dns)(VPackageManager::doSetPackage line 419)
at execute console command --set(vconsoleapp::start line 100)
at execute "C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin\\defpackagemng.exe" --set "--type=dnsserver" "--default=bind"(vconsoleapp::run line 117)
(Error code 1)

Cause

Not clear. Incorrect registry path SOFTWARE\\Plesk\\PSA Config\\Config\\Packages\\dnsserver\\dns was registered without proper ones.

Workaround

Reinstall BIND manually:

C:\\Plesk_Installer.exe --console --select-product-id panel --select-release-current --remove-component dns
C:\\Plesk_Installer.exe --console --select-product-id panel --select-release-current --install-component dns
Have more questions? Submit a request
Please sign in to leave a comment.