./runInstaller You do not have sufficient permissions to access the inventory '/app/oraInventory'

安装Oracle数据库和应用时经常会遇到下面的错误:
 

You do not have sufficient permissions to access the inventory'/app/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 /home/db/oraInst.loc        --------/*  ‘/home/db/oraInst.loc  ’  oracle会自动去创建这个目录 */ 

 

 

 

 

转自https://www.iteye.com/blog/xukenetwork-2166704

posted @ 2025-05-26 16:19  筱夕夕夕夕夕夕  阅读(46)  评论(0)    收藏  举报