Robot deployment job failed

Document ID : KB000123166
Last Modified Date : 19/12/2018
Show Technical Document Details
Issue:
When trying to deploy robots to the target Windows servers, an error was returned:

'Could not copy file 'nms-robot-vars-xxx.txt' to target 'xxx''

from automated_deployment_engie 8.51

ADE 8.51 log:

12192018 10:56:18,964 [attach_socket] TRACE TrackerUtil - -- createPSDForDBTask -- retrieving status message using Locale(en_US)
12192018 10:56:18,964 [attach_socket] TRACE AutomatedDeploymentEngineProbe - ADE - get_status callback PDS dump: 
    JobStatus=Failed, JobDescription=Automated deployment job Created at 1545196212973, EndTime=1545196236646, JobName=Deploy robot to XXXXXX, StartTime=1545196215452, , JobID=b78f3f832bf74f098208223860f775dc        StatusTable:             xx.xx.xx.xx: Status=Failed, Type=Host, TaskId=236, Description=Could not copy file 'nms-robot-vars-10.131.140.48_2018-12-19_10-40-21.txt' to target 'xx.xx.xx.xx'., Address=, Version=Latest, Error=Could not copy file 'nms-robot-vars-10.131.140.48_2018-12-19_10-40-21.txt' to target 'xx.xx.xx.xx'., Host=xx.xx.xx.xx, Package=robot_exe.zip, JobID=b78f3f832bf74f098208223860f775dc

An error was returned:

ADE 9.02 log: 'com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: com.hierynomus.protocol.transport.TransportException: java.net.SocketException: Connection reset' 

from automated_deployment_engie 9.02, ADE 9.02 log:

12192018 10:36:02,548 [attach_socket] TRACE TrackerUtil - -- createPSDForDBTask -- retrieving status message using Locale(en_US)
12192018 10:36:02,548 [attach_socket] TRACE TrackerUtil - -- createPDSForDBTask -- retrieving status message for using Locale(en_US) failed. Using default Locale(en_US)
12192018 10:36:02,548 [attach_socket] TRACE AutomatedDeploymentEngineProbe - ADE - get_status callback PDS dump: 
    JobStatus=Failed, JobDescription=Automated deployment job Created at 1545195852084, EndTime=1545195861739, JobName=Deploy robot to XXXXXX, StartTime=1545195852087, , JobID=7376a3faefd1462e80b08b679b1e73b8        StatusTable:             XXXXXX: Status=Failed, Type=Host, TaskId=85, Description=com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: com.hierynomus.protocol.transport.TransportException: java.net.SocketException: Connection reset, Address=, Version=Latest, Error=com.hierynomus.protocol.transport.TransportException: java.util.concurrent.ExecutionException: com.hierynomus.smbj.common.SMBRuntimeException: com.hierynomus.protocol.transport.TransportException: java.net.SocketException: Connection reset, Host=lijsh06-i19940, Package=robot_exe.zip, JobID=7376a3faefd1462e80b08b679b1e73b8

 
Environment:
UIM 8.51 with Automated_deployment_engine 8.51

UIM 9.02 with Automated_deployment_engine 9.02

Target Windows server 2012 R2
Cause:
The service 'Server' is not started on the Windows server which is responsible for all shares available on Windows servers.
Resolution:
Start service 'Server' on target Windows server.
Additional Information:
UIM KB 
https://comm.support.ca.com/kb/unable-to-deploy-robot/kb000072936

MS KB regarding SMB

https://support.microsoft.com/en-us/help/2696547/how-to-detect-enable-and-disable-smbv1-smbv2-and-smbv3-in-windows-and

MS KB regarding Administrative Shares

https://support.microsoft.com/en-us/help/954422/how-to-remove-administrative-shares-in-windows-server-2008