[SunHELP] /etc/init.d startup and shutdown scripts

Sangbutsarakum, Patai sunhelp at sunhelp.org
Mon Oct 1 21:47:35 CDT 2001


reboot is bring the system to initdefault in /etc/inittab.
It doesn't run rc script when it do its job.
so your K-file haven't execute.
Try init 6 instead of reboot. 
I think it'll help you about this.

Hope this help
Pat.

-----Original Message-----
From: Ahbaid Gaffoor [mailto:ahbaidg at home.com]
Sent: Tuesday, October 02, 2001 10:25
To: sunhelp at sunhelp.org
Subject: [SunHELP] /etc/init.d startup and shutdown scripts


I have a script to start and stop my oracle database under solaris 8

this script is placed under /etc/init.d/oracle

I then link /etc/rc2.d/S99oracle  and /etc/rc0.d/K01oracle to
/etc/init.d/oracle

but my database does not get shutdown as per the script when I issue a
"reboot"

What am I missing? The script is fine, executable has #!/bin/sh and
works when invoked by root from the prompt via. "/etc/init.d/oracle
start" or
"/etc/init.d/oracle stop" as needed.

What am I missing?

thanks,

Ahbaid.

_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list