[help]oracle database error on solaris 8


 
Thread Tools Search this Thread
Operating Systems Solaris [help]oracle database error on solaris 8
# 1  
Old 12-01-2006
[help]oracle database error on solaris 8

hi experts,

i have some problem with my oracle database 8.1.7 running on sun solaris 8, after 2 days or more i cannot login into database and needed to restart the database, below shown the error :

ERROR:
ORA-00604: error occurred at recursive SQL level 2
ORA-04031: unable to allocate 4200 bytes of shared memory ("shared
pool","TRIGGER$","sga heap","state objects")
ORA-00604: error occurred at recursive SQL level 1
ORA-04031: unable to allocate 4200 bytes of shared memory ("shared
pool","unknown object","sga heap","state objects")

please help

how to fix this problem?

thank you so much


Best Regards,

wu
# 2  
Old 12-01-2006
Does the server have oracle start stop scripts ?
You can use them to restart your databases.

But looking at your errors its looks like some kernal tunables need to be set.
I can't remember which ones thay are of the top of my head, But I know there are some shared memory tuneables that need to be set for oracle to function corectly.
Tornado
# 3  
Old 12-01-2006
Tornado
# 4  
Old 12-02-2006
looks like you are hitting shared memory problems,

either somebody changed added or removed something in the init.ora.

or this is a new DB just recently installed then check your /etc/system

Normally if you encounter oracle memory errors it's to do with your shmmax or semaphore & shared memory entries under /etc/system file or the settings in the oracle init.ora file
# 5  
Old 12-02-2006
Quote:
Originally Posted by sparcguy
looks like you are hitting shared memory problems,

either somebody changed added or removed something in the init.ora.

or this is a new DB just recently installed then check your /etc/system

Normally if you encounter oracle memory errors it's to do with your shmmax or semaphore & shared memory entries under /etc/system file or the settings in the oracle init.ora file
Yep thats what I said Smilie
For more info on these tunables look at the link I posted..
Tornado
# 6  
Old 12-02-2006
I beg to differ. Normally, a wrong entry in the semaphore in the /etc/system file will cause the DB to be unable to start up.

If the error you see happens a couple of days after restarting the DB, most likely it is due to fragmentation shared pool.

These are the things you can try in order:
1) Check for SQL that are not using binding variable, get your developers to change them to binding variable. This will reduce the number of distinct SQLs required to be cached in the shared_pool.

2) Increase the shared_pool and reduce the shared_pool_reserved size. This will allow more distinct SQLs to be cached in shared_pool and at the same time, reduce the usage of shared_pool_reserved. (This will help if the fragmented shared pool you are facing is at the shared_pool_reserved)

3) Check Oracle metalink for bugs related to this oracle error. I do know that Oracle 9i has a bug related to this, not too sure on Oracle 8i.
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Solaris

Solaris 11.2 x86 Local Zones for Oracle RAC database, intermittent Memory corruption of db

Hi, I was wondering if any Solaris fellow out there has dealt with running Solaris 11 x86 on Local Zones for Oracle RAC (which may or may not be relevant to issue), running on HP gen h/w. Every so often could be weeks between issues or some times days, there will be a memory corruption and db... (2 Replies)
Discussion started by: crossmypath
2 Replies

2. UNIX and Linux Applications

Identify a specific environment Oracle variable to connect a remote Oracle database ?

Good evening I nned your help pls, In an unix server i want to connect to a remote oracle databse server by sqlplus. I tried to find out the user/passwd and service name by env variable and all Ive got is this: ORACLE_SID_REPCOL=SCL_REPCOL ORACLE_SID=xmeta ORACLE_SID_TOL=SCL_PROTOLCOL... (2 Replies)
Discussion started by: alexcol
2 Replies

3. Solaris

Oracle database 11R2 postinstalltion tasks, Solaris 10

Hi guys I installed Oracle database enterprise edition 11R2 on Solaris 10. More precise $ cat /etc/release Oracle Solaris 10 9/10 s10x_u9wos_14a X86 Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. Assembled 11... (1 Reply)
Discussion started by: solaris_user
1 Replies

4. Solaris

Is possbile to install Oracle database 10g on Solaris 11 Express ?

Today I finally tuned my Solaris 11 express so now works better :D I want to install some relational database on that machine and learn for my future carrier. I downloaded Oracle database 10g for Solaris x86 and tried to install it but my system didn't passed system requirements, installer... (0 Replies)
Discussion started by: solaris_user
0 Replies

5. Solaris

what is the command to see which database ie..oracle in running on solaris 10

what is the command to see which database ie..oracle in running on solaris 10 (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies

6. UNIX for Dummies Questions & Answers

oracle database on solaris and linux

what is the difference in running oracle database on solaris and linux operating system (3 Replies)
Discussion started by: ganga
3 Replies
Login or Register to Ask a Question