Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Oracle 8.1.6 on Linux start
What we do is in /etc/inittab, added a line like:
pu:3:wait:/etc/wcc_install/startup.wcc
The script /etc/wcc_install/startup.wcc basically contains:
su - oracle -c /bin/bash < input_script > output_log 2> output_err &
This starts up input_script as your Oracle user (assuming your Oracle user is oracle.) Any output will be put in output_log and output_err.
Your input script contains dbstart and whatever else you want to start as oracle automatically (as in networking, other software.)
Now, how does Oracle recommend? As a matter of fact, I don't know. This method is pure Unix methodoligy.
Terry Steyaert
steyaert_at_my-deja.com
In article <8snod9$piv$1_at_news1.xs4all.nl>,
"Lambert van der Bruggen" <lbruggen_at_xs4all.nl> wrote:
> "Terry Steyaert" <steyaert_at_my-deja.com> wrote in message
> news:8skbrn$r2a$1_at_nnrp1.deja.com...
> > <SNIP>
> I had same problem with starting Oracle on Linux. The dbstart script
did not
> detect the Oracle version which was installed (8.1.6 in my case), so
> environment variable $VERSION was not set in dbstart. This caused
startup
> error. I just added the appropriate setting manually to this script-
file and
> now dbstart works fine again.
>
> However, I have question too. How can I Linux let dbstart execute
> automatically during boot? To spare some of you a lot of typing, I
don't
> have any Oracle manual at hand, so can't check documentation.
>
> Thanks.
> Lambert
>
>
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Mon Oct 23 2000 - 07:11:19 CDT