Objective: Remove Corrupted View
Error message below you get when you remove a view failed where the view is corrupted
cleartool rmview -tag viewname
cleartool: Error: Unable to open file"/view_stg/viewname.vws/.view": No such file or directory.
cleartool: Error: /view_stg/viewname.vws isn't a view: No such file or directory
cleartool: Error: Unable to remove view "/view_stg/viewname.vws".
Steps to remove the corrupted view:
1. list the view detail to get uuid
cleartool lsview -long viewname
Tag: viewname
Global path: /view_stg/viewname.vws
Server host: servername
Region: region_ux
Active: NO View tag
uuid:9e9c4e46.3f5311dc.86cc.00:14:c2:65:50:79
View on host: zmy12vw1
View server access path: /view_stg/viewname.vws
View uuid: 9e9c4e46.3f5311dc.86cc.00:14:c2:65:50:79
View owner: you
2. Then try remove the view again with uuid
cleartool rmview -vob /vobname -uuid 9e9c4e46.3f5311dc.86cc.00:14:c2:65:50:79
Can't remove view "/view_stg/viewname.vws" from VOB while view still exists.
Remove view /view_stg/viewname.vws" references from VOB anyway? [no] y
Removed references to view "9e9c4e46.3f5311dc.86cc.00:14:c2:65:50:79" from VOB "/vobname".
3. Lastly remove the view tag after all the vob references are removed
cleartool rmtag -view viewname
Reference:
http://www.philforhumanity.com/ClearCase_Support_4.html
http://publib.boulder.ibm.com/infocenter/cchelp/v7r0m0/index.jsp?topic=/com.ibm.rational.clearcase.books.cc_admin.doc/view-admin.htm
Wednesday, August 1, 2007
Thursday, July 19, 2007
Find Existing Label Type in VOB
To detect or verify the existent of label type in VOB:
cleartool lstype -kind lbtype -short -invob /vobs/vobname grep labeltypename
If the command above return NULL or blank, this mean this label type is not existed.
If return value, the "labeltypename" will be shown and also indicate the label type is locked or not.
cleartool lstype -kind lbtype -short -invob /vobs/vobname grep labeltypename
If the command above return NULL or blank, this mean this label type is not existed.
If return value, the "labeltypename" will be shown and also indicate the label type is locked or not.
Labels:
clearcase,
cleartool find,
label type,
rational clearcase
Thursday, July 5, 2007
How to make UNIX / LINUX command in DOS
Well I usually work in Unix environment. And now get shifted to do work in windows environment. It take me more time to change my style and make me have a lot of error messages such as:
C:\>ls
'ls' is not recognized as an internal or external command,
operable program or batch file.
Here is the solution if you want to have same command in Windows as Unix or Linux.
Just download the zip file and extracted it to C: and set your user environment.
PATH=C:\custom-path
http://channel9.msdn.com/ShowPost.aspx?PostID=51329
C:\>ls
'ls' is not recognized as an internal or external command,
operable program or batch file.
Here is the solution if you want to have same command in Windows as Unix or Linux.
Just download the zip file and extracted it to C: and set your user environment.
PATH=C:\custom-path
http://channel9.msdn.com/ShowPost.aspx?PostID=51329
Thursday, June 7, 2007
Suft Internet and Earn Money $$
Hi everyone,
AGLOCO community has introduce new method to earn extra money!
Is easy, just sign up and download the search bar.
Use it to search as you search using google.
The results are same as Google search except you earn money this time :D
Click the link below to join:
http://www.agloco.com/r/BBCV4101
AGLOCO community has introduce new method to earn extra money!
Is easy, just sign up and download the search bar.
Use it to search as you search using google.
The results are same as Google search except you earn money this time :D
Click the link below to join:
http://www.agloco.com/r/BBCV4101
Wednesday, May 30, 2007
How to PERL FTP
Wednesday, April 25, 2007
PERL sorting CSV data
This script allow us to sort CSV data by column.
The objective is to sort data by date:
The script as below:
The input file data are in CSV format:
Build_Results,Build_Type,Duration_in_Minutes,Date,Hour,Weekday
Failed,,42,01/05/2007,08,Tuesday
Failed,,20,01/02/2007,10,Tuesday
......
Failed,,22,01/03/2007,07,Wednesday
The objective is to sort data by date:
The script as below:
The input file data are in CSV format:
Build_Results,Build_Type,Duration_in_Minutes,Date,Hour,Weekday
Failed,,42,01/05/2007,08,Tuesday
Failed,,20,01/02/2007,10,Tuesday
......
Failed,,22,01/03/2007,07,Wednesday
Friday, April 20, 2007
Split String using Korn Shell script
Thursday, April 12, 2007
How to Read File list and FTP over a server specific location
Last Tuesday, one of my ex-coursemate was asking me about how to create shell script. Well I did have some experience with shell script but not advance level.
He asked me to go to his home to teach him and help him up with his task. I told him I not able to teach him but able to research with him to do the
His assignment is to list all file in the specific location, and ftp over another server if any file existed.
I went to his home and spent 1.5 hours to solve the assignment. Well starting I wasted 30 minutes troubleshooting the network connection.... at the end we finally made it.
Here is the code in *.ksh Korn Shell:
@cybertech
He asked me to go to his home to teach him and help him up with his task. I told him I not able to teach him but able to research with him to do the
His assignment is to list all file in the specific location, and ftp over another server if any file existed.
I went to his home and spent 1.5 hours to solve the assignment. Well starting I wasted 30 minutes troubleshooting the network connection.... at the end we finally made it.
Here is the code in *.ksh Korn Shell:
@cybertech
Saturday, April 7, 2007
My First Experience with Compiling Fedore Core 6
Phew... Finally I made it! I have successfully compiled my first Linux Kernel in my life woww.. :D
Today I spent most of the time in testing the Fedora Core 6 Kernel Compile.
Before that I search for through the internet just for a better or a good guide. I found the one most useful to me (my opinion) http://www.howtoforge.com/kernel_compilation_fedora
When start following the guide and I have a perception to use my own user account instead of "root" account to compile the kernel by setting the user privillage as what the guide tutor me....
But after 5 hours testing following the tutorial.....
I finally give up and login as superuser account "root" to restart the tutorial steps. And I able to execute tutorial's commands without any errors message.
When come to compile and create rpm package step "make rpm", guess what ?!
I was exciting to wait it finish compile...... but......
I fall asleep zzzZZZZ...... waiting it to successfully compile.....
It totally taken 2.5 hours to finish compile it. Wow.... I read some blogs said they take 1.5 hours..... but mine.... > 1.5 hours... >2 hours... XD
I guess I can't compare with them. Why?!? Well......
My Fedora Core 6 actually is running as a virtual machine.... using VMplayer :P
Furthermore... I'm using a laptop...... a super slow performance laptop... ahahaa. But anyhow, it finish compiled :D
After woke up, I had my dinner and continue my final exploration to make it bootable in grub.....
I was happy when the first reboot is successful but.....
It lost the x-windows login X(...... Just left the terminal login....
I don't dare to believe it!!! What happen??!!!?....
I reboot again, this time i used different command, "reboot" instead "shutdown -r now".
The second reboot was very successful and my x-window is there...
Hoooray!!....
I hurry view the kernel version at terminal "uname -r".... Ohyess... I the kernel version I compiled... Yahoooooo!!
Well, my next step is to know how to compile "module" instead of "full" kernel.
:D wishes me success.
@cybertech
Today I spent most of the time in testing the Fedora Core 6 Kernel Compile.
Before that I search for through the internet just for a better or a good guide. I found the one most useful to me (my opinion) http://www.howtoforge.com/kernel_compilation_fedora
When start following the guide and I have a perception to use my own user account instead of "root" account to compile the kernel by setting the user privillage as what the guide tutor me....
But after 5 hours testing following the tutorial.....
I finally give up and login as superuser account "root" to restart the tutorial steps. And I able to execute tutorial's commands without any errors message.
When come to compile and create rpm package step "make rpm", guess what ?!
I was exciting to wait it finish compile...... but......
I fall asleep zzzZZZZ...... waiting it to successfully compile.....
It totally taken 2.5 hours to finish compile it. Wow.... I read some blogs said they take 1.5 hours..... but mine.... > 1.5 hours... >2 hours... XD
I guess I can't compare with them. Why?!? Well......
My Fedora Core 6 actually is running as a virtual machine.... using VMplayer :P
Furthermore... I'm using a laptop...... a super slow performance laptop... ahahaa. But anyhow, it finish compiled :D
After woke up, I had my dinner and continue my final exploration to make it bootable in grub.....
I was happy when the first reboot is successful but.....
It lost the x-windows login X(...... Just left the terminal login....
I don't dare to believe it!!! What happen??!!!?....
I reboot again, this time i used different command, "reboot" instead "shutdown -r now".
The second reboot was very successful and my x-window is there...
Hoooray!!....
I hurry view the kernel version at terminal "uname -r".... Ohyess... I the kernel version I compiled... Yahoooooo!!
Well, my next step is to know how to compile "module" instead of "full" kernel.
:D wishes me success.
@cybertech
Subscribe to:
Posts (Atom)