Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

stop listener with password set script

Status
Not open for further replies.

SDubi

MIS
Mar 18, 2002
8
US
Folks! Please help.
I need to shut down ORACLE listener using a script. To stop the listener we need to provide it a password. Does any body have a script which will do that... we are using ORACLE 8i

thanx in advance

Steve
 
Something like the following should work:

Invoke the listener with the command

lsnrctl @param_file

Param_file contains the listener commands to stop the listener. It needs to contain the following lines

set password listener_password
stop listener_name
quit
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top