Oracle 10g Express 和 11g Express 数据库主页未显示

发布于 2024-12-12 06:32:11 字数 282 浏览 0 评论 0原文

我刚刚第一次安装Oracle。为了测试安装,我尝试检查主页。浏览器打开了本地网站,但该网站不存在。

我先尝试了10g,然后卸载并尝试了11g。我总是得到一个无法运行的网页。我尝试了一下,因为我在一些答案中看到Windows 7 32位不支持10g,而11g支持。

每次,我都会检查所有 Oracle 服务是否都已启动,而且确实如此。我还检查了端口 8080 是否被使用,但没有。另外,禁用 Windows 防火墙也没有任何作用。

出了什么问题,我该如何解决?应该使用什么服务来启动该网站?它的日志文件在哪里?

I just installed Oracle for the first time. To test the installation, I tried to check the home page. The browser opened a local website, but the website doesn't exist.

I tried 10g first, then uninstalled it and tried 11g. I always get a non-running webpage. I tried it because I saw in some answers that 10g was not supported by Windows 7 32 bits and that 11g was.

Each time, I checked if all the Oracle services were up and they are. I also checked if the port 8080 was used and it is not. Also, disabling the Windows firewall gives nothing.

What is wrong, and how do I fix it? What service is supposed to start the website, and where is its log file?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

久夏青 2024-12-19 06:32:11

我的一位队友找到了答案。问题出在安装中,这是有效的:

仅适用于 Windows7 的警告
Windows 7 上的 Oracle 10g 安装
32 位完成且没有错误,但不完整。为了修复
这个问题,在安装Oracle之前,关闭你的电脑,拔掉你的电源插头
网线,启动您的 PC 并安装 Oracle(不是开玩笑),以及
仅在安装 Oracle 10g 后重新连接。

这很奇怪,但它有效

注意----此方法不适用于 11g express R2 。 (当然我说的是Windows 7)

One of my teammate found the answer. The problem was in the installation and here is what worked:

Warning for Windows7 only:
Oracle 10g installation on windows 7
32-bit completes without error but it is incomplete. In order to fix
the problem, before installing Oracle, shut down your PC, unplug your
network cable, boot your PC and install Oracle (not a joke), and
reconnect only after the installation of Oracle 10g.

That is weird, but it worked

NOTE----This method doesn't worked with 11g express R2 . (ofcourse i am talking of windows 7)

念﹏祤嫣 2024-12-19 06:32:11

试试这个:

1)首先,确保它正在运行。听起来像是来自步骤 2 中收到的错误消息,但请仔细检查服务(OracleServiceXE 和 OracleXETNSListener)是否都已启动。这是您唯一需要的两个服务,而且听起来 OracleServiceXE 可能没有运行。

2) 确保它不在非 8080 端口上运行。从命令提示符处运行 netstat -an 并查看是否有任何内容正在侦听端口 8080。我过去曾见过它安装在备用端口(包括 9080)上。

3) 如果有东西在监听端口 8080,请在浏览器中尝试 http://localhost:8080/。如果9080上有的话,试试吧。

Try this:

1) First, make sure it's running. It sounds like it is from the error message you got in step 2, but double check that the Services (OracleServiceXE and OracleXETNSListener) are both started. Those are the only two services you need, and it does sound like the OracleServiceXE may not be running.

2) Make sure it's not running on a non-8080 port. From a command prompt, run netstat -an and see if anything is listening on port 8080. I've seen it get installed on alternate ports (including 9080) in the past.

3) If there's something listening on port 8080, try http://localhost:8080/ in your browser. If there's something on 9080, try that.

不醒的梦 2024-12-19 06:32:11

我也遇到了同样的问题并通过以下步骤修复。

使用 sqlplus 转到 Oracle XE 10g 控制台。将 mypassword 替换为您的 SYS 用户密码(在安装过程中指定)。请注意,左侧的数字 2、3、4 是由 sqlplus 工具提示符生成的(您不需要输入它们)。

[sourcecode lang="sql"]
C:\> sqlplus sys/mypassword@xe as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jun 18 17:53:47 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.

连接到:
Oracle Database 10g Express Edition 版本 10.2.0.1.0 - 生产

SQL> begin
2 dbms_xdb.sethttpport('8484');
3 end;
4 /
[/sourcecode]

Oracle XE 应回复:

[sourcecode lang="sql"]
PL/SQL procedure successfully completed.
[/sourcecode]

之后检查以确保配置已正确更改:

[sourcecode lang="sql"]
SQL> select dbms_xdb.gethttpport as "HTTP-Port is " from dual;
[/sourcecode]

您应该收到如下消息:

[sourcecode lang="sql"]
HTTP-Port is
------------
8484
[/sourcecode]

在提示符处键入“exit”退出 sqlplus 。
现在重新启动电脑并检查是否存在同样的问题。

I too faced the same issue and fixed by following the below steps.

go to your Oracle XE 10g console using sqlplus. Replace mypassword with that your SYS user password (as specified during the installation process). Note that the number 2, 3, 4 at the left side is generated by the sqlplus tools prompt (you don't need to type them in).

[sourcecode lang="sql"]
C:\> sqlplus sys/mypassword@xe as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jun 18 17:53:47 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.

Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production

SQL> begin
2 dbms_xdb.sethttpport('8484');
3 end;
4 /
[/sourcecode]

Oracle XE should reply:

[sourcecode lang="sql"]
PL/SQL procedure successfully completed.
[/sourcecode]

After that check to ensure that the configuration has been changed properly:

[sourcecode lang="sql"]
SQL> select dbms_xdb.gethttpport as "HTTP-Port is " from dual;
[/sourcecode]

You should get a message like this:

[sourcecode lang="sql"]
HTTP-Port is
------------
8484
[/sourcecode]

Exit from sqlplus by typing "exit" at the prompt.
Now restart the PC and check.e same issue.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文