Tuesday, 21 January 2014

Oracle 11g: ORA-12514: TNS:listener does not currently know of service

bahix12:/Oracle/product/11.2/db/network/admin>lsnrctl start BIPROD

LSNRCTL for IBM/AIX RISC System/6000: Version 11.2.0.3.0 - Production on 21-JAN-2014 12:51:07

Copyright (c) 1991, 2011, Oracle.  All rights reserved.

Starting /Oracle/product/11.2/db/bin/tnslsnr: please wait...

TNSLSNR for IBM/AIX RISC System/6000: Version 11.2.0.3.0 - Production
System parameter file is /Oracle/product/11.2/db/network/admin/listener.ora
Log messages written to /Oracle/diag/tnslsnr/bahix12/biprod/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=bahix12)(PORT=1522)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1522)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=bahix12)(PORT=1522)))
STATUS of the LISTENER
------------------------
Alias                     BIPROD
Version                   TNSLSNR for IBM/AIX RISC System/6000: Version 11.2.0.3.0 - Production
Start Date                21-JAN-2014 12:51:07
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      ON
Listener Parameter File   /Oracle/product/11.2/db/network/admin/listener.ora
Listener Log File         /Oracle/diag/tnslsnr/bahix12/biprod/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=bahix12)(PORT=1522)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1522)))
The listener supports no services
The command completed successfully


Static registration:
SQL> alter system set LOCAL_LISTENER='(ADDRESS = (PROTOCOL=TCP)(HOST=10.180.1.209)(PORT=1522))' scope=both;



bahix12:/Oracle/product/11.2/db/network/admin>lsnrctl status BIPROD

LSNRCTL for IBM/AIX RISC System/6000: Version 11.2.0.3.0 - Production on 21-JAN-2014 12:55:38

Copyright (c) 1991, 2011, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=bahix12)(PORT=1522)))
STATUS of the LISTENER
------------------------
Alias                     BIPROD
Version                   TNSLSNR for IBM/AIX RISC System/6000: Version 11.2.0.3.0 - Production
Start Date                21-JAN-2014 12:51:07
Uptime                    0 days 0 hr. 4 min. 31 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      ON
Listener Parameter File   /Oracle/product/11.2/db/network/admin/listener.ora
Listener Log File         /Oracle/diag/tnslsnr/bahix12/biprod/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=bahix12)(PORT=1522)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1522)))
Services Summary...
Service "BIPROD" has 1 instance(s).
  Instance "BIPROD", status READY, has 1 handler(s) for this service...
Service "BIPRODXDB" has 1 instance(s).
  Instance "BIPROD", status READY, has 1 handler(s) for this service...
The command completed successfully
bahix12:/Oracle/product/11.2/db/network/admin>


1 comment:

Number of Visitors