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: Listener will not start/stop automatically (help, tried suggestions :)

Re: Listener will not start/stop automatically (help, tried suggestions :)

From: Charles Hansis <chansis_at_earthlink.net>
Date: Tue, 16 Nov 1999 21:08:00 -0500
Message-ID: <80t2f5$nfj$1@oak.prod.itd.earthlink.net>


Can you do the steps that you mentioned manually? i.e. can you su - oracle, run lsnrctl, then start LISTENER?
I would try to see where the process is breaking down, and if everything works manually, then you have narrowed the potential problems to a scripting error or a problem with the su command w/ the "-c" option.

HTH JH

NetComrade <andreyNSPAM_at_bookexchange.net> wrote in message news:3831af05.200850_at_news.earthlink.net...
> Thanx, but I am still having the same problem...
>
>
> On Tue, 16 Nov 1999 11:40:17 GMT, alex_at_alenda.freeserve.co.uk (Alex
> Hudghton) wrote:
>
> >Your command should be su - oracle -c lsnrctl start tcp_listener
> >
> >The way you have it at the moment the script is being run by root, the
> >'- oracle' is ignored
> >
> >Alex
> >
> >On Mon, 15 Nov 1999 22:09:12 GMT, andreyNSPAM_at_bookexchange.net
> >(NetComrade) wrote:
> >
> >>We tried to do it ourselves, unsuccessfully, so I tried something from
> >>deja.com archives... still no luck. (listener wasl running)
> >>[db02_at_saltlake football99]#su -c "lsnrctl stop tcp_listener" - oracle
> >>
> >>LSNRCTL for Solaris: Version 2.3.4.0.0 - Production on 15-NOV-99
> >>17:01:14
> >>
> >>Copyright (c) Oracle Corporation 1994. All rights reserved.
> >>
> >>Message 1053 not found; No message file for product=NETWORK,
> >>facility=TNSMessage 1052 not found; No message file for
> >>product=NETWORK, facility=TNS
> >>[db02_at_saltlake football99]#
> >>[db02_at_saltlake football99]#
> >>
> >>
> >>su -c "lsnrctl start tcp_listener" - oracle
> >>
> >>LSNRCTL for Solaris: Version 2.3.4.0.0 - Production on 15-NOV-99
> >>17:09:21
> >>
> >>Copyright (c) Oracle Corporation 1994. All rights reserved.
> >>
> >>Message 1070 not found; No message file for product=NETWORK,
> >>facility=TNSTNS-12545: Message 12545 not found; No message file for
> >>product=NETWORK, facility=TNS
> >> TNS-12560: Message 12560 not found; No message file for
> >>product=NETWORK, facility=TNS
> >> TNS-00515: Message 515 not found; No message file for
> >>product=NETWORK, facility=TNS
> >> Solaris Error: 2: No such file or directory
> >>
> >>---------------
> >>Andrey Dmitriev eFax: (978) 383-5892 Daytime: (917) 373-5417
> >>AOL: NetComrade ICQ: 11340726 remove NSPAM to email
> >>
> >
>
> ---------------
> Andrey Dmitriev eFax: (978) 383-5892 Daytime: (917) 373-5417
> AOL: NetComrade ICQ: 11340726 remove NSPAM to email
>
Received on Tue Nov 16 1999 - 20:08:00 CST

Original text of this message

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