fs_check reports "WARNING: ... cache file modification time is NEWER than its source modification time in the database" in Rational Synergy

Technote (troubleshooting)


Problem(Abstract)

Attempts to run the fs_check command reports "WARNING: name-version:type:instance's cache file modification time is NEWER than its source modification time in the database" in IBM Rational Synergy

Symptom

The fs_check command reports the following message:


    WARNING: name-version:type:instance's cache file modification time is NEWER than its source modification time in the database:
    Cache file path:          /path/to/database/dbname/st_root/cache/source/#45/12345
    Source modification time: 2010-04-22 16:36:20
    Cache modification time:  2010-04-27 09:00:36
    Status log:
    Thu Apr 22 16:34:55 2010: Status set to 'working' by userA in database MyDatabase
    Thu Apr 22 16:36:20 2010: Status set to 'integrate' by userA in database MyDatabase


Cause

The ‘source_modify_time’ attribute is set to the time when an object version was first checked into a static state. It should match the timestamp on the cache file. If it doesn’t, then you will see this warning message.

The error may mean that someone has edited the cache file after check in or the permissions of the file were changed. Only user ccm_root or the Synergy Admin user should be able to modify the files.

Diagnosing the problem

Get the ‘source_modify_time’ of the object:
ccm attr -s source_modify_time name-version:type:instance

Check the time stamp and permissions of the file in the cache:

ls -al /path/to/database/dbname/st_root/cache/source/#45

  • The time stamp of the object should be the same as the ‘source_modify_time
  • The owner and group should be user 'ccm_root'
  • The permissions should be readable by everyone and writable by ccm_root only.

Note: If you see static objects where the owner and group are other than user ' ccm_root' or the permissions are not correct then contact Rational Client Support.

Resolving the problem

To resolve the problem you must do the following:

For demonstration purposed lets assume you have the following error:


    WARNING: filename.c-2:csrc:DCM2#2's cache file modification time is NEWER than its source modification time in the database:
    Cache file path:          /path/to/database/dbname/st_root/cache/source/#83/27783
    Source modification time: Wed Jul 19 11:40:15 2009
    Cache modification time:  Tue Sep 05 13:03:08 2009

  1. Move the the cache file to a safe backup folder.
    For example:
    % mv /path/to/database/dbname/st_root/cache/source/#83/27783 /tmp/27783.saved

  2. Re-create the cache file form the archived source:
    On UNIX:ccm cat filename.c-2:csrc:DCM2#2 > /dev/null
    On Windows: ccm cat filename.c-2:csrc:DCM2#2 > NULL


  3. Compare this new cache file with the cache file you moved to /tmp in Step 1.
    1. Delete temporary file if they are identical
    2. Restore the cache file if they are not identical.
      See the following for instructions on this:
      Technote 1427163: SERIOUS: Extracted archive and cache files differ for ...

Related information

Windows archive_fix
UNIX archive_fix (Informix)
UNIX archive_fix (Oracle)
How to fix your fs_check errors
Finding the path to an archive file
Structure of the Cache and Archive

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational Synergy
General Information

Software version:

6.5a, 6.5, 6.6a, 7.0, 7.1, 7.2

Operating system(s):

AIX, HP-UX, Linux, Solaris, Windows

Reference #:

1626078

Modified date:

2014-03-28

Translate my page

Machine Translation

Content navigation