Invalid hostname text reported in warning message and logs

Problem(Abstract)
This technote explains the cause for invalid error text being reported in IBM® Rational® ClearCase® warning messages and logs on UNIX® and Linux®.
Symptom


Cause

While running the db_loader on a VOB that had been moved from another server, the following warning is reporting invalid characters for the hostname because the .hostname file located in the VOB storage directory contained the old hostname.

db_loader: Warning: Database not found in local registry for cmd: "". Using client path /export/home/vobstore/db_loader_vob.vbs/db
db_loader: Error: The vob_object registry for "/export/home/vobstore/db_l
oader_vob.vbs/db/.." specifies incorrect hostname for server; expected hostname: host1 actual hostname: . Use cleartool unregister/register -vob to correct.
db_loader: Error: Process not running on registry specified hostname
( ┐⌠╕)
db_loader: Error: Cannot open database in '/export/home/vobstore/db_loade
r_vob.vbs/db': db_loader: Error: Error from libdb (1)

Cause 2

The following is another example of output reported in the ClearCase logs:

2006-12-10T03:36:25-05 db_server(4334): Error: The vob_object registry
for "/vbs/test1/db/.." specifies incorrect hostname for server;
expected hostname:
þìÄþë actual hostname:
test2-vob,pid==20240,euid==UNIX:UID-0, cleartool 'chepoch' '-actual'
'rtp-master@/vob/test1'. Use cleartool unregister/register -vob to
correct.

This issue has reported as defect APAR PK36046.


Resolving the problem

This defect has been resolved in the following updates:

ClearCase 7.0

ClearCase 7.0
ClearCase LT 7.0


ClearCase 2003.06.00

ClearCase 2003.06.16 - Windows
ClearCase LT 2003.06.16 - Windows
ClearCase 2003.06.00 - UNIX and Linux - User Space
ClearCase 2003.06.00 - UNIX and Linux - MVFS
ClearCase LT 2003.06.00 - UNIX and Linux


WORKAROUND:

Review technote 1170877 for details concerning a resolution for the above errors related to the invalid text reported for the hostname.

No comments:

Post a Comment