$ ls
database p13390677_112040_HPUX-IA64_1of7.zip
lost+found p13390677_112040_HPUX-IA64_2of7.zip
$ cd database
$ ls
install readme.html response rpm runInstaller sshsetup stage welcome.html
$ ./runInstaller
You do not have sufficient permissions to access the inventory '/oracle/oraInventory'. Installation cannot continue. It is required that the primary group of the install user is same as the inventory owner group. Make sure that the install user is part of the inventory owner group and restart the installer.: Permission denied
本例中现在需要安装oracle11gR2,但是这个环境上已经有oracle10g了。原oracle10g安装用户:oracle。现在oracle11gR2安装用户:oracle11
inventory_loc用来指定oracle的inventory指向的目录,inventory里存放着安装oracle相关软件的清单,但多个操作系统用户安装不同的软件时会在了权限问题,这个配置默认存放在/etc/oraInst.loc这个文件中,本例文件在/oracle/oraInventory/oraInst.loc,其中/oracle是ORACLE_BASE目录。
解决办法:
./runInstaller -invPtrLoc /oracle11/oraInst.loc
为新的oraInst.loc指定一个新的存放地点即可。
$ ./runInstaller -invPtrLoc /oracle11/oraInst.loc
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 415 MB. Actual 8107 MB Passed
Checking swap space: must be greater than 150 MB. Actual 5690 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2018-08-08_02-03-13PM. Please wait ...$