Operating System - HP-UX
1833801 Members
2546 Online
110063 Solutions
New Discussion

Re: startup scripts working or not?

 
SOLVED
Go to solution
Greta Blamire
Frequent Advisor

startup scripts working or not?

HPUX 11.0 on a HP9000 K260
I'm having some strange error messages with my oracle (8.04) database that makes me think the script to shut it down when the system reboots isn't working. This is from my /etc/rc.log:
Starting the Oracle subsystem
Output from "/sbin/rc3.d/S997oracle start":
----------------------------
"/sbin/rc3.d/S997oracle start" SKIPPED

Starting the Gembase subsystem
Output from "/sbin/rc3.d/S998gembase start":
----------------------------
"/sbin/rc3.d/S998gembase start" SKIPPED

Starting the Gem_Client subsystem
Output from "/sbin/rc3.d/S999rencs start":
----------------------------
"/sbin/rc3.d/S999rencs start" SKIPPED

The skipped messages is new to me, anyone have an idea why it would be skipping these commands instead of performing them?
If you can't face the facts, change them!
7 REPLIES 7
Brian M. Fisher
Honored Contributor

Re: startup scripts working or not?

Is there a file in /etc/rc.config.d that defines the startup variable for these scripts as 0 or 1?

Brian
<*(((>< er
Perception IS Reality
Greta Blamire
Frequent Advisor

Re: startup scripts working or not?

Could you be more specific? Where do I find the startup variable? I don't see anything in my rc.config.d directory that looks likely.
If you can't face the facts, change them!
Brian M. Fisher
Honored Contributor

Re: startup scripts working or not?

It depends on your startup scripts but usually within them, there is a variable that is set to 1 to start and 0 to skip. If you would post a simple startup script I could probably help more.

Brian
<*(((>< er
Perception IS Reality
Greta Blamire
Frequent Advisor

Re: startup scripts working or not?

 
If you can't face the facts, change them!
Brian M. Fisher
Honored Contributor
Solution

Re: startup scripts working or not?

Your script is looking for the variable: ORACLE_START to be set to 1 to start oracle.

Create a file /etc/rc.config.d/oracle
with a single line ORACLE_START=1

This will allow oracle to start/stop. If you do not want it to start, change the variable to 0.

Make sure to check the other files within /etc/rc.config.d to make sure this variable is not already being set.

Brian
<*(((>< er
Perception IS Reality
Greta Blamire
Frequent Advisor

Re: startup scripts working or not?

Will do, Thanks Brain, I'll check in tomorrow and let you know how it goes tonight.
If you can't face the facts, change them!
Greta Blamire
Frequent Advisor

Re: startup scripts working or not?

That did the trick Brain, Thanks! I'll try to get that bunny rabbit out of the hat thing on your answer.
If you can't face the facts, change them!