Oracle Linux 7.1 静默安装数据库软件时报错

来源:互联网 发布:外汇编程自动交易 编辑:程序博客网 时间:2024/05/16 05:27
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 /u01/app/oracle/oraInst.loc        --------/*  ‘/u01/app/oracle/oraInst.loc  ’  oracle会自动去创建这个目录 */ 
[oracle@datanode4 database]$ ./runInstaller-invPtrLoc /u01/app/oracle/oraInst.loc -silent -responseFile /etc/db_install.rsp
参数有两部分,红色的创建oraInst.loc;蓝色的静默安装
0 0
原创粉丝点击