昨天下载安装了最新版ubuntu9.10,刚好最近接触点oracle,想先安装一个快捷版试试,
去oracle的官网下了一个oracle-xe-universal_10.2.0.1-1.0_i386的deb包,直接双击就安装完了。
根据论坛上一些资料,运行sudo /etc/init.d/oracle-xe configure 进行配置,
HTTP端口[默认为8080]
TNS Listener端口[默认为1521]
SYS/SYSTEM用户密码
开机是否启动[默认no]
等待一会儿提示成功
然后把默认用户加入dba组
接着用firefox打开了http://127.0.0.1:8080/apex可以正常链接并登录。
用oracle sqldeveloper 可以正常连接并使用.
但是重启之后问题就出现了,重启之后可以用命令sudo /etc/init.d/oracle-xe start 开启服务,
然后从开始菜单开启sqlplus,可以正常连接并使用。
但是firefox却无法访问http://127.0.0.1:8080/apex "Firefox 无法建立到 127.0.0.1:8080 服务器的连接。"
用oracle sqldeveloper 也无法连接上去.
不知道有没有坛友在ubuntu上使用oracle10g-xe的,能否交流一下使用心得
ubuntu9.10使用oracle10g-xe的问题
-
- 帖子: 43
- 注册时间: 2009-03-22 11:10
-
- 帖子: 166
- 注册时间: 2008-10-01 0:28
Re: ubuntu9.10使用oracle10g-xe的问题
好像是有个bug
试试把/etc/init.d/oracle-xe 的 603行 exit 0, 去掉.
case "$1" in
start)
if test -f "$CONFIGURATION"
then
if test "$ORACLE_DBENABLED" != "true"
then
:
# exit 0
fi
else
试试把/etc/init.d/oracle-xe 的 603行 exit 0, 去掉.
case "$1" in
start)
if test -f "$CONFIGURATION"
then
if test "$ORACLE_DBENABLED" != "true"
then
:
# exit 0
fi
else
-
- 帖子: 52
- 注册时间: 2008-11-19 12:41
Re: ubuntu9.10使用oracle10g-xe的问题
I had the same problem like you, I think the reason is because we did not choose startup automatically.
Make sure that your apache2 works correctly.
Use $sudo /etc/init.d/oracle-xe restart to restart oracle-x.
Now it works fine with my ubuntu 9.10 server.
This one might be helpful to you
http://ubuntuforums.org/archive/index.php/t-697357.html
Make sure that your apache2 works correctly.
Use $sudo /etc/init.d/oracle-xe restart to restart oracle-x.
Now it works fine with my ubuntu 9.10 server.
This one might be helpful to you
http://ubuntuforums.org/archive/index.php/t-697357.html
-
- 帖子: 1
- 注册时间: 2012-04-27 13:43
Re: ubuntu9.10使用oracle10g-xe的问题
It worked! 3X~~yins 写了:I had the same problem like you, I think the reason is because we did not choose startup automatically.
Make sure that your apache2 works correctly.
Use $sudo /etc/init.d/oracle-xe restart to restart oracle-x.
Now it works fine with my ubuntu 9.10 server.
This one might be helpful to you
http://ubuntuforums.org/archive/index.php/t-697357.html