Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: HELP! Solaris's rc script.
Hi Genki,
are your .profile for ksh or .cshrc for csh of the oracle user
set and export the right Oracle environment variables ?
ORACLE_HOME ...
PATH = .....$ORACLE_HOME/bin
Hope that helps,
Toni
In article <327A382D.75F9_at_iij-mc.co.jp>, genki_at_iij-mc.co.jp wrote:
> This is a multi-part message in MIME format.
>
> --------------24715BBC5172
> Content-Type: text/plain; charset=iso-2022-jp
> Content-Transfer-Encoding: 7bit
>
> Hi all.
> Now, I installed a Oracle server 7.2.2.3 on Solaris2.5
> machine.(SS5,sun4m)
> I want to start the Oracle server using Solaris's rc script file.
> I wrote follow script and set at /etc/init.d ,/etc/rc0.d ( to shutdown),
> /etc/rc3.d ( to startup ).
> But when I turn down and then up the Solaris machine, only the Listner
> daemon process
> work and Oracle server DON'T work.
>
> I have installed the Oracle server(same version) in the another
> Solaris2.5 machine ( same platform).
> And it works well.
> What's wrong ?
> Please anybody help me!
>
>
> --
> /** ------------
> IIJ Media Communications,Inc.
> Genki Nakano ( genki_at_iij-mc.co.jp )
> ----------- **/
>
> --------------24715BBC5172
> Content-Type: text/plain; charset=iso-2022-jp; name="dbora"
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline; filename="dbora"
>
> #
> # Copyright (c) 1991, by Sun Microsystems, Inc.
> #
> #ident "@(#)syslog 1.6 93/10/06 SMI"
>
> case "$1" in
> 'start')
> if [ -f /export/home/oracle/bin/dbstart ]; then
> echo "oracle starting."
> /bin/su - oracle -c /export/home/oracle/bin/dbstart
1>/dev/console 2>&1
> echo "start" | /bin/su - oracle -c
/export/home/oracle/bin/lsnrctl
> fi
> ;;
> 'stop')
> if [ -f /export/home/oracle/bin/dbshut ]; then
> echo "Stopping the oracle."
> echo "stop" | /bin/su - oracle -c
/export/home/oracle/bin/lsnrctl
> /bin/su - oracle -c /export/home/oracle/bin/dbshut
> fi
> ;;
> *)
> echo "Usage: /etc/init.d/oracle { start | stop }"
> ;;
> esac
> exit 0
>
> --------------24715BBC5172--
-- A. Dischner, SGI&AIX sysadmin, Oracle DBA | Don't let friends Institut fuer Klinische Chemie | use WinDose Klinikum Grosshadern | Just say NO. Ludwig Maximilians Universitaet Muenchen, GER | Marchioninistr.15 81366 Muenchen 49-89-70953202 |Received on Mon Nov 04 1996 - 00:00:00 CST
![]() |
![]() |