Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to ensure Listener starts when Unix box reboots?
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