centos oracle /tmp/ora 不能运行,CentOS 6.8安装Oracle 10.2.0.1过程中的错误解决

CentOS 6.8安装Oracle 10.2.0.1过程中的错误解决

[root@Hadoop01 database]# ./runInstaller

./runInstaller: /opt/database/install/.oui: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

原因:没有安装ld-linux.so.2

[root@hadoop01 database]# yum install -y ld-linux.so.2

继续安装[root@hadoop01 database]# ./runInstaller

Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be RedHat-3, SUSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2

Failed <<<<

Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2016-10-11_04-29-40PM/installActions2016-10-11_04-29-40PM.log

原因:开发系统版本不对

1. [root@hadoop01 database]# ./runInstaller --ignoreSysPrereqs   这样是忽略系统版本,后面还是会报错建议按下面的修改:

2. vi /etc/redhat-release 将redhat 5.1 该为 redhat 4 . 装完后改回即可

>>> Ignoring required pre-requisite failures. Continuing...

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2016-10-11_04-30-58PM. Please wait ...

The user is root. Oracle Universal Installer cannot continue installation if the user is root.

: No such file or directory

原因:不能用root用户安装:创建dba group和user oracle

Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2016-10-12_08-59-12AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred..

原因是:缺少支持打印的图形化动态链接库libXp.so.6

yum install -y libXp.so.6

yum install -y libXt.so.6

yum install -y libXtst.so.6

Warning: Cannot convert string "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct

原因:好像是字符集的问题,而且不能启动安装页面,于是./runInstaller

执行netca或dbca时, "UnsatisfiedLinkError exception loading native library: njni10"错误解决

安装对应32位glibc

重新安装:

ORA-27125:unable to create shared memory segment

安装被中断。

解决方法如下:

#id oracle

uid=500(oracle) gid=501(oinstall)groups=501(oinstall),502(dba),503(asmadmin),504(oper)

[root@rac2 ~]# more/proc/sys/vm/hugetlb_shm_group

0

下面用root执行下面的命令,将dba组添加到系统内核中:

# echo 502 >/proc/sys/vm/hugetlb_shm_group

--这里的502 是上面的id 命令查看出来的。

# more /proc/sys/vm/hugetlb_shm_group

502

然后重新DBCA,成功建立实例!

20a53a8dd64374523da5d63cfd2d9092.png

0b1331709591d260c1c78e86d0c51c18.png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值