我安装了一个VM,安装的过程中没有注意选项,后来参照下面的方法做了配置:
http://www.oracle.com/technetwork/database/manageability/emx-intro-1970113.html
[oracle@rheldbdg admin]$ lsnrctl status
LSNRCTL for Linux: Version 12.1.0.2.0 - Production on 14-SEP-2015 12:48:12
Copyright (c) 1991, 2014, Oracle.All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.20)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias
LISTENER
Version
TNSLSNR for Linux: Version 12.1.0.2.0 - Production
Start Date
14-SEP-2015 12:33:47
Uptime
0 days 0 hr. 14 min. 25 sec
Trace Level
off
Security
ON: Local OS Authentication
SNMP
OFF
Listener Parameter File /u01/app/oracle/product/12.1.0/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/rheldbdg/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.20)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.20)(PORT=5500)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcldg" has 1 instance(s).
Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oracle@rheldbdg admin]$ sqlplus /nolog
SQL*Plus: Release 12.1.0.2.0 Production on Mon Sep 14 12:49:11 2015
Copyright (c) 1982, 2014, Oracle.All rights reserved.
SQL> conn / as sysdba
Connected.
SQL> show parameter dispatchers
NAME
TYPE VALUE
------------------------------------ ----------- ------------------------------
dispatchers
string (PROTOCOL=TCP) (SERVICE=orclXD
B)
max_dispatchers
integer
SQL> select dbms_xdb_config.gethttpport() from dual;
DBMS_XDB_CONFIG.GETHTTPPORT()
-----------------------------
5500
SQL>
在chrome里启动,还是不能打开,其他IE等也试过了,还是不能访问,不知为什么? 特此求助! 感谢先!
http://192.168.1.20:5500/em
No data received
[size=0.86667em]ERR_EMPTY_RESPONSE
|