0

I have going at it for the last 12 hours... I installed Oracle 12c on rhel7, the first installation didn’t go well so Installed a second one without changing the first installation; I created a new folder and proceeded with the installation. However I have not been able to connect to the database in anyway. When I try the command: env|grep -i ORACLE_HOME I get : ORACLE_HOME= /u01/app/oracle/product/12.1.0/dbhome_2/spfileorcl.ora. Can you suggest a solution on how to setup my environment variable based on the configurations in the picture? enter image description here

asked Sep 18, 2018 at 12:02

1 Answer 1

1
export ORACLE_HOME=/home/christian/app/christian/product/12.1.0/dbhome_2
export PATH=$ORACLE_HOME/bin:$PATH
export ORACLE_SID=orcl

Alternatively:

. oraenv

And provide orcl as ORACLE_SID.

answered Sep 18, 2018 at 12:14

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.