Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2001 14:44:15 +0000 (GMT)
From:      Jan Grant <Jan.Grant@bristol.ac.uk>
To:        Odhiambo Washington <wash@wananchi.com>
Cc:        FBSD-Q <freebsd-questions@freebsd.org>
Subject:   Re: OT: Oracle
Message-ID:  <Pine.GSO.4.31.0111061439520.12223-100000@mail.ilrt.bris.ac.uk>
In-Reply-To: <20011106153339.E60138@ns2.wananchi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 6 Nov 2001, Odhiambo Washington wrote:

> I have a problem (BIG) for which I hope someone here has a solution. I'm asking
> this here because of a new terminology that I just learnt while treading on the
> alien world of Linux.
>
> We have a machine that runs Oracle. I am trying to get Oracle to be started
> automatically when the machine reboots. That machine is Redhead (Redhat) 6.2
> and Oracle is 8.0.5 and I've managed but without understanding why I was doing
> certain things, particularly the symlinking. One has to link a control script
> in at least 5 directories..
>
> ln -s /path/to/scriptx /etc/rc.d/rc0.d/Kscriptx,
> ln -s /path/to/scriptx /etc/rc.d/rc0.d/Sscriptx
>
> Now I find life quite easy with FreeBSD because all I have to do is stick the control
> script in /usr/local/etc/rc.d/ in most cases (because I don't use rc.local) and things
> just work - voila!.
>
> In this other world of Linux there are some things called 'run levels': Do we also
> have run levels in FreeBSD???

Not in the SysV sense, no. Forgive me for channelling Abigail, but I
can't see the FreeBSD problem here :-)

For your Linux setup, the machine will generally run in RL3 (multiuser
mode) - so you'll need an "S??oracle" link in /etc/rc.d/rc3.d; K links
in rc[012356].d; symlinks aren't required; you can just copy the files
around - they (or hard links) are used because that way, you only have
to maintain one copy of the startup script (in /etc/rc.d/init.d) to have
all the symlinked versions track it.



-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk
( echo "ouroboros"; cat ) > /dev/fd/0 # it's like talking to yourself sometimes


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.31.0111061439520.12223-100000>