当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 3 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : Oracle-XE安装问题
帖子发表于 : 2008-10-20 14:50 

注册: 2007-12-31 15:21
帖子: 11
送出感谢: 0 次
接收感谢: 0 次
如题,我在Ubuntu Server 8.04 server下安装OracleXe版本
1. 安装过程出错,信息如下:
代码:
root@ubuntu-server:/home/jetty# dpkg -i oracle-xe-universal_10.2.0.1-1.0_i386.deb
Selecting previously deselected package oracle-xe-universal.
(Reading database ... 15328 files and directories currently installed.)
Unpacking oracle-xe-universal (from oracle-xe-universal_10.2.0.1-1.0_i386.deb) ...
/var/lib/dpkg/tmp.ci/preinst: 119: bc: not found
/var/lib/dpkg/tmp.ci/preinst: 119: bc: not found
/var/lib/dpkg/tmp.ci/preinst: 119: bc: not found
test: 119: 0: unexpected operator
Setting up oracle-xe-universal (10.2.0.1-1.0) ...
Executing Post-install steps...

/var/lib/dpkg/info/oracle-xe-universal.postinst: 100: bc: not found
/var/lib/dpkg/info/oracle-xe-universal.postinst: 100: bc: not found
/var/lib/dpkg/info/oracle-xe-universal.postinst: 100: bc: not found
/var/lib/dpkg/info/oracle-xe-universal.postinst: 100: bc: not found
/var/lib/dpkg/info/oracle-xe-universal.postinst: 100: bc: not found
/var/lib/dpkg/info/oracle-xe-universal.postinst: 100: bc: not found
/var/lib/dpkg/info/oracle-xe-universal.postinst: 100: bc: not found
/var/lib/dpkg/info/oracle-xe-universal.postinst: 100: bc: not found
test: 100: 0: unexpected operator
/var/lib/dpkg/info/oracle-xe-universal.postinst: 100: bc: not found
test: 100: 0: unexpected operator
/var/lib/dpkg/info/oracle-xe-universal.postinst: 100: bc: not found
-e You must run \'/etc/init.d/oracle-xe configure\' as the root user to configure the database.


root@ubuntu-server:/home/jetty#
root@ubuntu-server:/home/jetty# /etc/init.d/oracle-xe configure

Oracle Database 10g Express Edition Configuration
-------------------------------------------------
This will configure on-boot properties of Oracle Database 10g Express
Edition.  The following questions will determine whether the database should
be starting upon system boot, the ports it will use, and the passwords that
will be used for database accounts.  Press <Enter> to accept the defaults.
Ctrl-C will abort.

Specify the HTTP port that will be used for Oracle Application Express [8080]:

Specify a port that will be used for the database listener [1521]:

Specify a password to be used for database accounts.  Note that the same
password will be used for SYS and SYSTEM.  Oracle recommends the use of
different passwords for each database account.  This can be done after
initial configuration:
Confirm the password:

Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:

Starting Oracle Net Listener...Done
Configuring Database...Done
Starting Oracle Database 10g Express Edition Instance...Done
Installation Completed Successfully.
To access the Database Home Page go to "http://127.0.0.1:8080/apex"
root@ubuntu-server:/home/jetty# ps ax|grep oracle
4377 ?        Ss     0:00 /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr LISTENER -inherit
4422 pts/0    R+     0:00 grep oracle

进入oracle用户,sqlplus / as sysdba 登录后出现如下错误,无法启动数据库:

oracle@ubuntu-server:~$ ./app/oracle/product/10.2.0/client/bin/oracle_env.sh
oracle@ubuntu-server:~$ sqlplus / as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Thu Oct 16 17:17:12 2008

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> startup
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/dbs/initXE.ora'
SQL> startup
ORACLE instance started.

Total System Global Area   96468992 bytes
Fixed Size                  1257356 bytes
Variable Size              88080500 bytes
Database Buffers            4194304 bytes
Redo Buffers                2936832 bytes
ORA-00205: error in identifying control file, check alert log for more info


SQL>


请问该如何处理?
:em20


页首
 用户资料  
 
2 楼 
 文章标题 : Re: Oracle-XE安装问题
帖子发表于 : 2008-10-20 15:03 
论坛管理员

注册: 2005-03-27 0:06
帖子: 10116
系统: Ubuntu 12.04
送出感谢: 7
接收感谢: 128
使用这个 http://127.0.0.1:8080/apex 先检查一下oracle有没有安装好。


页首
 用户资料  
 
3 楼 
 文章标题 : Re: Oracle-XE安装问题
帖子发表于 : 2008-10-20 22:49 

注册: 2007-12-31 15:21
帖子: 11
送出感谢: 0 次
接收感谢: 0 次
谢谢斑竹回帖啊!问题已经解决

sudo apt-get install bc

即可! :em06


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 3 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Yahoo [Bot] 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译