fs_check reports "WARNING: The cache and archive files for ... differ only in carriage return characters"

Technote (troubleshooting)


Problem(Abstract)

Attempts to run fs_check reports "WARNING: The cache and archive files for name-version:type:instance differ only in carriage return characters" in IBM Rational Synergy

Symptom

The fs_check command reports the following message:


WARNING: The cache and archive files for name-version:type:instance differ only in carriage return characters

Cache file path:     \\server\dbshare\dbname\st_root\cache\source\#56\123456
Archive path:        archive/source/ascii/ccm_rcs/1/3/name,v
Archive version:     1.1

Cause

This warning means that carriage returns are different between the archived object source and the cache file. On a Windows server, all of the ascii cache files would be in Windows ascii format. On a UNIX server, the ascii files would be in UNIX ascii format. Windows uses two bytes 0d, 0a in Hexadecimal representing Carriage Return  <CR> and Linefeed <LF> whereas UNIX just uses the single byte linefeed.


This warning is most commonly seen in cases where the database has been moved from one operating system format to another, without proper conversion of the database files.

There have also been instances where the tool used to modify the file puts <CR> <LF> at the end of the lines.

Diagnosing the problem

Look at the cache file specified in the error and see what format is being used and determine if this is correct for your installation or not.

  1. Rename the cache file for safe keeping

  2. Run 'ccm cat name-version:type:instance' to create the cache file form the archive. Look at this file and and see what format is being used and determine if this is correct for your installation or not.

Resolving the problem

Affecting all ASCII objects:If this is affecting every ascii object version in the database, please contact Rational Client Support for instructions on how to modify all the files appropriately.

or

  • Affecting some ASCII objects: If this is being reported for a small number of objects, then
    1. Determine if the original cache file or the cache file created from the archive are correct and put that file in the cache.

    2. Run archive_fix to resolve the error:
      Technote 1624991: How to fix your fs_check errors

Related information

How to find the path to an archive for a Synergy Object
Windows archive_fix
UNIX archive_fix (Informix)
UNIX archive_fix (Oracle)
How to fix your fs_check errors

Rate this page:

(0 users)Average rating

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 #:

1627144

Modified date:

2013-07-02

Translate my page

Machine Translation

Content navigation