oraInventory Permission denied

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

All installer requirements met.

You do not have sufficient permissions to access the inventory ‘/u01/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/oracle/oraInst.loc

--在自己定义的oraInst.loc文件中设置oraInventory 的路径位置

posted @ 2010-10-25 10:15  dbblog  阅读(453)  评论(0)    收藏  举报