Article ID: 119460, created on Jan 2, 2014, last review on May 11, 2014

  • Applies to:
  • Plesk Automation 11.1

Symptoms

Task for installation package to Windows Node fails with error:

    Task name: Install additional packages on node 'web01' according role PPA_IIS
    Output: Command 'cscript /Nologo "${rootpath}/agent_installer.vbs"' execution failed with code 1: Microsoft (R) Windows Script Host Version 5.8

Resolution

  1. Login to Windows Node by RDP

  2. Check logs in C:\PPA_LOGS, particular agent_installer

  3. If you see in logs that connection between Management node and Windows Node fails, please try to check network communications between Management and target Service Nodes. Ensure that WMI is not blocked on a target node. Or copy, paste and invoke the following script on a Windows Service Node:

    netsh advfirewall firewall add rule name="WinRM in" protocol=TCP dir=in profile=any localport=5985 remoteip=any localip=any action=allow
    netsh advfirewall firewall add rule name="POA in" protocol=TCP dir=in profile=any localport=8352 remoteip=any localip=any action=allow
    netsh advfirewall firewall add rule name="POA in 2" protocol=TCP dir=in profile=any localport=8354 remoteip=any localip=any action=allow
    netsh firewall add portopening TCP 5985 WinRM enable SUBNET
    netsh firewall add portopening TCP 8352 POA enable SUBNET
    netsh firewall add portopening TCP 8354 POA2 enable SUBNET
    sc config winrm start= auto
    sc start winrm
    %windir%\system32\timeout /t 5
    cmd /c winrm put winrm/config/service @{AllowUnencrypted = "true"}
    %windir%\system32\timeout /t 2
    cmd /c winrm put winrm/config/service/Auth @{Basic = "true"}
    %windir%\system32\timeout /t 2
    cmd /c winrm create winrm/config/Listener?Address=*+Transport=http @{Port="5985"}
    
  4. Try to execute task in PPA again

Cause

Network or Firewall issue

c1ecc6010feff26cb42d1d14a7881dd6 e0aff7830fa22f92062ee4db78133079 caea8340e2d186a540518d08602aa065

Email subscription for changes to this article
Save as PDF