Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: RS/6000 and Oracle

Re: RS/6000 and Oracle

From: <MTun1999_at_gmx.net>
Date: Fri, 05 Nov 1999 08:20:25 +0100
Message-ID: <38228539.2206B182@gmx.net>


1.) Startup:



I have created a file /etc/rc.oracle

rc.oracle (Perm: rwxr-x---):



#!/bin/ksh
su - oracle -c ~oracle/bin/dbstart # Start all local Databases su - oracle -c ~oracle/bin/lsnrctl start # Start the Oracle Listener

This File start on machine boot with an entry in the /etc/inittab like this:

rcoracle:2:once:/etc/rc.oracle >/dev/console 2>&1

2.) Shutdown:



/etc/rc.shutdown is the right place for Shutdown of local Services in AIX.

Michael

Alex Hudghton wrote:
>
> I have the answer!!
>
> Create a file /etc/rc.shutdown
>
> In the file put the commands to shut the listener and the database
> (lsnrctl stop and dbshut)
>
> When 'shutdown' is run this file will be run first.
>
> If there are any errors within /etc/rc.shutdown the machine shutdown
> will stop
>
> Checkout the man page for shutdown in AIX
>
> Alex
>
> On Thu, 04 Nov 1999 18:07:39 GMT, alex_at_alenda.freeserve.co.uk (Alex
> Hudghton) wrote:
>
> >Thanks John - I know about UNIX in general but this is AIX !!!!!!!
> >An entirely differant flavour as I am finding out !
> >
> >
> >Alex
> >
> >On Thu, 4 Nov 1999 12:42:30 -0500, "John Chiu" <johnc_at_relsol.com>
> >wrote:
> >
> >>For unix in general, store your dbora in /etc/rc.d/init.d. and link your
> >>dbora as follows:
> >>
> >>ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc0.d/K10dbora
> >>ln -s /etc/rc.d/init.d/dbora /etc/rc.d/rc3.d/S99dbora
> >>
> >>edit your /etc/oratab and add your SID to the file.
> >>
> >>assuming you have setup oracle environment in your .profile
> >>Reboot your system
> >>
> >>HTH
> >>
> >>John Chiu
> >>
> >>Alex Hudghton wrote in message <7vrpne$ruj$1_at_news6.svr.pol.co.uk>...
> >>>Being a newcomer to AIX where should the links to dbstart / dbshut go to
> >>>start / shut Oracle when the system is rebooted ??
> >>>
> >>>Alex
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >
Received on Fri Nov 05 1999 - 01:20:25 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US