I had the above error message when I tried to run dbstart, the problem is the dbstart script.
Edit $ORACLE_HOME/bin/dbstart, and found below lines:
ORACLE_HOME_LISTNER=$1
if [ ! $ORACLE_HOME_LISTNER ] ; then
echo "ORACLE_HOME_LISTNER is not SET, unable to auto-start Oracle Net Listener"
else
LOG=$ORACLE_HOME_LISTNER/listener.log
Changed ORACLE_HOME_LISTNER=$1 to ORACLE_HOME_LISTNER=$ORACLE_HOME
Saved and exited, then ran "dbstart" successfully without errors
2
Resolved: ORACLE_HOME_LISTNER is not set
0
How to Uninstall Oracle 10g On Linux ?
Before uninstalling, close all oracle processes if there is any
$ORACLE_HOME/bin/shutdown abort
$ORACLE_HOME/bin/emctl stop dbconsole
$ORACLE_HOME/bin/lsnrctl stop
$ORACLE_HOME/bin/isqlplusctl stop
Backup $ORACLE_HOME if necessary (optional)
root> tar -xvf $ORACLE_HOME > /dev/rmt0/bkup
Unintall Steps:
1. run $ORACLE_HOME/bin/localconfig delete
2. rm -rf $ORACLE_BASE/*
3. rm -f /etc/oraInst.loc /etc/oratab
4. rm -rf /etc/oracle
5. rm -f /etc/inittab.cssd
6. rm -f /usr/local/bin/coraenv /usr/local/bin/dbhome /usr/local/bin/oraenv
7.remove the oracle user and the related group(dba,oinstall)