Tuesday, May 24, 2011

Synergy error 'Cannot lock project' upon reconfigure (update)

Somehow this page disappeared from IBM site so replicating it here. Historical number below hints that it was created during Telelogic days.

Message 'Cannot lock project' while doing a reconfigure or reconcile

Technote (FAQ)

Question

I am getting the message 'Cannot lock project' while doing a reconfigure or reconcile. How can I resolve this?

Answer

When you initiate an operation which modifies the project members, such as reconfigure, the projectis locked. If the operation terminates abnormally, the lock may not be cleaned up and subsequent actions may fail and result in a 'Cannot lock project' message. For example, if a user terminated their client during a large reconfigure, rather than waiting for the operation to finish.

If all actions took place using the same client, restart the client and this will usually resolve the issue. This is normally the case for a working project.

If however multiple clients are accessing the project it may be more difficult to resolve the issue. This may be the case for prep and shared projects.

The solution for this should be to run:

ccm monitor -showlocks

ccm monitor -removelock XXX


...where XXX is the full line returned from showlocks.

If this still does not resolve the situation, then you will need to shutdown the entire database with the 'ccmdb shutdown' command, to ensure all connections are terminated.

Should the problem persist even after a 'ccmdb shutdown' then you should run:

onstat -k > locks.txt


and contact IBM Rational Client Support for further assistance and specific steps for your environment.

Once the onstat command has been performed then you can also restart Informix, as this should release the locks effecting the operation.

Historical Number

KB7898

No comments:

Post a Comment