IBM Support

Delete failed with "Missing cache file for object ..." in Rational Synergy

Troubleshooting


Problem

Attempts to delete an object failed with "Missing cache file for object name-version:type:instance" in IBM Rational Synergy.

Symptom

When you look in the log file you will see an error similar to the following:


    Delete failed.
    Missing cache file for object 'foo.doc~5.1:binary:1':
    '/data/ccmdb/MyDatabase/st_root/cache/source/#56/123456'
    'foo.doc' was not copied to the database due to IO error. ( (No
    such file or directory))
    Rebind failed to bind foo.doc~5.0:binary:1 under parent MyDir~1:
    dir:9 in project MyProject,version.
    Object version is a member of a project.
    Unable to delete object from database: 'foo.doc~5.1:binary:1'

Cause

The error is caused because the cache file should exist but is missing.

Diagnosing The Problem

Run 'ccm fs_check -v objectname'. This may return the following error:



    $ ccm fs_check -v foo.doc~5.1:binary:1
    .
    1 objects specified for check.
    .
    SERIOUS: Cache file for non-static object foo.doc~5.1:binary:1 is
    missing.
    .
    Cache file
    path: /data/ccmdb/MyDatabase/st_root/cache/source/#56/123456
    .
    Status log:
    .
    Tue May 21 11:24:20 2013: Status set to 'working' by usera
    .
    Tue May 21 11:24:20 2013: Status set to 'visible' by usera
    .
    Skipping check for unused cache/archive files
    .
    SUMMARY:
    .
    1 object selected:
    .
    1 object was checked.
    .
    No archive information checks performed.



If you try to reconcile the work area and update the database from the cache you may see the following:


    Reconciling selected items:
    foo.doc~5.1
    Examining Work Area for conflicts...
    1 Object(s) will be reconciled
    Warning: Missing cache file for object 'foo.doc~5.1:binary:1': '/data/ccmdb/MyDatabase/st_root/cache/source/#56/123456'
    1 Work Area conflict(s) found
    Work Area files in conflict:
    F:\ccm_wa\Synergy\Shared\BP\MyProject\MyProject\MyDir\foo.doc
    Reconcile completed


    Reconciling selected items:
    foo.doc~5.1
    Examining Work Area for conflicts...
    1 Object(s) will be reconciled
    Warning: Missing cache file for object 'foo.doc~5.1:binary:1': '/data/ccmdb/MyDatabase/st_root/cache/source/#56/123456'
    1 Work Area conflict(s) found
    Work Area files in conflict:
    F:\ccm_wa\Synergy\Shared\BP\MyProject\MyProject\MyDir\foo.doc
    Reconcile completed
    Updating database with work area change(s)...
    --- Begin Error Reporting ---
    Operation failed; see Message View.
    Found 0 object(s) with parallels during work area conflict resolution.
    Creating version 5.2 of foo.doc~5.1:binary:1 ...
    Derive from foo.doc~5.1:binary:1 failed.
    Problems encountered updating the following object(s).
       foo.doc~5.1:binary:1
    Problems updating 1 object.  See message log for details
    Failed to update database with selected files
    Failed to update the Database

    --- End Error Reporting ---



Resolving The Problem

To resolve the problem you need to restore or recreate the cache file.
Details on how to do this are described in Technote: 1626069: fs_check reports "SERIOUS: Cache file for non-static object ... is missing" in Rational Synergy

[{"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":"7.2;7.1;7.0;6.6a;6.5a;6.5;6.4;6.3","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
22 December 2020

UID

swg21640556