How to diagnosis the problem on Solaris 10 for DB startup


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users How to diagnosis the problem on Solaris 10 for DB startup
# 1  
Old 09-06-2007
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.
# 2  
Old 09-09-2007
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
# 3  
Old 09-10-2007
zazzybob:

Thanks so much. I will test it and come back to report the progress.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Hardware

Hardware Diagnosis

Hello everyone, I'm having an odd problem I've never encountered before and I'm at the point where the only things I have not replaced are the CPUs, Motherboard and Power Supply. The errors: : CPU:0 MC4_STATUS: 0xdc2b400013080a13 : MC4_ADDR: 0x0000000001017d80 : Northbridge Error (node... (5 Replies)
Discussion started by: WrinkledCheese
5 Replies

2. Solaris

Solaris 10 startup scripts

Hi all, I have a server in maintenance mode and need to boot it up. Its due to a broken service "RepX". I need to stop the service from trying to start at boot up but i can't find where it is booting up from... it is not in any of the rcX.d directories and the two locations i have found it... (6 Replies)
Discussion started by: Tommyk
6 Replies

3. Solaris

Is there a way to debug the startup on Solaris?

Is there a way to debug the startup on a VT100 running Solaris 5? I have a problem related to file attributes that are resetting to there prior settings when the machine reboots. (3 Replies)
Discussion started by: jimcz2it
3 Replies

4. UNIX for Advanced & Expert Users

Performance diagnosis & tuning

Hi, I am facing a strange issue. Application is deployed in a cluster with 2 Unix nodes (with same configuration). On one node the application is working fine but on another node we see this behavior I found using vmstat- when the server is not yet started everything is OK; when you start the... (3 Replies)
Discussion started by: ash.abrol
3 Replies

5. Solaris

Nis startup in Solaris 8

Hello How can I check to see when nis server is starting? I look at /etc/rc2.d/ but I don't see it in there. Every time we have power outage problem. I have to start autof service manual. So I think it might have to do with nis server services. (1 Reply)
Discussion started by: congngo
1 Replies

6. Linux

startup problem

Hello: I have a little problem, I have Windows Xp in my desktop, yesterday I installed centos 5. Now when the Pc starts it goes directly to windows and I do not have the option to start centos. Xp and centos are in the same disk. (4 Replies)
Discussion started by: jcpetela
4 Replies

7. Solaris

X server startup on Solaris 9

Hi, I have Solaris 9 installed on a SunFire V880. When the machine boots up, I get a message, "the X-server cannot be started on display:0". I searched the forum for possible solution, however, they are not applicable to my problem for two reasons: either the platform is different or the... (6 Replies)
Discussion started by: purveshkhatri
6 Replies

8. Shell Programming and Scripting

[Help] startup script on solaris 8

hi experts, i have some problem with my solaris 8 v890 server, is : the server running process called SS7 below is example process : PID STAT MODE HOST MUX OBJECT 384 ok LX|A USSDGmdn-1a spm/0 daemon 385 ok LX|A USSDGmdn-1a spm/2 ... (0 Replies)
Discussion started by: bucci
0 Replies

9. UNIX for Dummies Questions & Answers

databse startup problem

i have oracle database startup problem. i have installed oracle8i(8.1.7) on windowsXP i have configured everything properly but i m unable to start database automatically and for this when i checked services of database it shows starting not started so i have to start it manually.Can u plz tell... (3 Replies)
Discussion started by: vandana
3 Replies

10. UNIX for Dummies Questions & Answers

problem with the startup

I have installed free bsd, and it won't reboot on it. I got win on disk 1 and on disk 2 is free bsd. Is there an optoin tha do so u could choose betwen win or free bsd? Is there an option in the installation that maybe I have missed? (4 Replies)
Discussion started by: Mr.Rudiment
4 Replies
Login or Register to Ask a Question