在技术学习之路坚持走下去
分类: Oracle
2015-05-12 22:05:26
上篇数据库安装完后,输入lsnrctl start就可以启动EM监听。
[oracle@rac1 ~]$ lsnrctl start
LSNRCTL for Linux: Version 12.1.0.2.0 - Production on 12-MAY-2015 21:18:52
Copyright (c) 1991, 2014, Oracle. All rights reserved.
Starting /ora/app/oracle/product/12.1.0/dbhome_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 12.1.0.2.0 - Production
System parameter file is /ora/app/oracle/product/12.1.0/dbhome_1/network/admin/listener.ora
Log messages written to /ora/app/oracle/diag/tnslsnr/rac1/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=rac1.REHL7)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=rac1.REHL7)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 12.1.0.2.0 - Production
Start Date 12-MAY-2015 21:18:54
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /ora/app/oracle/product/12.1.0/dbhome_1/network/admin/listener.ora
Listener Log File /ora/app/oracle/diag/tnslsnr/rac1/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=rac1.REHL7)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
The listener supports no services
The command completed successfully
[oracle@rac1 ~]$ sqlplus sys as sysdba
SQL*Plus: Release 12.1.0.2.0 Production on Tue May 12 21:19:33 2015
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Enter password:
Connected to an idle instance.
SQL>
然后启动数据库
通过浏览器登录https://ip:5500/em
输入用户名,密码就可以登录,目前我测试sys用户无法登陆,只能system登录,原因尚不明。
登录后界面如下