2014. 9. 16. 15:11 오라클
mount 단계시 listener 상태 테스트
확인이 필요하여 테스트 해봄
1. NOMOUNT 단계시 listener status 및 접속가능여부
SYS@ORCL> startup nomount
ORACLE instance started.
Total System Global Area 617975808 bytes
Fixed Size 2255752 bytes
Variable Size 398460024 bytes
Database Buffers 213909504 bytes
Redo Buffers 3350528 bytes
none> select status from v$instance;
STATUS
------------------------------------
STARTED
[oracle:/home/oracle]#lsnrctl status
LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 16-SEP-2014 14:56:31
Copyright (c) 1991, 2013, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start Date 16-SEP-2014 14:56:18
Uptime 0 days 0 hr. 0 min. 12 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/product/11.2.0.4/network/admin/listener.ora
Listener Log File /oracle/diag/tnslsnr/single/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.50)(PORT=1521)))
Services Summary...
Service "ORCL" has 1 instance(s).
Instance "ORCL", status BLOCKED, has 1 handler(s) for this service...
The command completed successfully
접속 시도해봄
[oracle:/home/oracle]#sqlplus system/manager@ORCL
SQL*Plus: Release 11.2.0.4.0 Production on Tue Sep 16 15:05:04 2014
Copyright (c) 1982, 2013, Oracle. All rights reserved.
ERROR:
ORA-12528: TNS:listener: all appropriate instances are blocking new connections
2. MOUNT 단계시 listener status 및 접속가능여부
none> startup mount
ORACLE instance started.
Total System Global Area 617975808 bytes
Fixed Size 2255752 bytes
Variable Size 398460024 bytes
Database Buffers 213909504 bytes
Redo Buffers 3350528 bytes
Database mounted.
none> select status from v$instance;
STATUS
------------------------------------
MOUNTED
[oracle:/home/oracle]#lsnrctl status
LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 16-SEP-2014 15:01:04
Copyright (c) 1991, 2013, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start Date 16-SEP-2014 14:56:18
Uptime 0 days 0 hr. 4 min. 45 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/product/11.2.0.4/network/admin/listener.ora
Listener Log File /oracle/diag/tnslsnr/single/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.56.50)(PORT=1521)))
Services Summary...
Service "ORCL" has 1 instance(s).
Instance "ORCL", status READY, has 1 handler(s) for this service...
The command completed successfully
[oracle:/home/oracle]#sqlplus system/manager@ORCL
SQL*Plus: Release 11.2.0.4.0 Production on Tue Sep 16 15:07:40 2014
Copyright (c) 1982, 2013, Oracle. All rights reserved.
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
Process ID: 0
Session ID: 0 Serial number: 0
3. open시는 당연하므로 패스..