Security Compliance
Failed to send partitioned task to Management Server
When attempting to push an update, the task fails. Looking in Task History, you see the tasks fail with this error: "Failed to send partitioned task to Management Server <PAS>. Reason: rpcsessionmanagerproxy::instance()->execute() failed with Exception. Message: Object reference not set to an instance of an object..
First published date
Last published date
Overview
When you publish an update, the task fails and generates the following error in Task History:
"Failed to send partitioned task to Management Server <PAS>. Reason: rpcsessionmanagerproxy::instance()->execute() failed with Exception. Message: Object reference not set to an instance of an object.. Call Stack: at EminentWare.Core.Server.Jobs.ManagementServerJobOrchestrator.ManufactureJobs()
This error also occurs when you try to pull WSUS/SAS server details using the Server Publishing Wizard.
Product section
Cause
- PAS (management Server) and Automation Server(s)
- PAS and PM Agents.
Resolution
Datagrid Service Port Access Validation: This error might show up when running any jobs targeted to SAS or accessing SAS details or SPM Agent node.
- To validate access to port 4092 between PAS and SAS (bi-direction) servers or the SPM Agents and PAS depending on source and target devices, follow below process.
# run the below powershell command from both PAS and SAS to verify two way port access #From PAS to SAS example & expected output.#From SAS to PAS you should expect same output as above. tnc -computer SAS_name -port 4092
- If TCPTestSucceeded is False, then verify the EminentWareDataGrid Service is running on both the Servers via services.msc
- If the EminentWareDataGrid Service is running and port 4092 is not blocked then verify the
deviceIDandCADeviceIDfrom theHKLM\SOFTWARE\EminentWare\Data Grid Serviceregistry on PAS
Automation Server: If your environment includes an Automation Server, perform the following steps:
- Log in to the Automation Server.
- Open Services (services.msc).
- Locate the EminentWare Data Grid Server Service
- Start the Eminentware Data Grid Server Service (if not started).
- Troubleshoot any errors. See the following resources for troubleshooting.
- If the EminentWare Data Grid Service is started, verify that the Automation Server Routing Rules (ASRR) are correct. See the following articles for details:
- Verify that the error is resolved.
Validate the Solarwinds Patch Manager Server(s) Configuration:
Verify that the servers are part of the default pool.
- Log in to Patch Manager.
- In the navigation pane, expand Patch Manager System Configuration and select Patch Manager Servers.
- In the center pane, verify that each server displays as True in the Default Pool column.
If a server in the Default Pool column displays False:- Select the server in the center pane.
- In the Action menu, click Patch Manager Server Wizard.
- Select Edit an existing Patch Manager Server's configuration settings, and click Next.
- In the Server name drop-down menu, select the targeted server, and then click Next.
- Select Include this Patch Manager server in the default round-robin pool, and click Next.
- Complete the wizard.
- Verify that the error is resolved.
If the error is not resolved, go to the next section.
Validate the Management Groups and Secondary Application Servers (SAS)
This issue can be caused by multiple secondary application servers belonging to separate management groups. If the error continues and you have multiple management groups and multiple secondary application servers, perform the following steps.
- Verify that Computer Management receives the same error.
- In the Patch Manager navigation pane, expand Enterprise and select Managed Computers.
- Right-click a test machine and select Computer Explorer.
- Click the System Information tab.
- Verify that the error displays in the tab window.
If the error is not displayed, you are finished.
If the error displays, go to the next step.
- Verify that the necessary servers are available in Application Servers.
- In the navigation pane, expand Patch Manager System Configuration > Patch Manager Servers and select Application Servers.
In some cases, the server will be listed as an automation server under Application Servers or Patch Manager Servers directly. If it is no longer an automation server, you may need to delete the server from this view for the task to complete.
- Verify that the error displays in the tab window.
If the error is not displayed, you are finished.
If the error displays, go to the next section.
Consolidate the SAS and PAS into one server
If the error message continues, it may be caused by multiple SAS belonging to separate management groups. Consolidate the SAS and PAS into one server and move the automation server routing rules to the consolidated management group.
- Record the existing automation server routing rules.
- In the navigation pane, expand Patch Manager System Configuration > Management Groups and select Managed Enterprise.
- Select one of the unnecessary management groups.
- In the center pane, select the Automation Server Routing Rules tab.
- Record the existing rule.
- Delete the rule.
Patch Manager does not support a duplicate Automation Server Routing Rule.
- Move the SAS from the unnecessary group to the primary Management Group.
- In the navigation pane under Patch Manager System Configuration, expand Patch Manager Servers and select Application Servers.
- In the Actions pane, click Patch Manager Server Wizard.
- Select Edit an existing Patch Manager Server's configuration settings, and click Next.
- Click the Server Name drop-down menu, select the server that needs to be moved, and then click Next.
- Click the Management Group drop-down menu, select the primary management group that will host the SAS, and then click Next.
Patch Manager may display an error stating that the rule already exists. Click OK to close the error and then refresh your screen. The new rule should display in the console.
Verify that the error is resolved
- Repeat the steps in the previous sections for any remaining groups.
- Confirm that the error is resolved by checking Computer Management.
See Configure the management groups and secondary application servers in a previous section for details. - Re-run any failed tasks to confirm they complete as required.