Monday 2 December 2013

Endeca “Failed to obtain lock” indexing error solution

While running baseline or partial indexing,you may encounter the below error.

INFO:Checking definition from AppConfig.xml against existing EAC provisioning.
INFO:Definition has not changed.
INFO:Starting baseline update script.
WARNING:Failed to obtain lock. 
Below is the reason behind this.
If running script breaks halfway through its execution due to an unhandled exception, or is manually interrupted 
by a user pressing Ctrl-C while it is running, the lock remains set within the EAC.  
To resolve this use below commands.
On Windows: .\runcommand.bat LockManager releaseLock update_lock
On UNIX: ./runcommand.sh LockManager releaseLock update_lock

Now run the indexing,it will work.

No comments:

Post a Comment