Hi all,
is there any way how to start password protected
listener from certain
.bat file.
I am using Windows NT and I don't know how to pass a
password to lsnrctl
-utility when I am doing like this lsnrctl reload
PASSWORD.
All tips are welcome...
Rgds,
Kalle
Kalle,
I do something similiar by creating a command file with lsnrctl commands and
then executing them like this:
@rem
@rem First set the log file name via lsnrctl so we can rename it in dos
@rem
@if exist %oracle_home%\network\log\%listenerlog%_temp.log del
Title: Re: lsnrctl -utility, passing password in a command file
a) You don't need the password to start the listener
b) In NT you can start/stop the listener by starting/stopping the service
(net start/stop OraclexxxTNSListener) without using lsnrctl . Of course you
need the authority