IBM Support

fs_check reports an archive is "locked by: username" in Rational Synergy

Troubleshooting


Problem

Attempts to run fs_check reports an archive is "locked by:username" in IBM Rational Synergy

Symptom

When you run fs_check you may get an error similar to the following:

RCS file: /dbase/path/name/st_root/archive/source/ascii/ccm_rcs/?/?/file.ext,v
Working file: file.ext
head: 1.114
branch:
locks: strict
fontain: 1.114
access list:
symbolic names:
keyword substitution: kv
total revisions: 92;        selected revisions: 92
description:
----------------------------
revision 1.114        
locked by: username;
date: 2000/04/26 15:10:10;  author: username;  state: Exp;  lines: +11815 -7718
111333 file.ext,06_54:ascii:1
----------------------------
revision 1.105
date: 2000/02/23 13:55:41;  author: username;  state: Exp;  lines: +7109 -7109
103427 file.ext,5NR_0622_gpl:ascii:1
----------------------------


Note the “locked by: username" text above

Cause

This is where the RCS archive is locked by a user (named “username” in this example), and so it may not be updated.

Resolving The Problem

  1. Confirm if user is updating object.
    It may be that this user is currently updating the archive, so the first thing to do is to wait and check with this user to see they are still running a session. If no session is running for “username”, then you can unlock the file per step 2


  2. Unlock the archive file:
    % $CCM_HOME/bin/util/ccm_grcs –u /dbase/path/name/st_root/archive/source/ascii/ccm_rcs/?/?/file.ext,v
    (substituting the full path to the archive with the one from the log file above).


  3. Run “ccm fs_check” against the versions of this object to verify that it has no additional errors or warnings.

[{"Product":{"code":"SSC6Q5","label":"Rational Synergy"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General Information","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"6.3;6.4;6.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
22 December 2020

UID

swg21628608