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: lsnrctl command

Re: lsnrctl command

From: Gerard H. Pille <ghp_at_skynet.be>
Date: Wed, 22 Aug 2001 23:37:14 +0200
Message-ID: <3B84260A.5CF18AF7@skynet.be>


Bryant wrote:
>
> I am attempting to create a simple script to move the listener log
> file on a monthly basis. If the listener has not been named the
> command is simple
>
> lsnrctl set log_file log_file_name
>
> But if the listener has been named(no longer default of LISTENER) and
> I run the same command I get an error. I believe I need to put the
> listener name into the command but, I cannot seem to get the corrct
> syntax. Any suggestions.
>
> Thanks,
> B

The manual says to do it this way, it's not possible on one command-line:

lsnrctl << -oef-
set current_listener listener_two
set log_file listener_two.log
exit
-oef-

With me, on Debian Linux with Oracle9i, it works but gives a memory fault when exiting.

-- 

Gerard H. Pille
Received on Wed Aug 22 2001 - 16:37:14 CDT

Original text of this message

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