Operating System - HP-UX
1753425 Members
5274 Online
108793 Solutions
New Discussion юеВ

Re: Changing the listener password

 
SOLVED
Go to solution
Sandman!
Honored Contributor

Re: Changing the listener password

Could you paste part of your "listener.ora" file? Is your password encrypted or clearcase?
Yogeeraj_1
Honored Contributor

Re: Changing the listener password

hi again,

did you try the "set password" command?

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Sandman!
Honored Contributor
Solution

Re: Changing the listener password

Jeff...the command you are trying is actually one string separated by an underscore i.e. "change_password" NOT "change password".

Here's what i got after testing on my box:

======================================================
LSNRCTL> set current_listener
Current Listener is
LSNRCTL> change_password
Old password:
New password:
Reenter new password:
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
Password changed for
The command completed successfully
LSNRCTL> set password
Password:
The command completed successfully
LSNRCTL> save_config
LSNRCTL>exit
======================================================

The above scenario is for encrypted passwords only. In case you want clearcase passwords then you need to edit the file and add it there.

hope it helps...
Jean-Luc Oudart
Honored Contributor

Re: Changing the listener password

Hi,

if you need to script stop/start listener,

check this thread
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=703593

Regards
Jean-Luc
fiat lux
Jeff Ohlhausen
Frequent Advisor

Re: Changing the listener password

Sandman - you are the king!

Change_password worked! I can't believe that was it - I've been fighting with this for a long time. I'm sure I downloaded doc with change password in it.

Thanks very much.
Jeff
Do or do not - there is no try.
Sandman!
Honored Contributor

Re: Changing the listener password

I'm glad it worked for you and I'm happy to help anytime.

:)
Jeff Ohlhausen
Frequent Advisor

Re: Changing the listener password

Thanks again everyone.
Do or do not - there is no try.