-
I'm working on automating Oracle startup and shutdown on Red Hat Linux 7, for training purposes (I'm a newbie on Linux system).
A few days ago, there was a thread talking about the procedures involved in automating startup (Unix), I understood it already.
What I need now is the scripts DBSTART and DBSHUT that should be placed in /etc/rcXX.d. Where can I get them?
thanks
Adriano.
-
You don't place 'em but, you place 'em in some location and point to that location as follows
<font face=courier>
apps% more S97dbstart
su - oracle -c /export/home/oracle/scripts/dbstart
apps% more K05dbshut
su - oracle -c /export/home/oracle/scripts/dbshut
</font>
Reddy,Sam
-
I still couldn't solve my problem
Symbolic link is defined like this (default runlevel is 5):
[root@PC003 rc5.d]# ls -l | grep oracle
lrwxrwxrwx 1 root root 19 Mar 14 17:03 81oracle -> /etc/init.d/dbstart
DBSTART script is located here:
[root@PC003 init.d]# ls -l | grep dbstart
-rwxr-xr-x 1 root root 4679 Mar 14 17:05 dbstart
[root@PC003 init.d]# pwd
/etc/init.d
When Linux is booting, message STARTING ORACLE shows OK response, but Oracle is not started automatically. I checked everything I could (links, case sensitive, runlevels etc), except the DBSTART script (that I found in $ORACLE_HOME/bin) because I don't understand it so deeply. I'm using Oracle 8.1.6.0.0 Standard for Intel Linux.
Could anyone help me?
Adriano.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|