cancel
Showing results for 
Search instead for 
Did you mean: 

dbHome has to be a valid ORACLE_HOME

Former Member
0 Kudos

Hi All,

I am facing a problem while SAP instalaltion in unix with Oracle DB.

In step 10/28 it is stuck and throwing an error

lsnrctl: Parameter dbHome has to be a valid ORACLE_HOME

I try to set oracle_home in profile also. but am getting the same error

Regards

Sridhar

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

solved by changing the oracle_home

markus_doehr2
Active Contributor
0 Kudos

> I am facing a problem while SAP instalaltion in unix with Oracle DB.

Did you install the Oracle software using the RUNINSTALLER (in CAPITALS) script in the SAP subdirectory of the DVD? Did you install Oracle before you started sapinst (which is wrong)?

Markus

Former Member
0 Kudos

Hi,

thanks for the reply

we had done the instalaltion from the sapinst only,

but we have give the oracle path to /dev2/oracle/SID/102_64

Instead of the default path <root> /oracle/SID/102_64

and also we had set the path to the first one.. but from the SIDadm user its picking the path from the second one only.

regards,

Sridhar

markus_doehr2
Active Contributor
0 Kudos

> but we have give the oracle path to /dev2/oracle/SID/102_64

> Instead of the default path <root> /oracle/SID/102_64

> and also we had set the path to the first one.. but from the SIDadm user its picking the path from the second one only.

Then you need to set the correct PATH in

.dbenv_<hostname>.csh and 
.dbenv_<hostname>.sh

in the home directory of <sid>adm

Markus

Former Member
0 Kudos

Hi Markus,

Thanks for your reply.

i can't find .dbenv_hostname.sh files, i have set the parameters in .bashrc and .profile files.

Thanks and Regards,

Sridhar

markus_doehr2
Active Contributor
0 Kudos

So again the question: Did you start installing using sapinst? Or did you install Oracle before?

The correct way would be to start sapinst, enter all parameters and install until sapinst stops and requests you to install the database software. At that point those files are already created.

Markus

Former Member
0 Kudos

hi Markus,

we had done the installation using the sapinst only ,

we are in the step Config Oracle server Network

there it is giving this error, can you suggest any solution...

regards,

sridhar

markus_doehr2
Active Contributor
0 Kudos

> we had done the installation using the sapinst only ,

What do you mean with that?

Did you install the Oracle software already?

Markus

Former Member
0 Kudos

Hi Markus,

The oracle installation is done in between the SAP installation() 7th step, it stopped and open a dialog to install the oracle in 7th step so we have installed at that time only.

and now the error occuring in 10th step.

Thanks and Regards,

sridhar

Former Member
0 Kudos

Sridhar,

Just to know, how did you search for these dbenv.sh profiles?

Log in as ora <SID> and execute ls -la command. These files will be hidden in the home directory.

Do the same for <SID>adm as well.

If you have successfully installed Oracle then you should see these .profiles under home directory of <sid>adm and ora<sid>

Thanks

former_member524429
Active Contributor
0 Kudos

Hi Sridhar,

Please post SAPinst Log , to get more details about the stopping point and problem.

Have you followed the Installation Steps mentioned in its concerned Installation Guide ?

Verify your steps as followed:

1. During SAPInst Run, When it ask to install Oracle Database, you would have to switch to ora<sid> user by issuing following command.

su - ora<dbsid>

2. set DISPLAY variable according to your shell environment.

DISPLAY=<host_name>:0.0

export DISPLAY

3. Start the OUI by entering one of the following:

cd /oracle/stage/102_64/database/SAP

./RUNINSTALLER

4.When the Install step has completed, Execute the file $ORACLE_HOME/root.sh with the user

root, and confirm the dialog box by choosing OK.

The step-by-step instalation of Oracle as per as the Installation Guide, will not give problems later on.

Also check the permissions of listner.ora file and try again.

Regards,

Bhavik G. Shroff

Edited by: Bhavik G. Shroff on Sep 21, 2009 2:32 PM

Former Member
0 Kudos

Hi ,

Please check what value is set for ORACLE_HOME.You may need to change this value to /oracle/<SID>/<oracle verion like 920_64 > for root user.

Try this if work for you.

Thanks..

Mohit

Former Member
0 Kudos

Hi,

Hav you installed Oracle DB, Seems to be during the patch installation you have not selected the oracle home, by default it takes other home directory. Seems to be issue will be there only...

Stop the installation, and apply the Oracle patch by selecting the Oracle home. This would resolve the issue.