Databases
cancel
Showing results for 
Search instead for 
Did you mean: 

two Oracle Listener on same server (mcsg)

Vogra
Regular Advisor

two Oracle Listener on same server (mcsg)

Hi All!

I started the second instance on unix mcsg and the following is taking place:

each instance have your listener (ls_aa and ls_bb)

the file is below:
PASSWORDS_LSNR_VSDB= (passwd)

SID_LIST_LSNR_VSDB =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = vsdb)
(ORACLE_HOME = /u01/app/oracle/product/8.1.6)
(SID_NAME = vsdb)
)
)

LSNR_VSDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = vsurjux5)(PORT = 1521))
)

PASSWORDS_LSNR_AUTOM= (passwd)

SID_LIST_LSNR_AUTOM =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = autom)
(ORACLE_HOME = /u01/app/oracle/product/8.1.6)
(SID_NAME = autom)
)
)

LSNR_AUTOM =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = vsurjux5)(PORT = 1521))
)


---
it access it other via dblink

My problem is that when i migrate one package from vsurjux5 to vsurjux6, the listener shutdown all listen to instances. The listener try to start on other node but the one package is on vsurjux5.

On the prompt I did:

Welcome to LSNRCTL, type "help" for information.

LSNRCTL> set current_listener lsnr_autom
Current Listener is lsnr_autom
LSNRCTL> set password aaaa
The command completed successfully
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=auto)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias lsnr_autom
Version TNSLSNR for HPUX: Version 8.1.6.0.0 - Production
Start Date 27-JUN-2005 18:55:33
Uptime 0 days 0 hr. 10 min. 39 sec
Trace Level off
Security ON
SNMP OFF
Listener Parameter File /u01/app/oracle/product/8.1.6/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/8.1.6/network/log/lsnr_autom.log
Services Summary...
autom has 1 service handler(s)
The command completed successfully
LSNRCTL> stop
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=auto)(PORT=1521)))
TNS-01169: The listener has not recognized the password
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=auto)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias lsnr_autom
Version TNSLSNR for HPUX: Version 8.1.6.0.0 - Production
Start Date 27-JUN-2005 18:55:33
Uptime 0 days 0 hr. 10 min. 52 sec
Trace Level off
Security ON
SNMP OFF
Listener Parameter File /u01/app/oracle/product/8.1.6/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/8.1.6/network/log/lsnr_autom.log
Services Summary...
autom has 1 service handler(s)
The command completed successfully
*****(then I set de pasword)*******
LSNRCTL> set password aaaa
The command completed successfully
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=auto)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias lsnr_autom
Version TNSLSNR for HPUX: Version 8.1.6.0.0 - Production
Start Date 27-JUN-2005 18:55:33
Uptime 0 days 0 hr. 11 min. 9 sec
Trace Level off
Security ON
SNMP OFF
Listener Parameter File /u01/app/oracle/product/8.1.6/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/8.1.6/network/log/lsnr_autom.log
Services Summary...
autom has 1 service handler(s)
The command completed successfully
LSNRCTL> stop
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=auto)(PORT=1521)))
The command completed successfully
*****(Note that after stop, when I get the status, the ALIAS change to other that instance is running; ok!)*******
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=auto)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias lsnr_vsdb
Version TNSLSNR for HPUX: Version 8.1.6.0.0 - Production
Start Date 27-JUN-2005 18:55:55
Uptime 0 days 0 hr. 11 min. 30 sec
Trace Level off
Security ON
SNMP OFF
Listener Parameter File /u01/app/oracle/product/8.1.6/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/8.1.6/network/log/lsnr_vsdb.log
Services Summary...
autom has 2 service handler(s)
vsdb has 1 service handler(s)
vsdb has 1 service handler(s)
The command completed successfully
LSNRCTL> status
*****(but my surprise is that the status command show me service autom is running (or not?))*******
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=auto)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias lsnr_vsdb
Version TNSLSNR for HPUX: Version 8.1.6.0.0 - Production
Start Date 27-JUN-2005 18:55:55
Uptime 0 days 0 hr. 11 min. 43 sec
Trace Level off
Security ON
SNMP OFF
Listener Parameter File /u01/app/oracle/product/8.1.6/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/8.1.6/network/log/lsnr_vsdb.log
Services Summary...
autom has 2 service handler(s)
vsdb has 1 service handler(s)
vsdb has 1 service handler(s)
The command completed successfully
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=auto)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias lsnr_vsdb
Version TNSLSNR for HPUX: Version 8.1.6.0.0 - Production
Start Date 27-JUN-2005 18:55:55
Uptime 0 days 0 hr. 13 min. 16 sec
Trace Level off
Security ON
SNMP OFF
Listener Parameter File /u01/app/oracle/product/8.1.6/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/8.1.6/network/log/lsnr_vsdb.log
Services Summary...
autom has 2 service handler(s)
vsdb has 1 service handler(s)
vsdb has 1 service handler(s)
The command completed successfully
LSNRCTL> stop
*****(here, when I try to stop, i get the msg below. It´s ok that the password is not ok for this instance)****
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=auto)(PORT=1521)))
TNS-01169: The listener has not recognized the password
LSNRCTL> set password bbbb
The command completed successfully
LSNRCTL> stop
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=auto)(PORT=1521)))
TNS-01169: The listener has not recognized the password

The question is, how can I stop the only one listener for specific instance. Sometimes I need to migrate the package to another node and the other one will access it via dblink (tnsnames ok!).

Thanx in advance.
Lima.
We are spirits in the material world
2 REPLIES
Vogra
Regular Advisor

Re: two Oracle Listener on same server (mcsg)

Hi All,

escusas,
I resolve it pointing each listener to IP of the each package.
escusas,
Lima.
We are spirits in the material world
Vogra
Regular Advisor

Re: two Oracle Listener on same server (mcsg)

I wrote...
We are spirits in the material world