Troubleshooting
Problem
This technote explains why attempts to run the IBM® Rational® ClearCase® [] cleartool reformatvob[] command results in a permission denied error while trying to rename the database directory along with steps to resolve the problem.
Cause
Attempts to run cleartool reformatvob on a VOB, results in the following error:
cleartool: Error: Unable to rename "D:\ClearCase_Storage\vobs\documents.vbs\db" to "D:\ClearCase_Storage\vobs\documents.vbs\db.reformat": Permission denied.
The VOB is mounted and a vob_server process is currently running for the VOB.
Resolving The Problem
To successfully run the cleartool reformatvob command, perform the following procedure:
- Run cleartool umount on the VOB
- Stop any vob_server process that is running for that VOB. The easiest way to do this is to restart the server after you unmounted the VOB but this might be impractical if you have users working on other VOBs hosted on the server. If you are unable to restart the server, follow these steps to find the vob_server processes for the VOB.
- Open a Microsoft® Windows® command window by clicking Start > Run. Type: cmd.exe
- Type: C:\Program Files\Rational\ClearCase\etc\utils\albd_list.exe
- Scan the command output for the vob_server process for the VOB. Output will appear similar to the following:
c:\>albd_list
albd_server addr = 192.168.12.12, port= 371
PID 2704:
vob_server, udp socket 4618: version 3; BUSY
Storage path D:\ClearCase_Storage\vobs\documents.vbs
UUID a712d1e1.28f911d3.9cb9.00:c0:4f:8b:b8:77
PID 3060:
vob_server, udp socket 1056: version 3; BUSY
Storage path D:\ClearCase_Storage\vobs\vob1.vbs
UUID 2299c621.477111d4.9de1.00:c0:4f:8b:b8:77
PID 2936:
vob_server, udp socket 1069: version 3; BUSY
Storage path D:\ClearCase_Storage\vobs\adminvob.vbs
UUID f9b0c521.040811d4.9d96.00:c0:4f:8b:b8:77
Albd_list complete - Stop the specific vob_server process using the Windows Task Manager
- Right-click your Windows Task bar
- Click Task Manager
- Click Processes
- Find the vob_server process for your VOB using the correct Process ID (PID) and select it from the process list. If the PID column is not displayed:
- Click View > Select Columns
- Click PID (Process Identifier)
- Click OK
- Click End Process
- Run the cleartool reformatvob command again
For more information on any of the cleartool sub-commands discussed in this technote refer to the IBM Rational ClearCase Command Reference, or run cleartool man <sub-command>.
Was this topic helpful?
Document Information
Modified date:
29 September 2018
UID
swg21148685