oracle reinstall error: “Installation cannot continue. Make sure that you have read/write permissions to the inventory directory…”
$ ./runInstaller
You do not have sufficient permissions to access the inventory '/u01/app/oraInventory'. Installation cannot continue. Make sure that you have read/write permissions to the inventory directory and restart the installer.: Permission denied
Oracle thinks there is still a oraInventory, even though I got rid of it. There is a file somewhere (not in /u01) telling oracle that oraInventory exists. So I delete the install dir (home/oracle/database) and start over:
$ rm -rf database/
$ unzip linux.x64_11gR2_database_1of2.zip
$ unzip linux.x64_11gR2_database_2of2.zip
$ cd database/
$ ./runInstaller
You do not have sufficient permissions to access the inventory '/u01/app/oraInventory'. Installation cannot continue. Make sure that you have read/write permissions to the inventory directory and restart the installer.: Permission denied
It wasn’t in the database dir, it was here: /etc/oraInst.loc. After doind a few oracle installs I guessed it was in /etc, but you could use find or locate to find this file.
as root:
rm /etc/oraInst.loc
as oracle:
$ ./runInstaller
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB. Actual 9801 MB Passed
Checking swap space: must be greater than 150 MB. Actual 2015 MB Passed
..
It works!
Or while running DAC installation on linux
[dac10g@slc01mmi ~]$ cd dac/Disk1
[dac10g@slc01mmi Disk1]$ sh runInstaller
Platform is Linux X86_64
You do not have sufficient permissions to access the inventory '/scratch/rj/oraInventory'. Installation cannot continue. Make sure that you have read/write permissions to the inventory directory and restart the installer.: Permission denied
$ rm –r scratch/rj/oraInventory
$ ./runInstaller
You do not have sufficient permissions to access the inventory '/scratch/rj/oraInventory'. Installation cannot continue. Make sure that you have read/write permissions to the inventory directory and restart the installer.: Permission denied
It wasn’t in the database dir, it was here: /etc/oraInst.loc. After doing a few oracle installs I guessed it was in /etc, but you could use find or locate to find this file.
as root:
rm /etc/oraInst.loc
as su – dac10g