Shutdown Script

From: Marco Greene (marco_greene@hotmail.com)
Date: Mon Mar 10 2003 - 12:57:32 EST


I have Solaris 2.7 running.I try to start up and shut down Oracle at
system start up and shut down. The start up script /etc/rc3.d/S10orastart
works fine, the oracle database is started when the system comes up. The
shut down script/etc/rc3.d/K10orastopdoes not work at all.The system
doesn't execute it when it shuts down. If I run the script manually it
works fine. Here is the script, it has only one line: # cat
/etc/rc3.d/K10orastopsu - oracle -c
"/opt/oracle/product/8.1.7/bin/dbshut" >/var/logs/orastop.log 2>&1 It
does not even create the log file /var/logs/orastop. I tried also without
the log file, still nothing.su - oracle -c
"/opt/oracle/product/8.1.7/bin/dbshut" I think the system ignores
completely my script at shut down. # ls -l /etc/rc3.d
-rw-r--r-- 1 root sys 1708 Sep 1 1998 README-rwxr-xr-x
1 root sys 440 Mar 4 2003 K10orastop
-rwxr--r-- 6 root sys 2307 Sep 1 1998 S15nfs.server
lrwxrwxr-x 1 root other 21 Aug 3 2001 S25mdlogd ->
../init.d/init.mdlogd*
-rwxr--r-- 6 root sys 404 Sep 1 1998 S76snmpdx
-rwxr--r-- 6 root sys 861 Sep 1 1998 S77dmi
Any help will be appreciated. TIA,Marco

------------------------------------------------------------------------

Help STOP SPAM with the new MSN 8 and get 2 months FREE*
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:57 EDT