共计 1935 个字符,预计需要花费 5 分钟才能阅读完成。
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,成功建立实例!
本文永久更新链接地址:http://www.linuxidc.com/Linux/2016-12/138919.htm