The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
X server startup on Solaris 9 purveshkhatri SUN Solaris 6 09-05-2007 11:33 PM
[Help] startup script on solaris 8 bucci Shell Programming and Scripting 0 11-05-2006 09:38 PM
Solaris Startup script for Apache. Zak Shell Programming and Scripting 3 07-26-2006 08:15 AM
Application can't startup?? Solaris and Linux RedHat TRUEST UNIX for Advanced & Expert Users 1 02-25-2003 02:02 PM
problem with the startup Mr.Rudiment UNIX for Dummies Questions & Answers 4 11-14-2001 09:51 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-06-2007
Registered User
 

Join Date: Nov 2005
Posts: 127
Stumble this Post!
How to diagnosis the problem on Solaris 10 for DB startup

I run Oracle 10g on Solaris 10 Sparc machine. I created a dbora file to automatically start Oracle database when UNIX system reboot. I created this dbora file under /etc/init.d, Then link it to /etc/rc0.d/K10dbora and /etc/rc2.d/S99dbora. When I reboot solaris 10 system to test this script. It seems not working.

Then I used 'svcs -a' and see S99dbora legacy service did run at /etc/rc2_d. However, the database was not started up. I have checked scripts carefully. It was coding correctly. The same scripts and the same procedures have been implemented on other UNIX servers with oracle 10g DB. They are all working fine. Question is: how can I diagnosis where the problem is? How to find why the script was running and DB was not started up.Please advise me your thoughts and methods. Thanks a lot.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 09-09-2007
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Stumble this Post!
Add something like this to the top of your Oracle start script

Code:
set -x
exec 1>/tmp/stdout.log
exec 2>/tmp/stderr.log
...
Review the logs and see if that highlights anything.

Cheers,
ZB
Reply With Quote
  #3 (permalink)  
Old 09-10-2007
Registered User
 

Join Date: Nov 2005
Posts: 127
Stumble this Post!
zazzybob:

Thanks so much. I will test it and come back to report the progress.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:21 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0