Oracle 10g in Solaris [message #183349] |
Thu, 20 July 2006 08:25 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
just_a_kid
Messages: 16 Registered: December 2005
|
Junior Member |
|
|
Hi Guys , i was wondering how to start oracle database in correct way in Solaris
Because i had a problem with it..
i start the Oracle 10 in Solaris ,
the database is up. then after few hours, it shut down / the database is down for no reason then i have to start again
I was wondering whether there is a timeout? if there is how do i check it?
below as my step to start the database.
1. go to Oracle_HOME/bin
2. type lsnrctl start
3. sqlplus /nolog
4. connect username/password as sysdba
5. startup
after step 5, it shows no error and the database is ready.
i can connect using sql plus and toad from other computer.
But after few hours , it shutdown for no reason again..
anyone can help me?
is there any better way to start the database??
can i use nohup command in solaris to start oracle? how to do that?
Thanks...
|
|
|
|
Re: Oracle 10g in Solaris [message #183353 is a reply to message #183352] |
Thu, 20 July 2006 08:36 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
just_a_kid
Messages: 16 Registered: December 2005
|
Junior Member |
|
|
okay thanks ,
i will check..
But is my way of starting the database is correct??
i heard u can use ./dbstart script to start the database??
u know why after the database is down , my web application will gone crash ...
after my database is up again .. my web application still go crash giving me "java.sql.SQLException : IOException : Broken Pipe "
Everytime i have to restart the web server after my database is up again..
how do i solve it??
|
|
|
|
Re: Oracle 10g in Solaris [message #183433 is a reply to message #183356] |
Thu, 20 July 2006 22:17 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
just_a_kid
Messages: 16 Registered: December 2005
|
Junior Member |
|
|
Hi ,
Now the database seems okay
it has gone through overnight and still up..
i was wondering whether the client application can crash database server??
lets say if too many load??
i think the reason for "java.io.Exception : Broken Pipe"
just after database is up
is because when the database is up.. i store many connections in a pool using hashTable
then the database is down..so JDBC call is also crash..
then i start the database again.
But all the connection in the hashtable has been lost thats why it throws BROKEN PIPE Exception??
The only way to fix it to clear the hashtable or restart the web application.
Any Suggestion?
|
|
|
|