Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Listener will not start/stop automatically (help, tried suggestions :)
Yes.
It will work fine here:
[admitriev_at_saltlake admitriev]$su - oracle
Password:
[db01_at_saltlake oracle]$lsnrctl start tcp_listener
LSNRCTL for Solaris: Version 2.3.4.0.0 - Production on 17-NOV-99 10:39:50
Copyright (c) Oracle Corporation 1994. All rights reserved.
Starting /export/apps/oracle/product/734/bin/tnslsnr: please wait...
TNSLSNR for Solaris: Version 2.3.4.0.0 - Production
System parameter file is /var/opt/oracle/listener.ora
Log messages written to
/export/apps/oracle/product/734/network/log/tcp_listener.log
Listening on:
(ADDRESS=(PROTOCOL=tcp)(DEV=11)(HOST=192.168.1.9)(PORT=1521))
Connecting to
(ADDRESS=(PROTOCOL=TCP)(HOST=saltlake)(PORT=1521)(QUEUESIZE=30))
STATUS of the LISTENER
Alias tcp_listener Version TNSLSNR for Solaris: Version 2.3.4.0.0 - Production Start Date 17-NOV-99 10:39:53 Uptime 0 days 0 hr. 0 min. 0 sec Trace Level off Security OFF SNMP OFF
ORLi has 1 service handler(s) PROD has 1 service handler(s) db01 has 1 service handler(s) db02 has 1 service handler(s)The command completed successfully
On Tue, 16 Nov 1999 21:08:00 -0500, "Charles Hansis" <chansis_at_earthlink.net> wrote:
>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
>>
>
>
>
Andrey Dmitriev eFax: (978) 383-5892 Daytime: (917) 373-5417 AOL: NetComrade ICQ: 11340726 remove NSPAM to emailReceived on Wed Nov 17 1999 - 09:46:06 CST
![]() |
![]() |