设为首页 加入收藏

TOP

如何在一台主机上安装多个版本oracle数据库(二)
2014-11-24 02:08:22 来源: 作者: 【 】 浏览:1
Tags:何在 台主 机上 安装 多个 版本 oracle 数据库
,可能会报如下错误,导致runInstaller无法完成:
Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Failed <<<<
遇到这个问题,可以通过如下两种方式解决
1、修改Linux的发行标记
如在redhat-5上安装oracle的时候,需要将文件 '/etc/redhat-release'的内容由
Red Hat Enterprise Linux Server release 5 (Tikanga)
修改为
Red Hat Enterprise Linux Server release 4 (Tikanga)
2、runInstaller的时候加上-ignoreSysPreReqs参数,如:
./runInstaller -ignoreSysPreReqs
不过不推荐这种方式,因为这可能会错过对操作系统内核参数以及oracle必需的包的检测。
(b)oraInventory Permission denied
安装Oracle数据库和应用时经常会遇到下面的错误:
All installer requirements met.
You do not have sufficient permissions to access the inventory '/u01/app/oracle/oraInventory'. Installation cannot continue.
Make sure that you have read/write permissions to the inventory directory and restart the installer.: Permission denied
这是由于在相同的机器下,使用不同的用户安装多个版本的数据库或应用软件,Oracle默认会采用/etc/oraInst.loc文件中的参数作为oraInventory目录,而新用户如果没有正确的权限则会造成上述的错误。
解决这个问题,可以在安装时给runInstaller指定参数,使用不同的oraInventory目录即可。
./runInstaller -invPtrLoc /u02/app/oracle/oraInst.loc --------/* ‘/u02/app/oracle/oraInst.loc ’ oracle会自动去创建这个目录 */
(c)在安装第二套数据时(我是先安装oracle11g ,再安装oracle10g)好像只需要执行了一个脚本,但在后检测时也没有发现问题。
1.》在安装时会遇到ORA-27125: unable to create shared memory segment
解决方法:
Oracle文档上关于ORA-27125错误的描述为:
ORA-27125: unable to create shared memory segment
Cause: shmget() call failed
Action: contact Oracle support
查询了一下,发现问题和linux上的hugetbl有关。
解决方法也很简单,首先检查oracle用户的组信息:
[oracle10g@lixora ~]$ id oracle   
uid=54322(oracle) gid=502(oinstall) groups=502(oinstall),501(dba)    
[oracle@yans1 ~]$ more /proc/sys/vm/hugetlb_shm_group    
0
下面用root执行下面的命令,将dba组添加到系统内核中:
# echo 54322 > /proc/sys/vm/hugetlb_shm_group
2.》
Last login: Fri Jun 28 11:40:55 2013 from 192.168.1.2
[root@lixora ~]# /u02/app/oracle/product/10.2.0/db_1/root.sh
Running Oracle10 root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle10g
ORACLE_HOME= /u02/app/oracle/product/10.2.0/db_1
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it (y/n)
在这里全部选默认即可。
首页 上一页 1 2 下一页 尾页 2/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Oracle 10g分区表维护中的两个注.. 下一篇Oracle数据库中sys和system两个用..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: