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: hpuxrac <johnbhurley_at_sbcglobal.net>
Date: 11 Dec 2006 11:55:05 -0800
Message-ID: <1165866904.946522.194420@j72g2000cwa.googlegroups.com>

fitzjarrell_at_cox.net wrote:
> 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.
>

Massa you can set it up something like this ...

#!/bin/ksh
. /somefile/to_setup/your_environment

lsnrctl << EOF
set log_status somename off
exit
EOF Password protection for listener is also recommended. I don't remember if this is supported in 8.1.7 ( I think so but ? ). Received on Mon Dec 11 2006 - 13:55:05 CST

Original text of this message

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