Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Cannot set listener status to off to archive file
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