on
ORA-00304: requested INSTANCE_NUMBER is busy
ORA-00304: requested INSTANCE_NUMBER is busy
$ vi .bash_profile
# .bash_profile
# Get the aliases and functions
if [ - f ~ / .bashrc ]; then
. ~ / .bashrc
fi
# User specific environment and startup programs
PATH = $PATH:$HOME / .local / bin:$HOME / bin
export PATH
export TMP = / tmp;
export TMPDIR = $TMP;
export ORACLE_BASE = / ORA19 / app / oracle;
export ORACLE_HOME = $ORACLE_BASE / product / 19. 3. 0 / db_1;
export ORACLE_SID = ORADB2;
export GRID_HOME = / ORA19 / app / grid / 19. 3. 0 ;
export GRID_SID = + ASM2;
export PATH = $ORACLE_HOME / bin:$GRID_HOME / bin:$PATH
export LD_LIBRARY_PATH = $ORACLE_HOME / lib: / lib: / usr / lib;
export CLASSPATH = $ORACLE_HOME / jlib:$ORACLE_HOME / rdbms / jlib;
export DISPLAY = 192. 168. 137. 1 : 0. 0 ;
alias grid = 'export ORACLE_HOME=$GRID_HOME; export ORACLE_SID=$GRID_SID; export PATH=$ORACLE_HOME/bin:$GRID_HOME/bin:$PATH; echo $ORACLE_SID; echo $ORACLE_HOME'
alias db = '. ~oracle/.bash_profile;export PATH=$ORACLE_HOME/bin:$GRID_HOME/bin:$PATH; echo $ORACLE_SID;echo $ORACLE_HOME'
alias oh = 'cd $ORACLE_HOME;pwd'
alias ss = 'sqlplus / as sysdba'
from http://positivemh.tistory.com/756 by ccl(A) rewrite - 2021-09-27 18:00:09