这是我的第一篇文章,所以我会尽量做到描述性。如果有什么遗漏,请告诉我:
因此,在下载压缩文件"OracleXE112_Win32“之后,我正在尝试安装Oracle Express11g-我将其解压缩,并打开磁盘1,然后进行安装。我完成了整个安装过程,没有任何问题。然而,当我打开"Get Started“时,我遇到了以下错误:
"Windows找不到‘http:/.127.0.0.1:%HTTPPORT% / to /f?p=4950’。请确保键入的名称正确,然后重试。--在谷歌搜索后,系统告诉我将%HTTPPORT%更改为8080。
如果我在单击"Get Started“时执行此操作,则会显示以下错误:"Firefox can‘establish a connection to the server at 127.0.0.1:8080”。
我需要这样做,这样我迟早可以把它连接到我的eclipse上,这样我就可以开始为我的Java编程课做作业了。任何帮助都非常感谢,非常感谢!
发布于 2013-03-23 01:13:33
我已经为这个问题找到了一个解决方案。为了解释我的解决方案,我使用了一些别名来引用我的真实参数。它们是:
[ME] = my user name
[MYHOST] = my current workstation hostname (netbios name as well)
[MYHOST.mycompany.com] = my worksation's fully qualified domain name在开始时,我遇到了与上面提到的相同的情况:即使在成功安装之后,我也无法连接到apex服务。
首先,我使用了tnsping oracle实用程序:
C:\Users\ME>tnsping MYHOST答案是这样的:
TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\sqlnet.ora
Used HOSTNAME adapter to resolve the alias
Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=
(PROTOCOL=TCP)(HOST=fe80::5d34:78a:5862:64%20)(PORT=1521))
(ADDRESS=(PROTOCOL=TCP)(HOST=fe80::c27:54a4:1600:86a4%26)(PORT=1521))(ADDRESS=
(PROTOCOL=TCP)(HOST=fe80::38ab:cdb4:dd77:7ed9%12)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)
(HOST=10.9.32.208)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.56.1)(PORT=1521))
(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.106)(PORT=1521)))
TNS-12541: TNS:no listener你可以在上面看到很多当前活跃的不同IP地址。只缺少最重要的127.0.0.1。我在笔记本上工作,所以网络“几乎总是”在变化(WLAN、3G、HSDPA、以太网等)。只有localhost是固定的。这才是真正的问题所在。(当我在连接到办公网络的办公环境中工作时,它也在工作。)
在这种情况下,我也开始使用lsnrctl oracle实用程序。我看到了以下几点:
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Production
Default Service XE
Listener Parameter File /oraclexe/app/oracle/product/11.2.0/server\network\admin\listener.ora
Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\MYHOST\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=MYHOST.mycompany.com)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully您可以看到位于8080端口的顶点的服务丢失了!我也尝试过正常的ping,它工作得很好:
C:\Users\ME>ping MYHOST.mycompany.com
结果是:
MYHOST.mycompany.com [fe80::c27:54a4:1600:86a4%26] ping
response fe80::c27:54a4:1600:86a4%26: time<10 ms
...您可以意识到IPv6地址也存在于我的tnsping试用中。
因此,我决定直接在本地主机文件中定义MYHOST:
127.0.0.1 localhost MYHOST MYHOST.mycompany.com现在使用ping进行测试:
C:\Users\ME>ping MYHOST答案是:
MYHOST.mycompany.com [127.0.0.1] ping:
response 127.0.0.1: byte=32 time<10 ms. TTL=128
...在这一点上,我已经重新启动(停止并再次启动)这两个正在运行的Oracle服务(只是为了确保):
OracleServiceXE
OracleXETNSListener看看这个奇迹:
C:\Users\ME>lsnrctl
LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Production
Default Service XE
Listener Parameter File /oraclexe/app/oracle/product/11.2.0/server\network\admin\listener.ora
Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\MYHOST\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=MYHOST.mycompany.com)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=MYHOST.mycompany.com)(PORT=8080))(Presentation=HTTP)(Session=RAW))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XEXDB" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Service "xe" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
The command completed successfully
LSNRCTL>您可以看到PORT=8080和服务XE实例的重要行。所以我很高兴getting started URL又能正常工作了。
发布于 2013-08-07 02:09:59
您使用的是哪种浏览器?我在使用Chrome时也遇到了同样的问题。下载firefox,右键单击"Get Started With Oracle Database 11g Express Edition“图标,并将"opens”选项更改为firefox。
发布于 2014-06-12 18:27:51
简单的解决方案:
你需要直接告诉你的http端口在哪里。为此,打开存储Oracle的文件夹并导航到服务器文件夹(在我的例子中,该文件夹为C:\Oracle\oraclexe\app\oracle\product\11.2.0\server) ),右键单击Get_Started文件并选择属性。在这里您可以手动输入您的http端口,在我的例子中通常是8080:...127.0.0.1:8080/apex/f?p=4950
这个问题应该得到解决。
希望这能帮助你度过难关..
皮纳尔美国
https://stackoverflow.com/questions/7941118
复制相似问题