cancel
Showing results for 
Search instead for 
Did you mean: 

oracle environment variable setting for mulit instances

Former Member
0 Kudos

Dear experts,

I am doing CRM_ABAP, CRM_JAVA,ERP installation based on Oracle in a laptop for SAP Best Practise.

The CRM_ABAP installation have done, and start to install CRM_JAVA named CRJ.

In CRM_ABAP installation, I set Oracle environment variable as below:(/etc/profile.d/oracle.sh)

・CRACLE_SID=u201DCRMu201D

・CRACLE_HOME=u201Doracle/CRMu201D

・PATH=$PATH:$ORACLE_HOME/bin:$ORACLE_HOME/bin/oPatch:$PATH:

・export CRACLE_SID CRACLE_HOME PATH

My question is that how do I set environment variable for CRM_JAVA(CRJ) in oracle.sh,?

I tried e.g. CRACLE_SID=u201DCRMu201D:u201DCRJu201D, CRACLE_HOME=u201Doracle/CRMu201D:u201Doracle/CRJ/102_64u201D

or CRACLE_SID=u201DCRJu201D CRACLE_HOME=oracle/CRJ/102_64u201D export CRACLE_SID CRACLE_HOME

in addition

but got an error message in SAPinst (Task Progress: configure Oracle server network)

said u201CAssertion failed:lsnrctl:Parameter dbHOME has to be a valid ORACLE_HOME).u201D

kindly help me to reslove the issue.

Thanks.

regards.

Li.etsuhin

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Setting a Linux environment variable like ORACLE_SID to multiple values will not work.

Use another oracle.sh, and maybe also another Linux user.

I am not familiar with the details, but what does your installation guide say?

Or you may have to use the same values for Java. The installation guide will tell you.

Answers (2)

Answers (2)

former_member189546
Active Contributor
0 Kudos

Hello,

Please, could you check SAP note 830578 and 602843

You should set ORACLE_HOME for <sid>adm and also for ora<sid>.

regards,

John Feely

markus_doehr2
Active Contributor
0 Kudos

What are you trying to accomplish Are you trying to do an MCOD installation? Or are you trying to set up a connection to the same database?

Markus