Oracle Please ensure that this directory is writable and has atleast 60 MB of disk space. Installation cannot continue. ..
Oracle – Remove / Detach Home from Oracle Inventory
====
[oracle@rac01:/u01/app/oracle/product/18.3.0/oui/bin] $
./runInstaller -silent -detachHome -invPtrLoc /etc/oraInst.loc ORACLE_HOME="/u01/app/oracle/product/11.2.0/dbhome_1"
Error in writing to directory /tmp/OraInstall2023-04-04_07-04-16AM. Please ensure that this directory is writable and has atleast 60 MB of disk space. Installation cannot continue.
Starting Oracle Universal Installer...
if not enough space in /tmp
Do following !!
mkdir $ORACLE_BASE/tmp
export TMP=$ORACLE_BASE/tmp
export TMPDIR=$ORACLE_BASE/tmp
export TEMP=$ORACLE_BASE/tmp
then run again
./runInstaller -silent -detachHome -invPtrLoc /etc/oraInst.loc ORACLE_HOME="/u01/app/oracle/product/11.2.0/dbhome_1"
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB. Actual 16256 MB Passed
The inventory pointer is located at /etc/oraInst.loc
find: ‘/u01/app/oraInventory/logs/logs/VIS_delete’: Permission denied
find: ‘/u01/app/oraInventory/logs/logs/VIS_delete’: Permission denied
find: ‘/u01/app/oraInventory/logs/logs/VIS_delete’: Permission denied
'DetachHome' was successful.
=============
grep "HOME NAME" /u01/app/oraInventory/ContentsXML/inventory.xml|grep db
grep "HOME NAME" /u01/app/oraInventory/ContentsXML/inventory.xml|grep db
<HOME NAME="OraDB12Home1" LOC="/u01/app/oracle/product/12.1.0/dbhome_1" TYPE="O" IDX="2">
<HOME NAME="OraDB12Home2" LOC="/u01/app/oracle/product/12.2.0/dbhome_1" TYPE="O" IDX="4"/>
<HOME NAME="OraDb11g_home2" LOC="/u01/app/oracle/product/11.2.0/dbhome_2" TYPE="O" IDX="18"/>
<HOME NAME="OraDb11g_home1" LOC="/u01/app/oracle/product/11.2.0/dbhome_1" TYPE="O" IDX="5" REMOVED="T"/>
$ORACLE_HOME/oui/bin/runInstaller -silent -detachHome ORACLE_HOME="/u01/app/oracle/product/11.2.0/dbhome_1" ORACLE_HOME_NAME="OraDb11g_home1"