不同版本oracle数据库,同一台机器安装不同版本的oracle数据库的注意点

安装oracle 10.2.0.1程序

./runInstaller后会报类似:

you do not have sufficient permissions to access the inventory '/oracle/oraInventory'.

Installation cannot continue.Make sure that you have read/write permissions to the inventory

directory and restart the installer.:Permission denied

这是由于在一台机器上同时安装了9i和10g的原因,

可以使用

./runInstaller -invPtrLoc /oraclesid/oraInst.loc命令绕过去,oracle会创建一个新的loc文件

(默认会使用/etc/oraInst.loc和oratab这两个文件)

错误参考: 首先,在执行runInstaller时,系统报错:You do not have sufficient permissions to access the inventory '/oracle11g/oraInventory'. Installation cannot continue. Make sure that you have read/write permissions to the inventory directory and restart the installer.: Permission denied 这里采用的是新建一个10g用户的方法让10g,11g并存,实际上在启动安装程序的时候,oracle会去找/etc/oraInst.loc和oratab这两个文件(hp是/var/opt/oracle) 而在oraInst.loc里面定义了inventory_loc的位置和inst_group,由于之前装过了一个11g,里面的定义都是针对 11g用户设置的,所以才会报错。解决办法是执行runInstaller -invPtrLoc /oracle10g/oraInst.loc 命令就可以绕过去了,oracle会创建一个新的loc文件。

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值