您的位置:首页 > 数据库 > Oracle

linux 操作系统下安装oracle遇到的问题及解决方法

2011-09-08 14:54 1036 查看
Oracle 版本:10201_database_linux_x86_64.cpio.gz

linux 操作系统版本:SUSE Linux Enterprise Server 10 (x86_64)

第一次在linux 系统下动手安装oracle ,遇到问题是自然的,根据网上提供的一份安装文档(http://wenku.baidu.com/view/16d2b31cb7360b4c2e3f642f.html?from=rec&pos=1&weight=2&lastweight=1&count=4) ,配置好oracle所需的安装环境。

第一个问题:是找oracle 安装所需的 rpm 安装包,由于服务器买回来是预装的 suse 10的操作系统,没有提供安装光盘,rpm 包的安装过程非常痛苦,一个个的找网上下载rpm包所需的依赖包,到最后也没能找全。

suse 10 所需的安装包如下:

# rpm -qa|grep gcc

gcc-info-4.1.2_20070115-0.21

libgcc-4.1.2_20070115-0.21

gcc-objc-4.1.2_20070115-0.21

gcc-4.1.2_20070115-0.21

gcc-fortran-4.1.2_20070115-0.21

gcc-c++-4.1.2_20070115-0.21

gcc-java-4.1.2007115-0.21

gcc-local-4.1.2_20070115-0.21

gcc-obj-c++4.1.2_20070115-0.21

# rpm -aq|grep glibc

glibc-32bit-2.4-31.54

glibc-2.4-31.54

glibc-info-2.4-31.54

glibc-locale-32bit-2.4-31.54

glibc-devel-32bit-2.4-31.54

glibc-locale-2.4-31.54

glibc-i18ndata-2.4-31.54

glibc-devel-2.4-31.54

安装过程中遇到的第二个问题:DISPLAY 参数设置,oracle 安装检查是总提示错误:

xhost: unable to open display "172.17.76.118:0.0

解决方法:我按照如下步骤操作后,问题解决,oracle 安装界面成功启动:

1) log into console as root and open a terminal window within CDE

2) DISPLAY=:0.0

3) export DISPLAY

4) xhost +

5) su - oracle

6) DISPLAY=:0.0

7) export DISPLAY

第三个问题:

当配置到 Agent Configuration Assistant (agentca) 时,弹出错误提示:

OUI-25031:Some of the configuration assistants failed. It is strongly recommended that you retry the configuration assistants at this time.Not successfuly running any "Recommended" assistants means your system will not be correctly configured.

1. Check the Details panel on the Configuration Assistant Screen to see the errors resulting in the failures.

2. Fix the errors causing these failures.

3. Select the failed assistants and click the 'Retry' button to retyr them.

请有经验的朋友能提供一些解决方法,非常感谢!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: