[oracle@quartz admin]$ vi listener.ora
LISTENER01 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = quartz)(PORT = 1521))
)
)
SID_LIST_LISTENER01 =
(SID_LIST =
(SID_DESC =
(SID_NAME = dev)
(ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
)
)
LISTENER02 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = quartz)(PORT = 1522))
)
)
SID_LIST_LISTENER02 =
(SID_LIST =
(SID_DESC =
(SID_NAME = stan)
(ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_2)
)
)
[oracle@quartz admin]$ lsnrctl start LISTENER01
LSNRCTL for Linux: Version 10.2.0.1.0 – Production on 13-OCT-2008 11:55:22
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait…
TNSLSNR for Linux: Version 10.2.0.1.0 – Production
System parameter file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener01.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=quartz)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=quartz)(PORT=1521)))
STATUS of the LISTENER
————————
Alias LISTENER01
Version TNSLSNR for Linux: Version 10.2.0.1.0 – Production
Start Date 13-OCT-2008 11:55:22
Uptime 0 days 0 hr. 0 min. 3 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener01.log
Listening Endpoints Summary…
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=quartz)(PORT=1521)))
Services Summary…
Service “dev” has 1 instance(s).
Instance “dev”, status UNKNOWN, has 1 handler(s) for this service…
The command completed successfully
[oracle@quartz admin]$ ps -ef | grep -i liste
oracle 22182 1 0 11:55 ? 00:00:00 /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr LISTENER01 -inherit
oracle 22190 20035 0 11:55 pts/0 00:00:00 grep -i liste
[oracle@quartz admin]$ lsnrctl start LISTENER02
LSNRCTL for Linux: Version 10.2.0.1.0 – Production on 13-OCT-2008 11:55:33
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait…
TNSLSNR for Linux: Version 10.2.0.1.0 – Production
System parameter file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener02.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=quartz)(PORT=1522)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=quartz)(PORT=1522)))
STATUS of the LISTENER
————————
Alias LISTENER02
Version TNSLSNR for Linux: Version 10.2.0.1.0 – Production
Start Date 13-OCT-2008 11:55:33
Uptime 0 days 0 hr. 0 min. 3 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener02.log
Listening Endpoints Summary…
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=quartz)(PORT=1522)))
Services Summary…
Service “stan” has 1 instance(s).
Instance “stan”, status UNKNOWN, has 1 handler(s) for this service…
The command completed successfully
[oracle@quartz admin]$ ps -ef | grep -i liste
oracle 22182 1 0 11:55 ? 00:00:00 /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr LISTENER01 -inherit
oracle 22193 1 0 11:55 ? 00:00:00 /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr LISTENER02 -inherit
oracle 22197 20035 0 11:55 pts/0 00:00:00 grep -i liste
Popular Posts