This content has been marked as final. Show 2 replies
You don't want to do that. Set up the environment variables and start the listener and database as the oracle (or the user that owns the oracle software) user i.e.
can't lsnrctl start neither even being a root
# ... oraenv.sh ... # su oracle -c "lsnrctl start" # su oracle -c "sqlplus /nolog" ... connect /as sysdba; ... connected to idle instance ... startup; ... database open ... exit
Yes after su - oracle everything is working.
I just noticed that after install I got a new user Oracle, thought that root will beat everybody.