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,成功建立实例!

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

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/230d3bc796f5bfe88a730e3136ebe8eb.html