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: Cannot set listener status to off to archive file

Re: Cannot set listener status to off to archive file

From: <fitzjarrell_at_cox.net>
Date: 11 Dec 2006 11:20:27 -0800
Message-ID: <1165864827.712504.230770@l12g2000cwl.googlegroups.com>

Massa Batheli wrote:
> oracle_at_dev1 /opt/app/oracle/product/8.1.7/network/log >lsnrctl set
> log_status nbodevd2 off;
>
> LSNRCTL for HPUX: Version 8.1.7.0.0 - Production on 11-DEC-2006
> 11:56:12
>
> (c) Copyright 1998 Oracle Corporation. All rights reserved.
>
> NL-00857: wrong number (0 - 1 needed) of arguments to "log_status"
> oracle_at_dev1 /opt/app/oracle/product/8.1.7/network/log >
>
>
>
> Massa Batheli wrote:
> > Thanks
> > I will send the exact error and a cut and paste of the command.
> > The file has become 2G large and I am exploring the possibility of
> > having one file a year.
> >
> > Thanks
> > Massa

You can't use SET from the command line as you're attempting to do:

oracle_at_dev1 /opt/app/oracle/product/8.1.7/network/log >lsnrctl

LSNRCTL for HPUX: Version 8.1.7.0.0 - Production on 11-DEC-2006 11:56:12

(c) Copyright 1998 Oracle Corporation. All rights reserved.

LSNRCTL> set log_status nbodevd2 off

The above should do what you're expecting.

David Fitzjarrell Received on Mon Dec 11 2006 - 13:20:27 CST

Original text of this message

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