Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

oracle

imorou toureDec 6 2024

hello I am a beginner please help me I installed Oracle 19c on Centos. when I try to run the sqlplus command it says bash: sqlplus: command not found... So I have to configure the variables I went to the vi editor to configure when I restart sqlplus it still doesn't work I try oraenv here is what it means

vi editor
.bash_profile
Get the aliases and functions

if [ -f ~/.bashrc ]; then . ~/.bashrc fi export ORACLE_BASE=/u01/app/oracle export ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1 export ORACLE_SID=ORCLDB export PATH=$ORACLE_HOME/bin:$PATH

PATH=$PATH:$HOME/.local/bin:$HOME/bin

export PATH

oraenv

[oracle@localhost ~]$ . oraenv ORACLE_SID = [ORCLDB] ? ORCLDB ORACLE_HOME = [/home/oracle] ? /u01/app/oracle/product/19.0.0/dbhome_1 ORACLE_BASE environment variable is not being set since this information is not available for the current user ID oracle. You can set ORACLE_BASE manually if it is required. Resetting ORACLE_BASE to its previous value or ORACLE_HOME The Oracle base remains unchanged with value /u01/app/oracle [oracle@localhost ~]$

i need help

Comments
Post Details
Added on Dec 6 2024
4 comments
170 views