4.6. データベース作成後の確認¶
4.6.2. リスナー起動確認¶
以下のコマンドを実行し、リスナーが正しく起動されている事を確認します。
PS C:\Users\oracle> lsnrctl status
LSNRCTL for 64-bit Windows: Version 12.2.0.1.0 - Production on 16-NOV-2017 19:07:17
Copyright (c) 1991, 2016, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle-se2.example.local)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 12.2.0.1.0 - Production
Start Date 16-NOV-2017 18:39:43
Uptime 0 days 0 hr. 27 min. 37 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File D:\app\oracle\virtual\product\12.2.0\dbhome_1\network\admin\listener.ora
Listener Log File D:\app\oracle\virtual\diag\tnslsnr\oracle-se2\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle-se2)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=oracle-se2)(PORT=5500))(Security=(my_wallet_directory=D:\APP\ORACLE\VIRTUAL
\admin\orcl\xdb_wallet))(Presentation=HTTP)(Session=RAW))
Services Summary...
Service "1d926eddcb00498c9175d4af39585add.test.local" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 2 handler(s) for this service...
Service "orcl.test.local" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB.test.local" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclpdb.test.local" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
4.6.3. データベースインスタンス起動確認¶
以下のコマンドを実行し、データベースインスタンスが正しく起動されている事を確認します。
PS C:\Users\oracle> sqlplus / as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Thu Nov 16 19:08:37 2017
Copyright (c) 1982, 2016, Oracle. All rights reserved.
Connected to:
Oracle Database 12c Standard Edition Release 12.2.0.1.0 - 64bit Production
SQL> select status from v$instance;
STATUS
------------
OPEN
SQL> select banner from v$version;
BANNER
--------------------------------------------------------------------------------
Oracle Database 12c Standard Edition Release 12.2.0.1.0 - 64bit Production
PL/SQL Release 12.2.0.1.0 - Production
CORE 12.2.0.1.0 Production
TNS for 64-bit Windows: Version 12.2.0.1.0 - Production
NLSRTL Version 12.2.0.1.0 - Production
SQL> exit
Disconnected from Oracle Database 12c Standard Edition Release 12.2.0.1.0 - 64bit Production