KdoLib 4025 Cannot Seize Semaphore It was Previously Locked

Article taken from the following Tungsten KBs:

https://knowledge.tungstenautomation.com/bundle/z-kb-articles-salesforce5/page/19691.html https://knowledge.tungstenautomation.com/bundle/z-kb-articles-salesforce7/page/33062.html

Issue


The Remote Synchronization Agent (RSA) is reporting an error message similar to the following, and fails to synchronize:


[4025] KdoLib: Cannot seize semaphore '<BatchClassName>' (1). It was previously locked by '<OtherBatchClassName>' LockID={82ca65e1-d71c-496c-b7c4-a14c1eb87889}

Solution


This can be resolved on the Remote Site and running the following SQL commands:


SELECT * from acsystem.dbo.xlock where abandoned = 1

This command will allow you to determine if there are abandoned locks that need to be removed.

To remove the abandoned locks, run the following command:


DELETE from acsystem.dbo.xlock where abandoned = 1

Please see link to SQL EZ Query Utility which allows you to run SQL queries without the need for the SA password: (Run the Utility in Administrator Mode)


For Capture 11.0,use this attachment: kieasyquery2018.zip

For Capture 11.1, use this attachment: kieasyquery_2022-01.zip

 

Please make a backup of the SQL Database before deleting records.

 

Please contact Genus Support if you have additional questions or concerns: support@genustechnologies.com


This applies to:


Kofax Capture Versions 11.0 and 11.1