SunWS_cache: Information: Database is locked, waiting


 
Thread Tools Search this Thread
Top Forums Programming SunWS_cache: Information: Database is locked, waiting
# 1  
Old 08-24-2005
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  
Old 08-26-2005
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, Smilie
Nilesh
# 3  
Old 09-16-2005
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, Smilie
Nilesh
# 4  
Old 09-17-2005
Hammer & Screwdriver

Thanks Nilesh.
Your solution worked perfectly.

rishi
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

CRON Job to copy database and replace existing database

I have a reseller account with hostgator, which means i have WHM and Cpanel. I have set up a staging environment for one of my wordpress installations (client website), which is essentially sitting at staging.domain.com (live site is at domain.com). The staging website is a complete copy of the... (1 Reply)
Discussion started by: nzrobert
1 Replies

2. Solaris

Can't create database after Oracle Database installation

I installed Oracle 10 software on Solaris 11 Express, everything was fine execpt I can't create database using dbca.rsp file. I populated file with following options. OPERATION_TYPE = "createDatabase" GDBNAME = "solaris_user.domain.com" SID = "solaris_user" TEMPLATENAME = "General... (0 Replies)
Discussion started by: solaris_user
0 Replies

3. Solaris

redirect solaris database from linux database..

hi.. i have a need .. my php runs on my linux redhat box with mysql.. i want my php code to refer another mysql database which is in solaris 10 x86... can u tell me the procedure .. how it can be done through php .. sorry am new to php... is it possible to redirect from linux mysql to... (7 Replies)
Discussion started by: senkerth
7 Replies

4. Shell Programming and Scripting

Storing information into a database.

Hey guys, i am having a problem in storing new data into a text file. The database in in a text file and it displays information like this : Name : Price : Quantity Persia : 80 : 30 Now , i have written the code to check if the book already exist in the Databse. Number= echo -n... (3 Replies)
Discussion started by: gregarion
3 Replies

5. UNIX for Dummies Questions & Answers

Need information on Database in "Unix"

How can I find which database is installed in my Unix server ? (5 Replies)
Discussion started by: kukkaster
5 Replies

6. Solaris

Getting error as Database locked while running a script

While i am trying to run a script in which it calls an executable(binary code)processes a file using the data in database. But while running the script the following error is occured. "permission to access this database was denied <err-0025-0191>re /ds1/nrms_r.db9 while looking up... (0 Replies)
Discussion started by: vamshikrishnab
0 Replies

7. Shell Programming and Scripting

A script pls( To retrieve database information)

KSH - Unix -AIX - db2 ************** Get the input from the user say '123' (It varies) Then i want to connect to a database say "D1" then i want th extract from the database by giving "select * from tablename where input = '123' I also want to connect to another database "D2" then i... (3 Replies)
Discussion started by: rollthecoin
3 Replies

8. Shell Programming and Scripting

waiting

I have a text file which contain all the parameters need for scheduled jobs, then this "control" script would be called everynight at certain time while read line do $myScript.sh $line & pid=$! i=`expr $i + 1` done < $list then I need to wait until all... (1 Reply)
Discussion started by: mpang_
1 Replies

9. UNIX for Advanced & Expert Users

what is SunWS_cache?

what is SunWS_cache? why ineed to keep with soruce code? what is the directory structue dependency? Is there any possibility to keep in in one folder and access from there rather than moving each time with the sorce code. Advance thanks for helping me in this situvation. (1 Reply)
Discussion started by: venkat_grep
1 Replies
Login or Register to Ask a Question