安装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会自动去创建这个目录 */

本文介绍了在安装Oracle数据库过程中遇到的权限错误问题及其解决方案。当使用不同用户在相同机器上安装多个版本的Oracle时,可能会出现无法访问库存目录的错误。文章提供了通过指定不同的oraInventory目录来解决这一问题的方法。
2786

被折叠的 条评论
为什么被折叠?



