Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1148515
  • 博文数量: 312
  • 博客积分: 12522
  • 博客等级: 上将
  • 技术积分: 3376
  • 用 户 组: 普通用户
  • 注册时间: 2008-02-27 18:35
文章分类

全部博文(312)

文章存档

2016年(3)

2015年(1)

2013年(1)

2012年(28)

2011年(101)

2010年(72)

2009年(13)

2008年(93)

分类: 项目管理

2008-03-28 17:55:25


There is an administrative lock on this versioned object base
 
Technote (FAQ)
 
Problem
This technote explains why attempts to run the IBM® Rational® ClearCase® cleartool protectvob command results in the error The lock is held by process id "65535" trouble protecting versioned object base. and provide steps to resolve the problem. 
 
Solution

Stop ClearCase on the VOB server (Start > Run type cc.cpl and Stop ClearCase Services)
Change directory (cd) into the VOB storage and remove the identity.sd and groups.sd files of the failing VOB:
c:\ vobs\docs.vbs> del identity.sd
c:\ vobs\docs.vbs> del groups.sd
Note: If they cannot be removed, try to rename them to .old, (rename identity.sd identity.old).
Start ClearCase Services
Run a fix_prot on this VOB storage directory:
C:\Program Files\Rational\ClearCase\etc\utils\>fix_prot -r -root -chown -chgrp

Try adding the new group to the VOB:
cleartool protectvob -add_group
 
 
cleartool> protectvob -add_group import_file D:\ClearCase_Storage\VOBs\Mtk25_06B_V10.vbs
This command affects the protection on your versioned object base.
While this command is running, access to the VOB will be limited.
Pool "sdft" appears to be protected correctly.
Pool "ddft" appears to be protected correctly.
Pool "cdft" appears to be protected correctly.
Protect versioned object base "D:\ClearCase_Storage\VOBs\Mtk25_06B_V10.vbs"?  [no] y
Do you wish to protect the pools that appear not to need protection?  [no] n
VOB ownership:
  owner EASYINFOR\owner name
  group EASYINFOR\import_file
Additional groups:
  group EASYINFOR\import_file
cleartool> exit
阅读(1986) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~