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: How to ensure Listener starts when Unix box reboots?

Re: How to ensure Listener starts when Unix box reboots?

From: Theo <theo.horn_at_za.unisys.com>
Date: Wed, 21 Jul 1999 23:29:43 GMT
Message-ID: <7n5l4q$bge$1@nnrp1.deja.com>


Hi,

Just add the line : su - oracle -c 'lsnrctl start' in one of your UNIX startup files; /etc/rc file or /etc/rc2.d directories.

'su' - switches user to oracle, the '-' ensures that the right environment is loaded and the -c is the command you want executed.

HTH
Theo

PS. I can send you a sample Oracle startup file for UNIX if you like.

In article <AVql3.703$HF.19471_at_dfiatx1-snr1.gtei.net>,   "Christopher Allen" <progplusSPAMBEGONE_at_gte.net> wrote:
> When our UNIX server is restarted, the Oracle database on it also
restarts,
> including the three instances defined. But the Listener doesn't
start. I
> have to manually run the LSNRCTL STATUS command to get the Listener
running.
>
> What do I modify in the UNIX config so that the Listener is started
> automatically?
>
> Thanks.
>
>

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't. Received on Wed Jul 21 1999 - 18:29:43 CDT

Original text of this message

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