cleartool hostinfo -properties output is truncated

Technote (troubleshooting)


Problem(Abstract)

This technote identifies an IBM® Rational® ClearCase® defect relating to cleartool hostinfo -properties truncating the ClearCase installed version information displayed on UNIX® and Linux® hosts and provides you with information on how to workaround the issue.

Symptom

Running cleartool hostinfo -properties <host> can in some cases display truncated output not showing the ClearCase product version information on the host.

Example of output showing the issue:

# /opt/rational/clearcase/bin/cleartool hostinfo -prop cchost1
cchost1.localdomain: ClearCase 2003.06.10+ (Linux 2.6.9-42.EL #1 Wed Jul 12 23:16:43 EDT 2006 i686)
Scaling factor to initialize MVFS cache sizes: 1
MVFS cache sizes:
Free mnodes: 1802
Free mnodes for cleartext: 1802
File names: 1600
Directory names: 400
Names not found: 1600
RPC handles: 10
---the output gets truncated here---


===========

Example of output showing the expected behavior:

# /opt/rational/clearcase/bin/cleartool hostinfo -prop cchost1
cchost1.localdomain: ClearCase 2003.06.10+ (Linux 2.6.9-42.EL #1 Wed Jul 12 23:16:43 EDT 2006 i686)
  Scaling factor to initialize MVFS cache sizes: 1
  MVFS cache sizes:
    Free mnodes: 1802
    Free mnodes for cleartext: 1802
    File names: 1600
    Directory names: 400
    Names not found: 1600
    RPC handles: 10
  Installed product: ClearCase version 2003.06.00 (Tue Dec 16 21:15:58 EST 2003)
  Installed product: clearcase_p2003.06.00-48 (Tue Sep 18 18:19:06 EDT 2007)
  Installed product: clearcase_p2003.06.00-49 (Wed Sep 19 13:47:05 EDT 2007)
  Installed product: multisite_p2003.06.00-19 (Wed Sep 19 10:32:04 EDT 2007)
  Installed product: multisite_p2003.06.00-20 (Wed Dec 05 07:27:39 EST 2007)
  Installed product: clearcase_p2003.06.00-50 (Tue Dec 04 23:25:14 EST 2007)
  Installed product: clearcase_p2003.06.00-51 (Wed Dec 05 07:48:56 EST 2007)
  Installed product: clearcase_p2003.06.00-52 (Tue Dec 04 23:46:43 EST 2007)
  Installed product: MultiSite version 2003.06.00 (Tue Dec 16 21:15:58 EST 2003)
  Installed product: multisite_p2003.06.00-19 (Wed Sep 19 10:32:04 EDT 2007)
  Installed product: multisite_p2003.06.00-20 (Wed Dec 05 07:27:39 EST 2007)
 

Note: There may be varying symptoms from other operations that use the "version" file to obtain ClearCase installed version information. Refer to the solution below for information about the location of this file.



Cause

Defect APAR PK61792 has been opened to investigate this issue.

To be added to the list of clients reporting this issue, contact IBM Rational ClearCase support.


Resolving the problem


The defect has been closed as the issue does not occur in ClearCase 7.0.0 or later.


The following workaround must be used for ClearCase version 2003.06.xx


WORKAROUND:

In the release area make the following changes to the ClearCase "version" file after first making a backup copy of it.


The version file is located in:

UNIX/Linux:

/<releasearea>/<clearcase_version>/<platform_version>/clearcase/install

(Example: /rel/2003.06.00/linux_86/clearcase/install



    1. Remove all lines that contain "multisite"

    2. Remove all dangling patch bundle references that appear on each line after the closing ")" (in the example below "2006A" and "2006B").

      The lines will look similar to the following, however, the patch bundles listed at the end of these lines may vary (they will be in the format of YYYYX where YYYY=Year and X=uppercase letter)

      Example:

      Change from:
      clearcase_p2003.06.00-31 (Thu Feb 23 13:34:44 EST 2006) 2006A
      clearcase_p2003.06.00-35 (Fri Apr 21 17:50:55 EDT 2006) 2006B
      clearcase_p2003.06.00-36 (Fri Apr 21 15:10:24 EDT 2006) 2006B

      Change to:
      clearcase_p2003.06.00-31 (Thu Feb 23 13:34:44 EST 2006)
      clearcase_p2003.06.00-35 (Fri Apr 21 17:50:55 EDT 2006)
      clearcase_p2003.06.00-36 (Fri Apr 21 15:10:24 EDT 2006)


    Note: this will have to be re-done anytime a release area is patched.

If a client is installed from a release area where this workaround was not yet applied, the same changes will have to be done to it's version file to workaround the issue.

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational ClearCase
Cleartool

Software version:

2003.06.00

Operating system(s):

AIX, HP-UX, Linux, Solaris

Reference #:

1298510

Modified date:

2011-03-15

Translate my page

Machine Translation

Content navigation