Thursday, November 15, 2007

Enabling , Disabling , Change the password protection on the RDBMS and Tools (8.0.6) listeners in an Oracle Applications 11.5.x

The steps in this guide should be performed after applying the following AutoConfig patches:-

3453499 (11i.ADX.F)
5225940 (Post ADX.F Fixes)

How to enable/disable/change the password

To enable/disable or change the password script must be used.

DB Tier: $ORACLE_HOME/appsutil/bin/
Apps Tier: $AD_TOP/bin/

This has the following syntax:-

Valid arguments for
help : get usage information
contextfile : provide Applications or DB Tier context file name

Set the Applications (APPSORA.env) or RBDMS ($CONTEXT_NAME.env)
Run one of the following commands

Example 1: To enable listener password contextfile=$CONTEXT_FILE enablepassword

Example 2: To disable listener password contextfile=$CONTEXT_FILE disablepassword

Example 3: To change existing listener password contextfile=$CONTEXT_FILE changepassword

Further information:
This will change the contextfile variable s_enable_listener_password to "ON" or "OFF"
Update/Remove the listener.ora with a PASSWORDS_PROD entry and the encypted password value


If the listener is not running it will not start it.
If the listener is currently running it will stop and restart it.
Controlling a password protected listener .Once the password is enabled the following methods can now be used to stop/start the listener:-

Apps Tier:

Use script $COMMON_TOP/admin/scripts/$CONTEXT_NAME/

$COMMON_TOP/admin/scripts/$CONTEXT_NAME/ start
$COMMON_TOP/admin/scripts/$CONTEXT_NAME/ stop

This script will check the listener.ora for the encypted password, and use this to stop/start the listener.

DB Tier:

Method A: Use script $ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME/


$ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME/ start PROD
$ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME/ stop PROD

This script will check the listener.ora for the encypted password, and use this to stop/start the listener.

Method B : Use command line options in the Listener Control Utility LSNRCTL
Start the Listener Control Utility

$ lsnrctl

Enter the listener name
LSNRCTL > set current_listener PROD

Enter password for the Listener
LSNRCTL > set password or


LSNRCTL > set password 654FA907952B15B


LSNRCTL > set password
Password: apps

To determine the Status of the listener:
LSNRCTL > status

To Stop the listener:
LSNRCTL > stop

To start the listener:
LSNRCTL > start

To exit :
LSNRCTL > start


Tulla said...

Good words.

Anonymous said...
This comment has been removed by a blog administrator.
Anonymous said...


can anyone tell me which is the best counter strike guide ? :)...i found this one :

What do you about upset it ?

Thanx in advance

Sorry for my bad english :s

nisha said...

The posts so far have been great - hoping for some more.

Microsoft Office 2007 said...

NEVERTHELESS, THE CIVIL LAW is and must be neutral about who has a more noble or rewarding faith. The breakaway parishes ought to win every Office 2010facet of the lawsuit not becauseMicrosoft Office 2010 their beliefs or their politics are better, Microsoft wordbut because both lawOffice 2007and equity, along with common sense, are on Microsoft Officetheir side.Microsoft Office 2007 Not only does Virginia state law (the Division Statute)Office 2007 keyexplicitly apply to just such a Office 2007 downloadsituation as now exists, but the history Office 2007 Professionalespecially of The Falls Church argues against the claims of Outlook 2010the Virginia Diocese with which theyMicrosoft outlookhave disassociated.Microsoft outlook 2010First, The Falls Church wasWindows 7 founded, formed, and developed long before the diocese, or the national Episcopal Church, even existed.