【发布时间】:2016-04-22 20:16:46
【问题描述】:
我刚刚在带有 Oracle XE 的 VM 中安装了 CentOs 7 最低版本的服务器。
所有安装都很顺利,但我无法从远程 IP(我的主机)访问 APEX。 CentOS 是最低限度的,我没有 GNOME 可以尝试从 localhost 浏览器访问。
我已经配置了远程访问,如下:
SQL> EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);
这里是监听器状态:
$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 17-JAN-2016 12:22:15
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
Start Date 17-JAN-2016 11:48:31
Uptime 0 days 0 hr. 33 min. 44 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XE" has 1 instance(s).
Instance "XE", status READY, has 1 handler(s) for this service...
Service "XEXDB" has 1 instance(s).
Instance "XE", status READY, has 1 handler(s) for this service...
The command completed successfully
我如何知道 APEX 服务正在运行?
如何启动它并从远程计算机访问?
【问题讨论】:
-
尝试127.0.0.1:8080/apex 的 wget 以查看它是否可以从 localhost 获得。您可能有不同的端口号。您可以在数据库中查询 SELECT dbms_xdb.gethttpport FROM dual;
标签: oracle oracle-apex oracle-xe