Re: Help !! startup of oracle 7.2.3 at boot time

From: E.F. <erabe_at_fmgate1.kelly.af.mil>
Date: 1996/10/09
Message-ID: <Dz0xzq.K2r_at_sadis01.kelly.af.mil>#1/1


On my HP9000 (unix10.10) we include the following in a script named /sbin/init.d/oracle_db: /usr/bin/su - oracle7 -c "oracle/bin/dbstart" The script should be linked from /sbin/rc2.d.

You can also include dbshut command as well. Be sure you adapt absolute path of commands and oracle directory for your system.

I would be happy to ftp you the entire script if you like.

animal

In article <53bgac$kg9_at_fdmetd.fdata.no>, perp_at_fdata.no says...
>
>In article <533s2l$25t_at_omni1.voicenet.com>, chetan_at_voicenet.com says...
>>
>>
>>
>>
>>I am having trouble starting up oracle at boot time. I have the dbstart
 script
>>
>>in /etc/init.d , but the problem I am having is this.
>>
>>The dbstart is being run as root at startup time. The dbstart has the
>>
>>following lines in it.
>>connect internal;
>>startup;
>>
>>For this to work, the user who runs dbstart has to be the DBA.
>>
>>Root is not the DBA on our system instead we have a separate user
>>
>>called oracle7 assigned as the DBA.
>>
>>This script fails as it complains that root cannot connect internal.
>>
>>Any help is appreciated.
>>
>>thanks in advance, email responses are welcome.
>>
>>-chetan
>>
>>chetan_at_voicenet.com
>>
>>
>Hey.
>root probably isn't defined as a member of the dba group. Do this.
>Another thing is that I prefer oracle processes to be owned by ORACLE
>and not by the administrator root.
>Petter H. Hansen
>petter_at_fdmetd.no
>
Received on Wed Oct 09 1996 - 00:00:00 CEST

Original text of this message