The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
A script pls( To retrieve database information) rollthecoin Shell Programming and Scripting 3 04-26-2008 05:35 AM
waiting mpang_ Shell Programming and Scripting 1 10-04-2007 02:52 AM
Process(s) ID waiting on IO? Citrus143 UNIX for Advanced & Expert Users 9 03-29-2007 05:28 PM
Looping and waiting mikie Shell Programming and Scripting 3 11-29-2006 05:04 AM
what is SunWS_cache? venkat_grep UNIX for Advanced & Expert Users 1 09-28-2005 10:14 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-24-2005
RishiPahuja's Avatar
RishiPahuja RishiPahuja is offline
Registered User
  
 

Join Date: Apr 2005
Location: Bangalore, India
Posts: 203
Question SunWS_cache: Information: Database is locked, waiting

While compiling a set of proC code I am getting the following error.
Any clues why this error is coming and is it related to my Oracle DB/Verison Software DB or compile time generated information?


Thanks
Rishi
  #2 (permalink)  
Old 08-26-2005
nileshborate nileshborate is offline
Registered User
  
 

Join Date: Aug 2005
Location: India
Posts: 3
The SunWS_Cache directory must not be having write permission.
(This cache contains state information that must be locked when a compiler is being run, to avoid trashing the state information if another compilation runs in the same directory at the same time.)
Compilation must be going through fine, but when linking it might just hang.

As soon as you will give the write permission to SunWS_Cache, the linking will complete.

Hope this helps!

Cheers,
Nilesh
  #3 (permalink)  
Old 09-16-2005
nileshborate nileshborate is offline
Registered User
  
 

Join Date: Aug 2005
Location: India
Posts: 3
Give write permission or remove SunWS_Cache.

Normally the SunWS_Cache directory is created, where the output file is being generated.

The problem occurs when SunWS_Cache is already being created by some other login and you don't have write permissions.
This is a temporary directory created at compilation time.

You may either give write permission to yourself to this directory or remove that directory itself(with sudo access).

Starting with C++ 5.5 (Sun ONE Studio 8 Compiler Collection), the template cache is no longer required, and by default is not used.


Cheers,
Nilesh
  #4 (permalink)  
Old 09-17-2005
RishiPahuja's Avatar
RishiPahuja RishiPahuja is offline
Registered User
  
 

Join Date: Apr 2005
Location: Bangalore, India
Posts: 203
Wink

Thanks Nilesh.
Your solution worked perfectly.

rishi
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:53 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0