Skip to Main Content

Oracle Database Discussions

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!

Error after configuration of bash_profile for oracle 12c

AbdulAli AliyevAug 12 2015 — edited Aug 13 2015

Hi everybody,

Recently , I installed oracle 12c on oracle Linux 7. Even installation process was successful at the end I got some errors. First, about "dbca command not found" error.

I searched may sites and also oracle community forums. Although, I got many useful tips related to this problem, I can't solve the problem.

I am posting some line of codes that I used in my bash_profile. So I am pleased to see your suggestions about this problem.

PATH=$PATH:$HOME/.local/bin:$HOME/bin
ORACLE_BASE=/home/aaliyev/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/12.1.0/dbhome_1; export ORACLE_HOME
ORACLE_SID=orcl; export ORACLE_SID
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH


AS ROOT:
[root@localhost ~]# echo $PATH
/home/aaliyev/oracle/product/12.1.0/dbhome_1/bin:/usr/sbin:/home/aaliyev/oracle/product/12.1.0/dbhome_1/bin:/usr/sbin:/home/aaliyev/oracle/product/12.1.0/dbhome_1/bin:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/.local/bin:/root/bin

[root@localhost ~]# echo $ORACLE_HOME
/home/aaliyev/oracle/product/12.1.0/dbhome_1
[root@localhost ~]#

AS USER:
[aaliyev@localhost ~]$ echo $PATH
/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/aaliyev/.local/bin:/home/aaliyev/bin
[aaliyev@localhost ~]$ echo $ORACLE_HOME

[aaliyev@localhost ~]$

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 10 2015
Added on Aug 12 2015
14 comments
1,945 views