Hi,
can you please check what is the entry in the listener.ora in /oracle/SID/112_64/network/admin/
(ORACLE_HOME =/oracle/SID/112_64)
Hope you would have already changed all the ORACLE_HOME variable in .dbenv*.sh or .dbenv*.csh depending on the shell which the sidadm user is using.
Please also check the below note.
I know that it is for 10 g
Note 932722 - Upgrade to Oracle 10.2 during a database copy
and check this section 7.c.
c) Do not use the file "Control.sql" from brcopy but create the file "Control.sql" in the SAPinst working directory:
%programfiles%\sapinst_instdir\<product>\<component>\DB
Enter the following lines:
startup
exit
d) Continue the installation with SAPinst.
Please also check this in section.
Note 969519 - 6.20/6.40 Patch Collection Installation : Oracle/UNIX
Wrong setting of ORACLE_HOME for user <sapsid>adm on distributed installation
Symptom:
++++++++++++++++++++++++++++++++++++++++
Change your .dbenv_<hostname>.csh or .dbenv_<hostname>.sh in the home
directory of <sid>adm user as follows:
Changes for csh:
================
1. Search in .dbenv*csh for the following lines:
if ( $USER != $ORASID ) then
set _f=/sapmnt/<SID>/profile/DEFAULT.PFL
set _t=/oracle/<DBSID>/112_<BIT>/bin/sqlplus
2. Insert the following new line:
set _o=/oracle/<DBSID>112_<BIT>/oracore
3. Go to the following line:
setenv TNS_ADMIN /oracle/<DBSID>/112_<BIT>/network/admin
4. Remove the next line:
setenv ORACLE_HOME `echo $ORA_NLS33 | awk -F_ '{printf("%s_",$1)}
5. Insert the following new lines:
if ( -r "$_o" ) then
setenv ORACLE_HOME /oracle/<DBSID>/112_<BIT>
else
setenv ORACLE_HOME `echo $ORA_NLS33 | awk -F_ '{printf("%s_",$1)}
fi
endif
Changes for sh:
===============
1. Search in .dbenv*.sh for the following lines:
if [ $USER != $ORASID ]; then
_f=/sapmnt/<SID>/profile/DEFAULT.PFL
_t=/oracle/<DBSID>/112_<BIT>/bin/sqlplus
2. Insert the following new line
_o=/oracle/<DBSID>/112_<BIT>/oracore
3. Go to the following line:
TNS_ADMIN=@ORACLE_HOME@/network/admin
4. Remove the next line
ORACLE_HOME=`echo $ORA_NLS33 | awk -F_ '{printf("%s_",$1)} {printf("%2.2s",$2)}'`
5. Insert the following new lines
if [ -r "$_o" ]; then
ORACLE_HOME=/oracle/< DBSID>/112_<BIT>
else
ORACLE_HOME=`echo $ORA_NLS33 | awk -F_ '{printf("%s_",$1)}
{printf("%2.2s",$2)}'`
fi
Result:
now the env variable is set to ORACLE_HOME=/oracle/<DBSID>/112_<BIT> for the dialog instance or central instance.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Thanks
Rishi Abrol