Failed to replace agent

The Issue:

When you try to connect to an end point after upgrading to a new Controlup Real Time Console version.

The console is trying to upgrade the agent but fails with error:

"Failed to replace files to match version X. Failed to terminate the server agent on machine X"

The Reason:

The reason for this issue could be:

1. Permissions

2. Connection

3. WMI repository issue

 

The Resolution:

 

To troubleshoot the connection issue, please use ControlUp's diagnostics tools:

1. Ping - to test connection

2. Admin$ - to see if you have administrative rights on the target end point

3. Test WMI - to check the target end point's WMI repository functionality

 

 

In case you have connection issue please refer to the article Troubleshooting Connections Issues To Managed Computers and if the issue is with admin access, please refer to Missing Admin Rights.

By running the Test WMI diagnostics, you are trying to execute the following command: wmic /NODE:computername /user:domain\username SERVICE list Full

If it fails, try to run the command locally on the target end point to verify this is not a connection issue and is a WMI issue.

If you discover that the WMI repository is corrupt on the servers that would not allow a push of the new agent, we suggest you run 'winmgmt /salvagerepository' at an elevated command prompt.

To verify the issue is resolved you can run 'wmic service list full' and see that now it works.

 

Powered by Zendesk