cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Software Vulnerability Research Failure to Publish Some Updates

We have cloud-based Software Vulnerability Research (Previously Software Vulnerability Manager).  I have some updates that I've attempted to publish to WSUS multiple times, but they always come back as "failed".  Upon checking the logs for the SVM daemon service (svmpd.log), I see lines like:

[2/13/2020 3:38:49 PM|V] TRACE: UpdateTaskAsync a3f8dc4b-291a-4175-a9be-cdecdcb492ed, Failed,
[2/13/2020 3:38:49 PM|V] Request [POST]: daemon/tasks/a3f8dc4b-291a-4175-a9be-cdecdcb492ed/
[2/13/2020 3:38:49 PM|V] [POST data]: {"data":null,"status":"failed","reason":"The specified item could not be found in the database.","task_type":"approve_package"}
[2/13/2020 3:38:49 PM|V] Response 204: No Content
[2/13/2020 3:48:49 PM|V] Request [GET]: daemon/tasks/
[2/13/2020 3:48:49 PM|V] Response 200: OK
[2/13/2020 3:48:49 PM|V] [response data]: {"tasks": [{"task_id": "85b7c07e-ec90-4131-a5a1-64e86f7d383d", "task_type": "approve_package", "data": {"target_groups": [], "server_id": "20f64071-521e-4da3-a7f4-4c18a6538512", "server_name": "myserver.company.com", "package_id": "115447aa-e512-4559-935b-a61a932d5112"}}], "poll_interval": 600}
[2/13/2020 3:48:49 PM|V] Fetched 1 tasks.
[2/13/2020 3:48:49 PM|V] TRACE: Processing task 85b7c07e-ec90-4131-a5a1-64e86f7d383d of type ApprovePackage (ApprovePackageWorkItem)
[2/13/2020 3:48:49 PM|V] Running task of type ApprovePackage. (id: 85b7c07e-ec90-4131-a5a1-64e86f7d383d)
[2/13/2020 3:48:49 PM|W] Task execution failed (id: 85b7c07e-ec90-4131-a5a1-64e86f7d383d): The specified item could not be found in the database.

The log then shows a stack trace:

[2/13/2020 3:48:49 PM|V] --- Stack Trace Begins (0) ---
WorkExecutionException: The specified item could not be found in the database.
   at FlexeraSoftware.SVM.Daemon.ApprovePackageWorkItem.UpdatePackageAsync(IServiceProvider services, PackageApprovalTaskData data)
   at FlexeraSoftware.SVM.Daemon.DaemonWorkItem.ExecuteTasks()
--- Stack Trace Ends ---

So, it appears that something keeps getting stuck during the WSUS publishing process.  Some updates are making it through and getting published, however.  I'm assuming it's just something with particular updates, but I don't know how to fix it.  Any ideas?  (Note... "invalid HTML" was automatically stripped from this post when I posted it)

(1) Reply

Hi Bob,
I've worked with something similar before. It was previously corrected by deleting the Template,Package and Deployment and starting fresh for that package. Can you try that and let us know if that resolves the issue? Also please Restart the SVM Daemon service on the WSUS server prior to trying this. Thank you Bob.

I hope that helps.