on 12-01-2006 6:09 AM
Hi,
Hi,
We are doing a database upgrade as a part of NW04s upgrade.Our source
Oracle release was 9.2.0.6 and now we have upgraded it to 10.2.0.2.The
database upgrade was successfull and the database is up and running.When we execute R3trans -d it fails with the return code 12,the detailed error is as follows
.....4 ETW000 [dev trc ,00000] Assigning user session 110c26278 to service context 110c1b1d8
4 ETW000 20252 0.284724
4 ETW000 [dev trc ,00000] BEGIN DBMS_APPLICATION_INFO.SET_MODULE (:A0, :A1); END;
4 ETW000 94 0.284818
4 ETW000 [dev trc ,00000] BEGIN DBMS_APPLICATION_INFO.SET_CLIENT_INFO (:A0); END;
4 ETW000 127 0.284945
4 ETW000 [dev trc ,00000] Now '/@BIG' is connected (con_hdl 0, nls_hdl 0).
4 ETW000 2112 0.287057
4 ETW000 [dev trc ,00000] ALTER SESSION SET NLS_SORT = BINARY
4 ETW000 57 0.287114
4 ETW000 [dev trc ,00000] SELECT USERID,PASSWD FROM SAPUSER WHERE USERID IN (:A0, :A1)
4 ETW000 859 0.287973
4 ETW000 [dbsloci. ,00000] *** ERROR => ORA-942 when accessing table SAPUSER
4 ETW000 2276 0.290249
4 ETW000 [dev trc ,00000] Disconnecting from connection 0 ... 113 0.290362
4 ETW000 [dev trc ,00000] Rolling back transaction ... 136 0.290498
4 ETW000 [dev trc ,00000] Close user session (con_hdl=0,svchp=110c1b1d8,usrhp=110c26278)
4 ETW000 377 0.290875
4 ETW000 [dev trc ,00000] Now I'm disconnected from ORACLE 1563 0.292438
4 ETW000 [dev trc ,00000] Try to connect with default password 28 0.292466
4 ETW000 [dev trc ,00000] Connecting as SAPBIW/<pwd>@BIG on connection 0 (nls_hdl 0) ... (dbsl 640 110706)
4 ETW000 39 0.292505
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
4 ETW000 43 0.292548
4 ETW000 [dev trc ,00000] 0 WE8DEC 1 110c12820 110c1ba58 110c1b388
4 ETW000 40 0.292588
4 ETW000 [dev trc ,00000] Assigning username to user session 110c26278 85 0.292673
4 ETW000 [dev trc ,00000] Assigning password to user session 110c26278 78 0.292751
4 ETW000 [dev trc ,00000] Starting user session (con_hdl=0,svchp=110c1b1d8,srvhp=110c1d838,usrhp=110c26278)
4 ETW000 41 0.292792
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017
4 ETW000 27471 0.320263
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '1017'
4 ETW000 39 0.320302
4 ETW000 [dblink ,00419] ***LOG BY2=>sql error 1017 performing CON [dblink#2 @ 419]
4 ETW000 133 0.320435
4 ETW000 [dblink ,00419] ***LOG BY0=>ORA-01017: invalid username/password; logon denied [dblink#2 @ 419]
4 ETW000 37 0.320472
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'BIG'"
what could be the reason?
Regards,
Cherry
Change you TNSNAMES.ORA
the parameters (SERVER = DEDICATED) is not support by Oracle 10 and Sap
modify you TNSNAMES.ORA and delete this entry
example ...you new TNSNAMES.ORA
DWT.WORLD =
(DESCRIPTION =
(ADDRESS = (COMMUNITY = sap.world)(PROTOCOL = TCP)(Host = sdr3bw4)(Port = 1553))
(CONNECT_DATA =
(SID = DWT)
(GLOBAL_NAME = DWT.world)
)
)
LISTENER_DWT.WORLD =
(ADDRESS = (COMMUNITY = sap.world)(PROTOCOL = TCP)(Host = sdr3bw4)(Port = 1553))
Regards,
Eva Belén Garcia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After setting the environment variable ORA_NLS33 /oracle/<SID>/920_64/ocommon/nls/admin/data
The problem was solved and the SAP is running fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Cherry
Login from your <SID>ADM user and run r3trans -d and other commands with proper syntax.It will not show any such error
Regards
Varun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To make my 10g to work correctly with 640 kernel
i had to set NLS33
Also i had to use client 9207 as 10g was not working perfectly well with 10 client ( TMS and Support pack apllication were termating)
Refer note 953388 and 886783
Thanks
Naushad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This error seems to be related to environement variables.
Did you take out the NLS variables related to 9i that the upgrade guide talks about and put the ones for 10g in?
Pleasae make sure these variables are permanently set in the the user env.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Whats the problem whether ur Oracle is not coming up or SAP.
First try to resolve error related to Oracle and then concentrate on SAP.
Looking at the conversations in blog, its confusing since u have posted in the same blog as that of Mr.Cherry
Anyways, just check your Oracle Client.
Check out the compatiblity matrix for SAP Kernel->Oracle Client->Oracle database version.
Please refer to SAP notes: 819829 and 180430
Kind Regards
Neenad
I have tried everything in this thread to get R3trans -d to work and not error out at:
4 ETW000 [dev trc ,00000] got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment
4 ETW000 56 1.060707
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCIEnvCreate' failed: rc = -1
4 ETW000 458786 1.519493
4 ETW000 [dblink ,00419] ***LOG BY2=>sql error -1 performing CON [dblink#2 @ 419]
4 ETW000 50760 1.570253
4 ETW000 [dblink ,00419] ***LOG BY0=>'OCI_ERROR' [dblink#2 @ 419] 48 1.570301
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'DWT'"
- I have Oracle 10.2.0.2 patched & running
- I have the 10g client for brtools
- I have the latest 92x_64 client for the 640 kernel
- I have checked the env variables, listener, tnsnames files and they are okay. tnsping works
_ I have the latest dbsl - dboraslib.sl for HP-UX
I do not know what to do next to get R3trans -d to connect to the database?
I got R3trans d to work by doing the following from note 836517. My confidence is lacking in this solution.
Can anyone tell me if these are the 2 correct env variables to use???? Some of the documentation said to remove ORA_NLS33.
Logon in as dwtadm
setenv ORA_NLS33 /oracle/client/92x_64/ocommon/nls/admin/data
setenv SHLIB_PATH /usr/sap/DWT/SYS/exe/run:/oracle/client/10x_64/instantclient
Kernel: 640 (latest download)
Oracle: 10.2.0.2
The clients are:
/oracle/10x_64
/oracle/92x_64 (latest download)
Hello William,<br>
I'll try to help ( sorry if some info was already provided but I haven't check the complete thread )
<br>
First I recommend you to check the FAQ about the oracle client ( do not know the number now, I'll post it tomorrow )<br>
<br>
The oracle client neede by SAP on UNIX systems depends <i><b>ONLY </b></i>on the kernel that is being used.
<br>
You have kernel 6.40. This kernel is dynamically linked agains oracle client 9.2.
<br>
This means that you have to install and configure this oracle client ( ORA_NLS33 is needed )
<br>
One requirement to use kernel 6.40 with oracle 10G is the usage of oracle client 9.2.0.7 ( this is a <b>MUST</b>, you cannot use an older client )
<br>
Continuing with the explanation. <img src="http://forum.explosm.net/images/smilies/facts3.gif" alt="Facts" />
<br>
<br>
You installed oracle 10g ( 10.2.0.2 ) tht means that you have to use BR* tools 700.
<br>
This tools are linked against oracle instantclient. For that reason you also have to configure your environment to use the instant client.
<br>
For that reason you need to set the SHLIB_PATH to include the instantclient directory ( no other oracle directory should be included )
<br>
I hope this clarify a little the issue.
When using kernel 640 & Oracle 10g
1) Do you know if you have to change any SAP profile parameters to use the old Oracle 9.2 directories? Or should these paramters point to 10g?
DIR_ORAHOME
DIR_CLIENT_ORAHOME
DIR_SERVER_ORAHOME
2) What has to be changed on the application servers? Just SHLIB_PATH to include the instantclient and ORA_NLS33?
Hi,
Regarding the second question, on the application servers you do not need to change anything.
BR* tools run always on the database server, therefore, no need for the instantclient on the AS at this moment; when/if you upgrade to ECC6 - Kernel 700 then you will need to install the instanclient, but not now.
At SAP level, it is not "necessary" to change the mentioned parameters. SAP Kernel will use the correct ones regardless of those settings.
You should only change the one related to the ORACLE_HOME, as it has changed.
This is if you only have one SID on your box.
user: <sid>adm
home: /home/<sid>adm
script: .dbenv_<host>.csh
If you using 10.2.0.2 & kernel 640 then add these lines at the end of the script.
These lines need to be removed after you upgrade to kernel 7.00
setenv ORA_NLS33 /oracle/client/9207/ocommon/nls/admin/data
end Oracle RDBMS Environment
You may want to use one of these lines for the ORA_NLS33 value:
setenv ORA_NLS33 /oracle/client/9207/ocommon/nls/admin/data
or setenv ORA_NLS33 /oracle/client/920_64/ocommon/nls/admin/data
or setenv ORA_NLS33 /oracle/<SID>/920_64/ocommon/nls/admin/data
This is only if you are using 10g with kernel 640.
Check tnsping for the listener. Maybe the listener environment still has Oracle 9 entries. You might have to stop the listener, change to 10g and start back the listener.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
more tnsnames.ora
tnsnames.ora Network Configuration File: /oracle/DWT/102_64/network/admin/tnsn
ames.ora
Generated by Oracle configuration tools.
################
Filename......: tnsnames.ora
Created.......: created by SAP AG, R/3 Rel. >= 6.10
Name..........:
Date..........:
################
DWT.WORLD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = sdr3bw4)(PORT = 1553))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DWT)
)
)
LISTENER_DWT.WORLD =
(ADDRESS = (PROTOCOL = TCP)(HOST = sdr3bw4)(PORT = 1553))
...skipping...
tnsnames.ora Network Configuration File: /oracle/DWT/102_64/network/admin/tnsn
ames.ora
Generated by Oracle configuration tools.
################
Filename......: tnsnames.ora
Created.......: created by SAP AG, R/3 Rel. >= 6.10
Name..........:
Date..........:
################
DWT.WORLD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = sdr3bw4)(PORT = 1553))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DWT)
)
)
LISTENER_DWT.WORLD =
(ADDRESS = (PROTOCOL = TCP)(HOST = sdr3bw4)(PORT = 1553))
tnsping DWT
TNS Ping Utility for HPUX: Version 10.2.0.2.0 - Production on 05-DEC-2006 10:52:07
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
/oracle/DWT/102_64/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = sdr3bw4)(PORT = 1553)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DWT)))
OK (0 msec)
<b>Here is the original problem:</b>
R3trans -d
This is R3trans version 6.13 (release 640 - 12.12.05 - 14:24:42).
unicode enabled version
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'DWT'"
R3trans finished (0012).
<b>R3tranx -x log has this error:</b>
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCIEnvCreate' failed: rc = -1
4 ETW000 3233 0.043222
4 ETW000 [dblink ,00419] ***LOG BY2=>sql error -1 performing CON [dblink#2 @ 419]
4 ETW000 475 0.043697
4 ETW000 [dblink ,00419] ***LOG BY0=>'OCI_ERROR' [dblink#2 @ 419] 46 0.043743
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'DWT'"
<b>Here is the whole log:</b>4 ETW000 R3trans version 6.13 (release 640 - 12.12.05 - 14:24:42).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 05.12.2006 - 13:19:46
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -x
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Tue Dec 5 13:19:46 2006 564 0.000564
4 ETW000 [dev trc ,00000] db_con_init called 41 0.000605
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 50 0.000655
4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/DWT/SYS/exe/run/dboraslib.sl' ...
4 ETW000 128 0.000783
4 ETW000 [dev trc ,00000] load shared library (/usr/sap/DWT/SYS/exe/run/dboraslib.sl), hdl 0
4 ETW000 36789 0.037572
4 ETW000 [dev trc ,00000] Library '/usr/sap/DWT/SYS/exe/run/dboraslib.sl' loaded
4 ETW000 56 0.037628
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library /usr/sap/DWT/SYS/exe/run/dboraslib.sl
4 ETW000 68 0.037696
4 ETW000 [dev trc ,00000] Version of '/usr/sap/DWT/SYS/exe/run/dboraslib.sl' is "640.00", patchlevel (0.109)
4 ETW000 280 0.037976
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library /usr/sap/DWT/SYS/exe/run/dboraslib.sl
4 ETW000 63 0.038039
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library /usr/sap/DWT/SYS/exe/run/dboraslib.sl
4 ETW000 109 0.038148
4 ETW000 [dev trc ,00000] New connection 0 created 50 0.038198
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, c
on_max = 255, con_opt = 255, occ = NO
4 ETW000 476 0.038674
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 224 0.038898
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:
4 ETW000 54 0.038952
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, co
n_max = 255, con_opt = 255, occ = NO
4 ETW000 63 0.039015
4 ETW000 [dev trc ,00000] Got ORACLE_HOME=/oracle/DWT/102_64 from environment
4 ETW000 814 0.039829
4 ETW000 [dev trc ,00000] -->oci_initialize (con_hdl=0) 105 0.039934
4 ETW000 [dev trc ,00000] got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment
4 ETW000 55 0.039989
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCIEnvCreate' failed: rc = -1
4 ETW000 3233 0.043222
4 ETW000 [dblink ,00419] ***LOG BY2=>sql error -1 performing CON [dblink#2 @ 419]
4 ETW000 475 0.043697
4 ETW000 [dblink ,00419] ***LOG BY0=>'OCI_ERROR' [dblink#2 @ 419] 46 0.043743
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'DWT'"
Change you TNSNAMES.ORA
the parameters (SERVER = DEDICATED) is not support by Oracle 10 and Sap
modify you TNSNAMES.ORA and delete this entry
example ...you new TNSNAMES.ORA
DWT.WORLD =
(DESCRIPTION =
(ADDRESS = (COMMUNITY = sap.world)(PROTOCOL = TCP)(Host = sdr3bw4)(Port = 1553))
(CONNECT_DATA =
(SID = DWT)
(GLOBAL_NAME = DWT.world)
)
)
LISTENER_DWT.WORLD =
(ADDRESS = (COMMUNITY = sap.world)(PROTOCOL = TCP)(Host = sdr3bw4)(Port = 1553))
Regards,
Eva Belén Garcia
Hello!
I am also getting an R3trans -d error after upgrading Oracle from 9.2.0.6 to 10.2.0.2 on UNIX.
Ehrn I run R3trans -d I get this:
This is R3trans version 6.13 (release 640 - 12.12.05 - 14:24:42).
unicode enabled version
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'DWT'"
R3trans finished (0012).
The R3trans -x log has this error:
4 ETW000 [dev trc ,00000] -->oci_initialize (con_hdl=0) 104 0.039793
4 ETW000 [dev trc ,00000] got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment
4 ETW000 55 0.039848
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCIEnvCreate' failed: rc = -1
4 ETW000 3158 0.043006
4 ETW000 [dblink ,00419] ***LOG BY2=>sql error -1 performing CON [dblink#2 @ 419]
4 ETW000 426 0.043432
4 ETW000 [dblink ,00419] ***LOG BY0=>'OCI_ERROR' [dblink#2 @ 419] 45 0.043477
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'DWT'"
I looked at SP notes 403004, 602843 & 400241 and every thing looks okay.
Any advice would be appreciated!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Have a look on note 403004.This will help you.
Regards
Vinod
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinod,
Thanks for the quick response,in fact R3trans works perfect with <sid>adm,it fails only with ora<sid>,whether it can be with any environment variable settings?
I haven't permenantly set the env variables for ORACLE_HOME(to the new location) yet,i am exporting those values now.
Whether ora<adm> internally checks any env variable of ,sid>adm?
Thanks
Cherry
Hi,
R3trans is not supposed to work with ora<sid>
SAP connection system is based on the ops$ mechanism and this is only configured for <sid>adm.
Of course, you could "replicate" it for ora<sid> but I do not see it the utility.
the oracle user should never need R3trans ( something different is br* tools )
Regards
Vinod,
Rewarded points for your answers,now i am getting a abnormal error,while trying to start the database it gives me
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00132: syntax error or unresolved network name 'LISTENER_BIG'
i checked the tnsnames.ora,listener.ora and everything is fine. i have two system srunning in this server,one on oracle 9i and th eother on 10g.the 9i database is running fine,listener is started from 10g .while starting 10g database i am getting the above error.
Regards,
Cherry
Cherry,
Could u paste ut listener.ora.U have one listener or 2 listener means u have confgd 10g listener to give service to 9i and 10g Db.
LOCAL_LISTENER specifies a network name that resolves to an address or address list of Oracle Net local listeners (that is, listeners that are running on the same machine as this instance). The address or address list is specified in the TNSNAMES.ORA file or other address repository as configured for your system.
If u have confgd this have a look
Regards
Vinod
This is hat I have dor the listerner & tnsnames.
more listener.ora
LISTENER.ORA Network Configuration File: /oracle/DWT/102_64/network/admin/list
ener.ora
Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = DWT.WORLD))
)
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = DWT))
)
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = sdr3bw4)(PORT = 1553))
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SDU = 32768)
(SID_NAME = DWT)
(ORACLE_HOME = /oracle/DWT/102_64)
)
)
LOGGING_LISTENER = OFF
################
Filename......: listener.ora
Created.......: created by SAP AG, R/3 Rel. >= 6.10
Name..........:
Date..........:
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.