Saturday, November 13, 2010

Re: Unusual dynamic view error

Permlink Replies: 3 - Pages: 1 - Last Post: Nov 10, 2010 2:04 PM Last Post By: jeff98air Threads: [ Previous | Next ]
Posts: 3
Registered: Jul 28, 2010 11:17:35 AM Unusual dynamic view error
Posted: Nov 10, 2010 11:06:24 AM Hi,

I am receiving what for me is an unusual error when running setview, the dynamic view starts and works correctly, but it gives the following error:

This is a dynamic view

[/user/jay] cleartool setview jay.stoc
cleartool: Error: Unable to open file "/user/.view.dat": No such file or directory.
cleartool: Warning: Unable to open snapshot view "/user".

The view used to not give this error and when looking at the results of cleartool lsview -long -properties everything is correct. Other views stored in the same location and tagged the same way do not have this error.

Appreciate any help anyone can give in figuring out what is causing this.

Thanks,
-Jay


Posts: 676
Registered: Jun 25, 2007 04:53:38 PM Re: Unusual dynamic view error
Posted: Nov 10, 2010 12:49:31 PM   in response to: Jay13 in response to: Jay13's post Can you please provide the full output of `cleartool lsview -l view-name`.

-Jeff Ng


Posts: 3
Registered: Jul 28, 2010 11:17:35 AM Re: Unusual dynamic view error
Posted: Nov 10, 2010 12:57:04 PM   in response to: jeff98air in response to: jeff98air's post Sure, here is the output:

[/var/adm/atria/log] cleartool lsview -long -properties jay.stoc
Tag: jay.stoc
Global path: /user/deriviews/jay.stoc
Server host: engvob1
Region: dss
Active: YES
View tag uuid:4fc55c9b.701211df.9a07.00:13:72:7c:02:68
View on host: engvob1
View server access path: /disk2/deriviews/jay.stoc
View uuid: 4fc55c9b.701211df.9a07.00:13:72:7c:02:68
View owner: jay

Created 04-Jun-10.15:42:38 by jay.deri@engvob1
Last modified 09-Nov-10.20:55:01 by jay.deri@derilnx4.hughes.com
Last accessed 09-Nov-10.20:55:01 by jay.deri@derilnx4.hughes.com
Owner: jay : rwx (all)
Group: deri : rwx (all)
Other: : r-x (read)
Additional groups: eng sag swt


Posts: 676
Registered: Jun 25, 2007 04:53:38 PM Re: Unusual dynamic view error
Posted: Nov 10, 2010 02:04:16 PM   in response to: Jay13 in response to: Jay13's post Hmmm... As you said, everything looks okay (except that view storage directories usually end with a ".vws" extention).

I assume "/user" is a global mount point that is mounted on every machine (i.e. /net, /hosts, /home, etc.)?

Here are just a few thoughts:

It could be a strange automounter issue. Have you rebooted since you started getting the error?
Is anyone else who has a view stored in "/user/..." getting the same error?
It seems as though someone may have (accidentally) created a snapshot view stored at "/user", then deleted the ".view.dat" file. Then, when you're in "/user/jay", ClearCase thinks you're in a snapshot view, so when you try to set a view, it tries to access the snapshot view you are currently in ("Working directory view" vs. "Set view") and complains because it can't find the ".view.dat" file of the snapshot view.
Try this: Cd into "/user/jay" and execute `cleartool pwv`. What output do you get? Now cd into "/user" and do the same thing.

-Jeff Ng

Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

Use the search field to find all types of content in My developerWorks with that tag. Use the slider bar to see more or fewer tags. Popular tags shows the top tags for this particular type of content or application that you're viewing. My tags shows your tags for this particular type of content or application that you're viewing.MoreLess 
Point your RSS reader here for a feed of the latest messages in all forums

View the original article here

No comments:

Post a Comment