cancel
Showing results for 
Search instead for 
Did you mean: 

R3trans -d giving error:2EETW169 no connect possible: "DBMS = ORACLE--- dbs_ora_tnsname = 'DEV'"

Former Member
0 Kudos

Hi Gurus,

We have ECC 6.0 IDES System present with Oracle 10g as Database and Solaris 5.10 as Operating System.

System ID is "DEV"  and Operating System Users are DEVADM and ORADEV .

We did kernel Upgrade and after that when i try to execute command R3trans -d then getting error like:

This is R3trans version 6.14 (release 700 - 26.10.11 - 13:00:00).

2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'DEV'"

R3trans finished (0012).

Oracle database is Up, Listener is Up , SAPOSCOL is running and only R3trans -d is not working ; hence startsap command is not working fully.

Checked in the Forums but not getting exact solution for my problem.

I am

pasting the error part of "trans.log" file here.

I think there is problem with Authentication as it is seen in the log file.

Requesting to help here how to resolve the issue.

4 ETW000                                                                                                 118  0.262819

4 ETW000  [     dev trc,00000]  -  oci_bind   ( 0: SQLT_STR, l= 20, con=0, stp=1012f1540, vp=ffffffff7d093344,ip=0,rlp=0,rcp=0)

4 ETW000                                                                                                 205  0.263024

4 ETW000  [     dev trc,00000]  -->oci_execute_stmt(con=0, stp=1012f1540, iters=1, rowoff=0, dml_batch_errors=0)

4 ETW000                                                                                                 248  0.263272

4 ETW000  [     dev trc,00000]  <--oci_execute_stmt(rc=0, iters-errors = 1-0) [time 0,003s]             2580  0.265852

4 ETW000  [     dev trc,00000]  -->oci_prepare_stmt(con=0, len=0, stp=1012f1540)                         258  0.266110

4 ETW000  [     dev trc,00000]         SELECT SID FROM V$MYSTAT WHERE ROWNUM<2                                               

4 ETW000                                                                                                 122  0.266232

4 ETW000  [     dev trc,00000]  -->oci_define ( 0: SQLT_INT, l=  4, con=0, stp=1012f1540, vp=ffffffff7fffefa4,ip=ffffffff7fffef66,rlp=0,rcp=0)

4 ETW000                                                                                                 259  0.266491

4 ETW000  [     dev trc,00000]  -->oci_execute_stmt(con=0, stp=1012f1540, iters=1, rowoff=0, dml_batch_errors=0)

4 ETW000                                                                                                 257  0.266748

4 ETW000  [     dev trc,00000]  <--oci_execute_stmt(rc=0, iters-errors = 1-0) [time 0,002s]             1453  0.268201

4 ETW000  [     dev trc,00000]  Now '/@DEV' is connected: con=0, nls_hdl=0, session_id=72.               102  0.268303

4 ETW000  [     dev trc,00000]  -->oci_prepare_stmt(con=0, len=0, stp=1012f1540)                         103  0.268406

4 ETW000  [     dev trc,00000]         ALTER SESSION SET NLS_SORT = BINARY                                                   

4 ETW000                                                                                                 118  0.268524

4 ETW000  [     dev trc,00000]  -->oci_execute_stmt(con=0, stp=1012f1540, iters=1, rowoff=0, dml_batch_errors=0)

4 ETW000                                                                                                 143  0.268667

4 ETW000  [     dev trc,00000]  <--oci_execute_stmt(rc=0, iters-errors = 1-0) [time 0,001s]             1252  0.269919

4 ETW000  [     dev trc,00000]  -->oci_prepare_stmt(con=0, len=0, stp=1012f1540)                         150  0.270069

4 ETW000  [     dev trc,00000]         SELECT USERID,PASSWD FROM SAPUSER WHERE USERID IN (:A0,:A1)                           

4 ETW000                                                                                                 121  0.270190

4 ETW000  [     dev trc,00000]  -  oci_bind   ( 0: SQLT_STR, l=256, con=0, stp=1012f1540, vp=ffffffff7d1aed74,ip=0,rlp=0,rcp=0)

4 ETW000                                                                                                 218  0.270408

4 ETW000  [     dev trc,00000]  -  oci_bind   ( 1: SQLT_STR, l=256, con=0, stp=1012f1540, vp=ffffffff7ffff050,ip=0,rlp=0,rcp=0)

4 ETW000                                                                                                 124  0.270532

4 ETW000  [     dev trc,00000]  -->oci_define ( 0: SQLT_STR, l=256, con=0, stp=1012f1540, vp=ffffffff7fffeee0,ip=ffffffff7ffff152,rlp=0,rcp=0)

4 ETW000                                                                                                 147  0.270679

4 ETW000  [     dev trc,00000]  -->oci_define ( 1: SQLT_AFC, l=256, con=0, stp=1012f1540, vp=ffffffff7fffede0,ip=ffffffff7fffedde,rlp=0,rcp=0)

4 ETW000                                                                                                 148  0.270827

4 ETW000  [     dev trc,00000]  -->oci_execute_stmt(con=0, stp=1012f1540, iters=1, rowoff=0, dml_batch_errors=0)

4 ETW000                                                                                                 120  0.270947

4 ETW000  [     dev trc,00000]     OCIStmtExecute() failed with -1=OCI_ERROR                            2367  0.273314

4 ETW000  [     dev trc,00000]     SQL error 942:                                                         76  0.273390

4 ETW000  [     dev trc,00000]     ORA-00942: table or view does not exist                                                   

4 ETW000                                                                                                 155  0.273545

4 ETW000  [     dev trc,00000]  <--oci_execute_stmt(rc=942, iters-errors = 1-0) [time 0,003s]             76  0.273621

4 ETW000  [    dbsloci.,00000]  *** ERROR => ORA-942 when accessing table SAPUSER                        104  0.273725

4 ETW000  [     dev trc,00000]     set_ocica() -> SQL error code 942                                      79  0.273804

4 ETW000  [     dev trc,00000]  -->oci_get_errmsg (con=0, rc=942)                                        114  0.273918

4 ETW000  [     dev trc,00000]     OCIErrorGet -> SQL error code: 942                                     81  0.273999

4 ETW000  [     dev trc,00000]     ORA-00942: table or view does not exist                                                   

4 ETW000                                                                                                 114  0.274113

4 ETW000  [     dev trc,00000]  Disconnecting from connection 0 ...                                       89  0.274202

4 ETW000  [     dev trc,00000]  Rolling back transaction ...                                             149  0.274351

4 ETW000  [     dev trc,00000]  Closing user session (con=0,svchp=1012e4b28,usrhp=1012d4ab8)             497  0.274848

4 ETW000  [     dev trc,00000]  Disconnected (con=0) from ORACLE.                                       2094  0.276942

4 ETW000  [     dev trc,00000]  Info: 99=DBSL_ERR_DB, oerr=942, try to connect with default password.

4 ETW000                                                                                                 153  0.277095

4 ETW000  [     dev trc,00000]  Connecting as SAPSR3/<pwd>@DEV on connection 0 (nls 0) ... (dbsl 700 131011, non-unicode)

4 ETW000                                                                                                 112  0.277207

4 ETW000  [     dev trc,00000]  Assigning username to user session: con=0, usrhp=1012d4ab8                93  0.277300

4 ETW000  [     dev trc,00000]  Assigning password to user session: con=0, usrhp=1012d4ab8                88  0.277388

4 ETW000  [     dev trc,00000]  Starting user session: OCISessionBegin(con=0, usr=SAPSR3/<pwd>, svchp=1012e4b28, srvhp=1012e79c8, usrhp=1012d4ab8)

4 ETW000                                                                                                 129  0.277517

4 ETW000  [     dev trc,00000]     OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR               21822  0.299339

4 ETW000  [     dev trc,00000]     OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017:               94  0.299433

4 ETW000  [     dev trc,00000]     ORA-01017: invalid username/password; logon denied                                        

4 ETW000                                                                                                 116  0.299549

4 ETW000  [    dbsloci.,00000]  *** ERROR => CONNECT failed with sql error '1017'                        102  0.299651

4 ETW000  [     dev trc,00000]     set_ocica() -> SQL error code 1017                                     73  0.299724

4 ETW000  [     dev trc,00000]  -->oci_get_errmsg (con=0, rc=1017)                                        74  0.299798

4 ETW000  [     dev trc,00000]     OCIErrorGet -> SQL error code: 1017                                    76  0.299874

4 ETW000  [     dev trc,00000]     ORA-01017: invalid username/password; logon denied                                        

4 ETW000                                                                                                 115  0.299989

4 ETW000  [    dblink  ,00433]  ***LOG BY2=>sql error 1017   performing CON [dblink#8 @ 433]             292  0.300281

4 ETW000  [    dblink  ,00433]  ***LOG BY0=>ORA-01017: invalid username/password; logon denied [dblink#8 @ 433]

4 ETW000                                                                                                 119  0.300400

2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'DEV'"

Thanks

Sujit

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

hi sujit,

Use sapcontrol -nr 00 -function GetVersionInfo command to verfiy , kernel and dbsl files are of same patch .

paste the output.

moreover excute tnsping <SID> , also and paste the ouput.

Regards

Deepak

Former Member
0 Kudos

Hi Deepak,

Please find the output for first command:

sapcontrol -nr 00 -function GetVersionInfo

24.09.2012 16:21:48
GetVersionInfo
OK
Filename, VersionInfo, Time
/usr/sap/DEV/DVEBMGS00/exe/sapstartsrv, 700, patch 111, changelist 908140, optu, sun_64, 2007 05 22 00:47:52
/usr/sap/DEV/DVEBMGS00/exe/disp+work, 700, patch 111, changelist 908140, optu, sun_64, 2007 05 22 00:29:01
/usr/sap/DEV/DVEBMGS00/exe/gwrd, 700, patch 111, changelist 908140, optu, sun_64, 2007 05 22 00:30:07
/usr/sap/DEV/DVEBMGS00/exe/msg_server, 700, patch 111, changelist 908140, optu, sun_64, 2007 05 21 00:59:12
/usr/sap/DEV/DVEBMGS00/exe/dbadaslib.so, 700, patch 111, changelist 908140, optu, sun_64, 2007 05 21 23:39:06
/usr/sap/DEV/DVEBMGS00/exe/dboraslib.so, 700, patch 111, changelist 908140, optu, sun_64, 2007 05 19 00:56:23
/usr/sap/DEV/DVEBMGS00/exe/enserver, 700, patch 111, changelist 908140, optu, sun_64, 2007 05 21 01:00:32
/usr/sap/DEV/DVEBMGS00/exe/icman, 700, patch 111, changelist 908140, optu, sun_64, 2007 05 21 00:58:16
/usr/sap/DEV/DVEBMGS00/exe/jcontrol, 700, patch 111, changelist 908140, optu, sun_64, 2007 05 21 02:11:30
/usr/sap/DEV/DVEBMGS00/exe/jlaunch, 700, patch 111, changelist 908140, optu, sun_64, 2007 05 22 01:34:10

Also find the output for second command :

tnsping DEV

TNS Ping Utility for Solaris: Version 10.2.0.2.0 - Production on 24-SEP-2012 16:21:13

Copyright (c) 1997, 2005, Oracle.  All rights reserved.

Used parameter files:
/oracle/DEV/102_64/network/admin/sqlnet.ora


Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (COMMUNITY = SAP.WORLD) (PROTOCOL = TCP) (HOST = gentw) (PORT = 1527))) (CONNECT_DATA = (SID = DEV) (GLOBAL_NAME = DEV.WORLD)))
OK (10 msec)

Thanks

Sujit

Former Member
0 Kudos

Hi Sujit,

please provide the output from the following commands as devadm user:

$ sqlplus /@DEV

SQL> select userid from SAPUSER;

Regards
Roman

Former Member
0 Kudos

Hi Roman,

Please find below output after running below command:

select userid from SAPUSER;

select userid from SAPUSER
                   *
ERROR at line 1:
ORA-00942: table or view does not exist

Thanks

Sujit

Former Member
0 Kudos

Ok, for more info please provide output from

$ sqlplus /@DEV

SQL> select sys_context('USERENV','SESSION_USER') from dual;

SQL> select sys_context('USERENV','AUTHENTICATED_IDENTITY') from dual;

Regards

Roman

Former Member
0 Kudos

Hi Roman,

Below is the output after executing the command

select sys_context('USERENV','SESSION_USER') from dual;


SYS_CONTEXT('USERENV','SESSION_USER')
--------------------------------------------------------------------------------
OPS$ORADEV

And here is the output after executing second command:

select sys_context('USERENV','AUTHENTICATED_IDENTITY') from dual;


SYS_CONTEXT('USERENV','AUTHENTICATED_IDENTITY')
--------------------------------------------------------------------------------
oradev

Thanks

Sujit

Former Member
0 Kudos

Please run these commands as devadm user

Regards

Roman

Former Member
0 Kudos

Hi Roman,

Please find the outputs after running the commands as DEVADM User:

select sys_context('USERENV','SESSION_USER') from dual;


SYS_CONTEXT('USERENV','SESSION_USER')
--------------------------------------------------------------------------------
OPS$DEVADM

select sys_context('USERENV','AUTHENTICATED_IDENTITY') from dual;


SYS_CONTEXT('USERENV','AUTHENTICATED_IDENTITY')
--------------------------------------------------------------------------------
devadm

Thanks

Sujit

Former Member
0 Kudos

Please provide full output from

# su - devadm

$ sqlplus /@DEV

SQL> select sys_context('USERENV','SESSION_USER') from dual;

SQL> select sys_context('USERENV','AUTHENTICATED_IDENTITY') from dual;

SQL> select userid from sapuser;

Regards

Roman

Former Member
0 Kudos

Hi Roman,

Please find below  Output as per your suggestion:

devadm> sqlplus /@DEV

SQL*Plus: Release 10.2.0.2.0 - Production on Mon Sep 24 18:45:10 2012

Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning and Data Mining options

SQL> select sys_context('USERENV','SESSION_USER') from dual;


SYS_CONTEXT('USERENV','SESSION_USER')
--------------------------------------------------------------------------------
OPS$DEVADM

SQL> select sys_context('USERENV','AUTHENTICATED_IDENTITY') from dual;


SYS_CONTEXT('USERENV','AUTHENTICATED_IDENTITY')
--------------------------------------------------------------------------------
devadm

SQL> select userid from sapuser;


USERID
--------------------------------------------------------------------------------
SAPSR3

Thanks

Sujit

Former Member
0 Kudos

It seems to be all ok. Try following

# su - devadm

$ R3trans -d

Regards

Roman

Former Member
0 Kudos

Hi Roman,

Still facing the same error.

devadm> R3trans -d

This is R3trans version 6.14 (release 700 - 26.10.11 - 13:00:00).

2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'DEV'"

R3trans finished (0012).

Thanks

Sujit

Former Member
0 Kudos

Please provide trans.log again

Regards

Roman

Former Member
0 Kudos

Hi Roman,

Please find trans.log file .

Here as first error i see table or view doesn't exist and then authentication is failing.

Even i reseted the passwords but no luck.

Please find the trans.log file and suggets here:

4 ETW000 R3trans version 6.14 (release 700 - 26.10.11 - 13:00:00).

4 ETW000 ===============================================

4 ETW000

4 ETW000 date&time   : 24.09.2012 - 15:45:46

4 ETW000 control file: <no ctrlfile>

4 ETW000 R3trans was called as follows: R3trans -d

4 ETW000  trace at level 2 opened for a given file pointer

4 ETW000  [     dev trc,00000]  Mon Sep 24 15:45:46 2012                                                 834  0.000834

4 ETW000  [     dev trc,00000]  db_con_init called                                                        59  0.000893

4 ETW000  [     dev trc,00000]  create_con (con_name=R/3)                                                 76  0.000969

4 ETW000  [     dev trc,00000]  Loading DB library '/usr/sap/DEV/SYS/exe/run/dboraslib.so' ...           158  0.001127

4 ETW000  [     dev trc,00000]  DlLoadLib() success: dlopen("/usr/sap/DEV/SYS/exe/run/dboraslib.so"), hdl 0

4 ETW000                                                                                               77137  0.078264

4 ETW000  [     dev trc,00000]  Library '/usr/sap/DEV/SYS/exe/run/dboraslib.so' loaded                   143  0.078407

4 ETW000  [     dev trc,00000]  function DbSlExpFuns loaded from library /usr/sap/DEV/SYS/exe/run/dboraslib.so

4 ETW000                                                                                                 124  0.078531

4 ETW000  [     dev trc,00000]  Version of '/usr/sap/DEV/SYS/exe/run/dboraslib.so' is "700.08", patchlevel (0.324)

4 ETW000                                                                                                1369  0.079900

4 ETW000  [     dev trc,00000]  function dsql_db_init loaded from library /usr/sap/DEV/SYS/exe/run/dboraslib.so

4 ETW000                                                                                                 112  0.080012

4 ETW000  [     dev trc,00000]  function dbdd_exp_funs loaded from library /usr/sap/DEV/SYS/exe/run/dboraslib.so

4 ETW000                                                                                                 333  0.080345

4 ETW000  [     dev trc,00000]  New connection 0 created                                                 126  0.080471

4 ETW000  [     dev trc,00000]  000: name = R/3, con_id = -000000001, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,

4 ETW000                             reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO

4 ETW000                                                                                                 174  0.080645

4 ETW000  [     dev trc,00000]  db_con_connect (con_name=R/3)                                            203  0.080848

4 ETW000  [     dev trc,00000]  find_con_by_name found the following connection for reuse:                73  0.080921

4 ETW000  [     dev trc,00000]  000: name = R/3, con_id = 000000000, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,

4 ETW000                             reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO

4 ETW000                                                                                                 163  0.081084

4 ETW000  [     dev trc,00000]  -->oci_init1                                                             841  0.081925

4 ETW000  [     dev trc,00000]  Oracle Client Version: '10.2.0.2.0', (dbsl 700 131011, non-unicode)      316  0.082241

4 ETW000  [     dev trc,00000]    Default connection: tnsname ='DEV'                                     102  0.082343

4 ETW000  [     dev trc,00000]  -->oci_initialize(con=0, char='WE8DEC', nchar='AL16UTF16', uc_ln=1)      128  0.082471

4 ETW000  [     dev trc,00000]  Application info callback registered.                                     77  0.082548

4 ETW000  [     dev trc,00000]  OCIEnvCreate(mode=0=OCI_DEFAULT) returned 0 (for default NLS handle)

4 ETW000                                                                                               14505  0.097053

4 ETW000  [     dev trc,00000]     OCIHandleAlloc(OCI_HTYPE_ERROR, con=0, ErrHp=1012d42a0)               161  0.097214

4 ETW000  [     dev trc,00000]     OCIHandleAlloc(OCI_HTYPE_ERROR, con=0, ErrBt=1012e4bf8)               108  0.097322

4 ETW000  [     dev trc,00000]  NLS env.: lang=414D45524943414E                                          440  0.097762

4 ETW000  [     dev trc,00000]            terr=414D4552494341                                             85  0.097847

4 ETW000  [     dev trc,00000]            char=55544638                                                   77  0.097924

4 ETW000  [     dev trc,00000]  Client NLS setting (by OCINlsGetInfo): con=0, 'AMERICAN_AMERICA.UTF8'

4 ETW000                                                                                                 110  0.098034

4 ETW000  [     dev trc,00000]  charset='WE8DEC', ncharset='AL16UTF16', UNI_ASC=FALSE                     68  0.098102

4 ETW000  [     dev trc,00000]     default client setting: NLS_CHAR=charset='UTF8'                        71  0.098173

4 ETW000  [     dev trc,00000]  Logon as OPS$-user to get SAPSR3's password                              127  0.098300

4 ETW000  [     dev trc,00000]  Connecting as /@DEV on connection 0 (nls 0) ... (dbsl 700 131011, non-unicode)

4 ETW000                                                                                                 142  0.098442

4 ETW000  [     dev trc,00000]  Allocating service context handle for con=0                              249  0.098691

4 ETW000  [     dev trc,00000]  Allocating server context handle                                          91  0.098782

4 ETW000  [     dev trc,00000]  Attaching to DB Server DEV (con=0,svchp=1012e4b28,srvhp=1012e79c8)       169  0.098951

4 ETW000  [     dev trc,00000]  Assigning server context 1012e79c8 to service context 1012e4b28       118129  0.217080

4 ETW000  [     dev trc,00000]  Allocating user session handle                                           145  0.217225

4 ETW000  [     dev trc,00000]  Starting user session: OCISessionBegin(con=0, usr='/',svchp=1012e4b28, srvhp=1012e79c8, usrhp=1012d4ab8)

4 ETW000                                                                                                 162  0.217387

4 ETW000  [     dev trc,00000]  Assigning user session 1012d4ab8 to service context 1012e4b28          43097  0.260484

4 ETW000  [     dev trc,00000]  -->oci_prepare_stmt(con=0, len=52, stp=1012f04e8)                        251  0.260735

4 ETW000  [     dev trc,00000]         BEGIN DBMS_APPLICATION_INFO.SET_MODULE(:A0,:A1);END;                                  

4 ETW000                                                                                                 124  0.260859

4 ETW000  [     dev trc,00000]  -  oci_bind   ( 0: SQLT_STR, l=300, con=0, stp=1012f04e8, vp=ffffffff7d0934bc,ip=ffffffff7d093340,rlp=0,rcp=0)

4 ETW000                                                                                                 485  0.261344

4 ETW000  [     dev trc,00000]  -  oci_bind   ( 1: SQLT_STR, l=300, con=0, stp=1012f04e8, vp=ffffffff7d093390,ip=ffffffff7d093342,rlp=0,rcp=0)

4 ETW000                                                                                                 208  0.261552

4 ETW000  [     dev trc,00000]     CbApplInfoGet() failed (ignored 1).                                   114  0.261666

4 ETW000  [     dev trc,00000]  -->oci_prepare_stmt(con=0, len=54, stp=1012f1540)                         80  0.261746

4 ETW000  [     dev trc,00000]         BEGIN DBMS_APPLICATION_INFO.SET_CLIENT_INFO(:A0); END;                                

4 ETW000                                                                                                 117  0.261863

4 ETW000  [     dev trc,00000]  -  oci_bind   ( 0: SQLT_STR, l= 20, con=0, stp=1012f1540, vp=ffffffff7d093344,ip=0,rlp=0,rcp=0)

4 ETW000                                                                                                 206  0.262069

4 ETW000  [     dev trc,00000]  -->oci_execute_stmt(con=0, stp=1012f1540, iters=1, rowoff=0, dml_batch_errors=0)

4 ETW000                                                                                                 163  0.262232

4 ETW000  [     dev trc,00000]  <--oci_execute_stmt(rc=0, iters-errors = 1-0) [time 0,043s]            42874  0.305106

4 ETW000  [     dev trc,00000]  -->oci_prepare_stmt(con=0, len=0, stp=1012f1540)                         313  0.305419

4 ETW000  [     dev trc,00000]         SELECT SID FROM V$MYSTAT WHERE ROWNUM<2                                               

4 ETW000                                                                                                 125  0.305544

4 ETW000  [     dev trc,00000]  -->oci_define ( 0: SQLT_INT, l=  4, con=0, stp=1012f1540, vp=ffffffff7fffeff4,ip=ffffffff7fffefb6,rlp=0,rcp=0)

4 ETW000                                                                                                 279  0.305823

4 ETW000  [     dev trc,00000]  -->oci_execute_stmt(con=0, stp=1012f1540, iters=1, rowoff=0, dml_batch_errors=0)

4 ETW000                                                                                                 224  0.306047

4 ETW000  [     dev trc,00000]  <--oci_execute_stmt(rc=0, iters-errors = 1-0) [time 0,042s]            41545  0.347592

4 ETW000  [     dev trc,00000]  Now '/@DEV' is connected: con=0, nls_hdl=0, session_id=72.               116  0.347708

4 ETW000  [     dev trc,00000]  -->oci_prepare_stmt(con=0, len=0, stp=1012f1540)                         119  0.347827

4 ETW000  [     dev trc,00000]         ALTER SESSION SET NLS_SORT = BINARY                                                   

4 ETW000                                                                                                 122  0.347949

4 ETW000  [     dev trc,00000]  -->oci_execute_stmt(con=0, stp=1012f1540, iters=1, rowoff=0, dml_batch_errors=0)

4 ETW000                                                                                                 161  0.348110

4 ETW000  [     dev trc,00000]  <--oci_execute_stmt(rc=0, iters-errors = 1-0) [time 0,002s]             2187  0.350297

4 ETW000  [     dev trc,00000]  -->oci_prepare_stmt(con=0, len=0, stp=1012f1540)                         181  0.350478

4 ETW000  [     dev trc,00000]         SELECT USERID,PASSWD FROM SAPUSER WHERE USERID IN (:A0,:A1)                           

4 ETW000                                                                                                 121  0.350599

4 ETW000  [     dev trc,00000]  -  oci_bind   ( 0: SQLT_STR, l=256, con=0, stp=1012f1540, vp=ffffffff7d1aed74,ip=0,rlp=0,rcp=0)

4 ETW000                                                                                                 225  0.350824

4 ETW000  [     dev trc,00000]  -  oci_bind   ( 1: SQLT_STR, l=256, con=0, stp=1012f1540, vp=ffffffff7ffff0a0,ip=0,rlp=0,rcp=0)

4 ETW000                                                                                                 133  0.350957

4 ETW000  [     dev trc,00000]  -->oci_define ( 0: SQLT_STR, l=256, con=0, stp=1012f1540, vp=ffffffff7fffef30,ip=ffffffff7ffff1a2,rlp=0,rcp=0)

4 ETW000                                                                                                 143  0.351100

4 ETW000  [     dev trc,00000]  -->oci_define ( 1: SQLT_AFC, l=256, con=0, stp=1012f1540, vp=ffffffff7fffee30,ip=ffffffff7fffee2e,rlp=0,rcp=0)

4 ETW000                                                                                                 155  0.351255

4 ETW000  [     dev trc,00000]  -->oci_execute_stmt(con=0, stp=1012f1540, iters=1, rowoff=0, dml_batch_errors=0)

4 ETW000                                                                                                 123  0.351378

4 ETW000  [     dev trc,00000]     OCIStmtExecute() failed with -1=OCI_ERROR                            4048  0.355426

4 ETW000  [     dev trc,00000]     SQL error 942:                                                         76  0.355502

4 ETW000  [     dev trc,00000]     ORA-00942: table or view does not exist                                                   

4 ETW000                                                                                                 159  0.355661

4 ETW000  [     dev trc,00000]  <--oci_execute_stmt(rc=942, iters-errors = 1-0) [time 0,004s]             77  0.355738

4 ETW000  [    dbsloci.,00000]  *** ERROR => ORA-942 when accessing table SAPUSER                        103  0.355841

4 ETW000  [     dev trc,00000]     set_ocica() -> SQL error code 942                                      80  0.355921

4 ETW000  [     dev trc,00000]  -->oci_get_errmsg (con=0, rc=942)                                        118  0.356039

4 ETW000  [     dev trc,00000]     OCIErrorGet -> SQL error code: 942                                     83  0.356122

4 ETW000  [     dev trc,00000]     ORA-00942: table or view does not exist                                                   

4 ETW000                                                                                                 116  0.356238

4 ETW000  [     dev trc,00000]  Disconnecting from connection 0 ...                                       70  0.356308

4 ETW000  [     dev trc,00000]  Rolling back transaction ...                                             170  0.356478

4 ETW000  [     dev trc,00000]  Closing user session (con=0,svchp=1012e4b28,usrhp=1012d4ab8)             497  0.356975

4 ETW000  [     dev trc,00000]  Disconnected (con=0) from ORACLE.                                       2615  0.359590

4 ETW000  [     dev trc,00000]  Info: 99=DBSL_ERR_DB, oerr=942, try to connect with default password.

4 ETW000                                                                                                 154  0.359744

4 ETW000  [     dev trc,00000]  Connecting as SAPSR3/<pwd>@DEV on connection 0 (nls 0) ... (dbsl 700 131011, non-unicode)

4 ETW000                                                                                                 112  0.359856

4 ETW000  [     dev trc,00000]  Assigning username to user session: con=0, usrhp=1012d4ab8                74  0.359930

4 ETW000  [     dev trc,00000]  Assigning password to user session: con=0, usrhp=1012d4ab8               106  0.360036

4 ETW000  [     dev trc,00000]  Starting user session: OCISessionBegin(con=0, usr=SAPSR3/<pwd>, svchp=1012e4b28, srvhp=1012e79c8, usrhp=1012d4ab8)

4 ETW000                                                                                                 130  0.360166

4 ETW000  [     dev trc,00000]     OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR               31030  0.391196

4 ETW000  [     dev trc,00000]     OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017:              111  0.391307

4 ETW000  [     dev trc,00000]     ORA-01017: invalid username/password; logon denied                                        

4 ETW000                                                                                                 118  0.391425

4 ETW000  [    dbsloci.,00000]  *** ERROR => CONNECT failed with sql error '1017'                         78  0.391503

4 ETW000  [     dev trc,00000]     set_ocica() -> SQL error code 1017                                     98  0.391601

4 ETW000  [     dev trc,00000]  -->oci_get_errmsg (con=0, rc=1017)                                        76  0.391677

4 ETW000  [     dev trc,00000]     OCIErrorGet -> SQL error code: 1017                                    77  0.391754

4 ETW000  [     dev trc,00000]     ORA-01017: invalid username/password; logon denied                                        

4 ETW000                                                                                                 115  0.391869

4 ETW000  [    dblink  ,00433]  ***LOG BY2=>sql error 1017   performing CON [dblink#8 @ 433]             259  0.392128

4 ETW000  [    dblink  ,00433]  ***LOG BY0=>ORA-01017: invalid username/password; logon denied [dblink#8 @ 433]

4 ETW000                                                                                                 119  0.392247

2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'DEV'"

Thanks

Sujit

Former Member
0 Kudos

Hi Roman,

Please find current "trans.log" file .

I am posting only error part here.Please check .

4 ETW000  [     dev trc,00000]  <--oci_execute_stmt(rc=0, iters-errors = 1-0) [time 0,001s]             1081  0.337174
4 ETW000  [     dev trc,00000]  Got SAPSR3's password from OPS$-user                                     101  0.337275
4 ETW000  [     dev trc,00000]  Disconnecting from connection 0 ...                                       74  0.337349
4 ETW000  [     dev trc,00000]  Rolling back transaction ...                                             166  0.337515
4 ETW000  [     dev trc,00000]  Closing user session (con=0,svchp=1012e4d98,usrhp=1012d4d28)             493  0.338008
4 ETW000  [     dev trc,00000]  Disconnected (con=0) from ORACLE.                                       2103  0.340111
4 ETW000  [     dev trc,00000]  Connect as 'SAPSR3' with found password from table SAPUSER                82  0.340193
4 ETW000  [     dev trc,00000]  Connecting as SAPSR3/<pwd>@DEV on connection 0 (nls 0) ... (dbsl 700 131011, non-unicode)
4 ETW000                                                                                                 118  0.340311
4 ETW000  [     dev trc,00000]  Assigning username to user session: con=0, usrhp=1012d4d28                72  0.340383
4 ETW000  [     dev trc,00000]  Assigning password to user session: con=0, usrhp=1012d4d28                85  0.340468
4 ETW000  [     dev trc,00000]  Starting user session: OCISessionBegin(con=0, usr=SAPSR3/<pwd>, svchp=1012e4d98, srvhp=1012e7c38, usrhp=1012d4d28)
4 ETW000                                                                                                 148  0.340616
4 ETW000  [     dev trc,00000]     OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR               22917  0.363533
4 ETW000  [     dev trc,00000]     OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017:              160  0.363693
4 ETW000  [     dev trc,00000]     ORA-01017: invalid username/password; logon denied                                        
4 ETW000                                                                                                 121  0.363814
4 ETW000  [    dbsloci.,00000]  *** ERROR => CONNECT failed with sql error '1017'                         80  0.363894
4 ETW000  [     dev trc,00000]     set_ocica() -> SQL error code 1017                                     76  0.363970
4 ETW000  [     dev trc,00000]  -->oci_get_errmsg (con=0, rc=1017)                                       139  0.364109
4 ETW000  [     dev trc,00000]     OCIErrorGet -> SQL error code: 1017                                    86  0.364195
4 ETW000  [     dev trc,00000]     ORA-01017: invalid username/password; logon denied                                        
4 ETW000                                                                                                 115  0.364310
4 ETW000  [    dblink  ,00433]  ***LOG BY2=>sql error 1017   performing CON [dblink#8 @ 433]             289  0.364599
4 ETW000  [    dblink  ,00433]  ***LOG BY0=>ORA-01017: invalid username/password; logon denied [dblink#8 @ 433]
4 ETW000                                                                                                 120  0.364719
2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'DEV'"

Thanks

Sujit

Former Member
0 Kudos

Please read Note 1576837 - ORA-01017invalid username/password;

Even i reseted the passwords but no luck.

What this mean? What did you do?

Roman

Former Member
0 Kudos

Hi Roman,

I have gone through the note and tried to reset the password of SAPSR3 schema owner and even reseted the password for "SYSTEM" user and tried command R3trans -d but getting the same error.

Now for testing purpose i checked to connect to database using user "SYSTEM" and "SAPSR3" with the new passwords which i reseted and it is connecting in both the cases.

Please find the same:

devadm> sqlplus

SQL*Plus: Release 10.2.0.2.0 - Production on Tue Sep 25 13:28:48 2012

Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.

Enter user-name: system
Enter password:

Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning and Data Mining options

SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning and Data Mining options

devadm> sqlplus

SQL*Plus: Release 10.2.0.2.0 - Production on Tue Sep 25 13:30:14 2012

Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.

Enter user-name: SAPSR3
Enter password:

Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning and Data Mining options

SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning and Data Mining options

Thanks

Sujit

Former Member
0 Kudos

Please read the solution for scenario B in note 1576837. You need to syncronize passwords in SAPUSER table with SAPSR3 user password. If you do not use this method then the password will not get updated both in the oracle dictionary and SAPUSER table.

Run

brconnect -u system/<password> -f chpass -o SAPSR3 -p <password>

to synhronize.

Regards

Roman

Former Member
0 Kudos

Hi Roman,

I changed the password of SAPSR3 User using BRTOOLS and now again i ran above command and please find below output after running the command

BR0801I BRCONNECT 7.00 (24)

BR0280I BRCONNECT time stamp: 2012-09-25 13.54.18
BR0828I Changing password for database user SAPSR3
BR0280I BRCONNECT time stamp: 2012-09-25 13.54.18
BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRCONNECT:
c
BR0280I BRCONNECT time stamp: 2012-09-25 13.54.23
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0280I BRCONNECT time stamp: 2012-09-25 13.54.23
BR0829I Password changed successfully in database for user SAPSR3
BR0830I Password changed successfully in table OPS$DEVADM.SAPUSER for user SAPSR3

BR0280I BRCONNECT time stamp: 2012-09-25 13.54.23
BR0802I BRCONNECT completed successfully

devadm> R3trans -d
This is R3trans version 6.14 (release 700 - 26.10.11 - 13:00:00).
2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'DEV'"
R3trans finished (0012).

Thanks

Sujit

Former Member
0 Kudos

Please provide trans.log again. Take this log from directory where you run R3trans command

Regards

Roman

Former Member
0 Kudos

Hi Roman,

Please find trans.log and this time i am going to provide the log from the directory where i ran R3trans -d command as you told.

devadm> cat trans.log

4 ETW000 R3trans version 6.14 (release 700 - 26.10.11 - 13:00:00).

4 ETW000 ===============================================

4 ETW000

4 ETW000 date&time   : 25.09.2012 - 14:49:42

4 ETW000 control file: <no ctrlfile>

4 ETW000 R3trans was called as follows: R3trans -d

4 ETW000  trace at level 2 opened for a given file pointer

4 ETW000  [     dev trc,00000]  Tue Sep 25 14:49:42 2012                                                 833  0.000833

4 ETW000  [     dev trc,00000]  db_con_init called                                                        59  0.000892

4 ETW000  [     dev trc,00000]  create_con (con_name=R/3)                                                 76  0.000968

4 ETW000  [     dev trc,00000]  Loading DB library '/usr/sap/DEV/SYS/exe/run/dboraslib.so' ...           160  0.001128

4 ETW000  [     dev trc,00000]  DlLoadLib() success: dlopen("/usr/sap/DEV/SYS/exe/run/dboraslib.so"), hdl 0

4 ETW000                                                                                               79005  0.080133

4 ETW000  [     dev trc,00000]  Library '/usr/sap/DEV/SYS/exe/run/dboraslib.so' loaded                   166  0.080299

4 ETW000  [     dev trc,00000]  function DbSlExpFuns loaded from library /usr/sap/DEV/SYS/exe/run/dboraslib.so

4 ETW000                                                                                                 123  0.080422

4 ETW000  [     dev trc,00000]  Version of '/usr/sap/DEV/SYS/exe/run/dboraslib.so' is "700.08", patchlevel (0.324)

4 ETW000                                                                                                1399  0.081821

4 ETW000  [     dev trc,00000]  function dsql_db_init loaded from library /usr/sap/DEV/SYS/exe/run/dboraslib.so

4 ETW000                                                                                                 113  0.081934

4 ETW000  [     dev trc,00000]  function dbdd_exp_funs loaded from library /usr/sap/DEV/SYS/exe/run/dboraslib.so

4 ETW000                                                                                                 336  0.082270

4 ETW000  [     dev trc,00000]  New connection 0 created                                                 125  0.082395

4 ETW000  [     dev trc,00000]  000: name = R/3, con_id = -000000001, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,

4 ETW000                             reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO

4 ETW000                                                                                                 174  0.082569

4 ETW000  [     dev trc,00000]  db_con_connect (con_name=R/3)                                            207  0.082776

4 ETW000  [     dev trc,00000]  find_con_by_name found the following connection for reuse:                73  0.082849

4 ETW000  [     dev trc,00000]  000: name = R/3, con_id = 000000000, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,

4 ETW000                             reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO

4 ETW000                                                                                                 162  0.083011

4 ETW000  [     dev trc,00000]  -->oci_init1                                                             842  0.083853

4 ETW000  [     dev trc,00000]  Oracle Client Version: '10.2.0.2.0', (dbsl 700 131011, non-unicode)      334  0.084187

4 ETW000  [     dev trc,00000]    Default connection: tnsname ='DEV'                                      78  0.084265

4 ETW000  [     dev trc,00000]  -->oci_initialize(con=0, char='WE8DEC', nchar='AL16UTF16', uc_ln=1)      127  0.084392

4 ETW000  [     dev trc,00000]  Application info callback registered.                                     77  0.084469

4 ETW000  [     dev trc,00000]  OCIEnvCreate(mode=0=OCI_DEFAULT) returned 0 (for default NLS handle)

4 ETW000                                                                                               96718  0.181187

4 ETW000  [     dev trc,00000]     OCIHandleAlloc(OCI_HTYPE_ERROR, con=0, ErrHp=1012d4510)               166  0.181353

4 ETW000  [     dev trc,00000]     OCIHandleAlloc(OCI_HTYPE_ERROR, con=0, ErrBt=1012e4e68)               114  0.181467

4 ETW000  [     dev trc,00000]  NLS env.: lang=414D45524943414E                                          383  0.181850

4 ETW000  [     dev trc,00000]            terr=414D4552494341                                             86  0.181936

4 ETW000  [     dev trc,00000]            char=55544638                                                   75  0.182011

4 ETW000  [     dev trc,00000]  Client NLS setting (by OCINlsGetInfo): con=0, 'AMERICAN_AMERICA.UTF8'

4 ETW000                                                                                                 111  0.182122

4 ETW000  [     dev trc,00000]  charset='WE8DEC', ncharset='AL16UTF16', UNI_ASC=FALSE                     69  0.182191

4 ETW000  [     dev trc,00000]     default client setting: NLS_CHAR=charset='UTF8'                        70  0.182261

4 ETW000  [     dev trc,00000]  Logon as OPS$-user to get SAPSR3's password                              128  0.182389

4 ETW000  [     dev trc,00000]  Connecting as /@DEV on connection 0 (nls 0) ... (dbsl 700 131011, non-unicode)

4 ETW000                                                                                                 143  0.182532

4 ETW000  [     dev trc,00000]  Allocating service context handle for con=0                              232  0.182764

4 ETW000  [     dev trc,00000]  Allocating server context handle                                          99  0.182863

4 ETW000  [     dev trc,00000]  Attaching to DB Server DEV (con=0,svchp=1012e4d98,srvhp=1012e7c38)       173  0.183036

4 ETW000  [     dev trc,00000]  Assigning server context 1012e7c38 to service context 1012e4d98       118027  0.301063

4 ETW000  [     dev trc,00000]  Allocating user session handle                                           149  0.301212

4 ETW000  [     dev trc,00000]  Starting user session: OCISessionBegin(con=0, usr='/',svchp=1012e4d98, srvhp=1012e7c38, usrhp=1012d4d28)

4 ETW000                                                                                                 160  0.301372

4 ETW000  [     dev trc,00000]  Assigning user session 1012d4d28 to service context 1012e4d98          34880  0.336252

4 ETW000  [     dev trc,00000]  -->oci_prepare_stmt(con=0, len=52, stp=1012f0758)                        258  0.336510

4 ETW000  [     dev trc,00000]         BEGIN DBMS_APPLICATION_INFO.SET_MODULE(:A0,:A1);END;                                  

4 ETW000                                                                                                 124  0.336634

4 ETW000  [     dev trc,00000]  -  oci_bind   ( 0: SQLT_STR, l=300, con=0, stp=1012f0758, vp=ffffffff7d0934bc,ip=ffffffff7d093340,rlp=0,rcp=0)

4 ETW000                                                                                                 488  0.337122

4 ETW000  [     dev trc,00000]  -  oci_bind   ( 1: SQLT_STR, l=300, con=0, stp=1012f0758, vp=ffffffff7d093390,ip=ffffffff7d093342,rlp=0,rcp=0)

4 ETW000                                                                                                 303  0.337425

4 ETW000  [     dev trc,00000]     CbApplInfoGet() failed (ignored 1).                                   124  0.337549

4 ETW000  [     dev trc,00000]  -->oci_prepare_stmt(con=0, len=54, stp=1012f17b0)                         79  0.337628

4 ETW000  [     dev trc,00000]         BEGIN DBMS_APPLICATION_INFO.SET_CLIENT_INFO(:A0); END;                                

4 ETW000                                                                                                 116  0.337744

4 ETW000  [     dev trc,00000]  -  oci_bind   ( 0: SQLT_STR, l= 20, con=0, stp=1012f17b0, vp=ffffffff7d093344,ip=0,rlp=0,rcp=0)

4 ETW000                                                                                                 208  0.337952

4 ETW000  [     dev trc,00000]  -->oci_execute_stmt(con=0, stp=1012f17b0, iters=1, rowoff=0, dml_batch_errors=0)

4 ETW000                                                                                                 165  0.338117

4 ETW000  [     dev trc,00000]  <--oci_execute_stmt(rc=0, iters-errors = 1-0) [time 0,002s]             2332  0.340449

4 ETW000  [     dev trc,00000]  -->oci_prepare_stmt(con=0, len=0, stp=1012f17b0)                         262  0.340711

4 ETW000  [     dev trc,00000]         SELECT SID FROM V$MYSTAT WHERE ROWNUM<2                                               

4 ETW000                                                                                                 125  0.340836

4 ETW000  [     dev trc,00000]  -->oci_define ( 0: SQLT_INT, l=  4, con=0, stp=1012f17b0, vp=ffffffff7fffee24,ip=ffffffff7fffede6,rlp=0,rcp=0)

4 ETW000                                                                                                 262  0.341098

4 ETW000  [     dev trc,00000]  -->oci_execute_stmt(con=0, stp=1012f17b0, iters=1, rowoff=0, dml_batch_errors=0)

4 ETW000                                                                                                 222  0.341320

4 ETW000  [     dev trc,00000]  <--oci_execute_stmt(rc=0, iters-errors = 1-0) [time 0,001s]             1358  0.342678

4 ETW000  [     dev trc,00000]  Now '/@DEV' is connected: con=0, nls_hdl=0, session_id=71.               105  0.342783

4 ETW000  [     dev trc,00000]  -->oci_prepare_stmt(con=0, len=0, stp=1012f17b0)                         117  0.342900

4 ETW000  [     dev trc,00000]         ALTER SESSION SET NLS_SORT = BINARY                                                   

4 ETW000                                                                                                 122  0.343022

4 ETW000  [     dev trc,00000]  -->oci_execute_stmt(con=0, stp=1012f17b0, iters=1, rowoff=0, dml_batch_errors=0)

4 ETW000                                                                                                 145  0.343167

4 ETW000  [     dev trc,00000]  <--oci_execute_stmt(rc=0, iters-errors = 1-0) [time 0,001s]             1229  0.344396

4 ETW000  [     dev trc,00000]  -->oci_prepare_stmt(con=0, len=0, stp=1012f17b0)                         177  0.344573

4 ETW000  [     dev trc,00000]         SELECT USERID,PASSWD FROM SAPUSER WHERE USERID IN (:A0,:A1)                           

4 ETW000                                                                                                 123  0.344696

4 ETW000  [     dev trc,00000]  -  oci_bind   ( 0: SQLT_STR, l=256, con=0, stp=1012f17b0, vp=ffffffff7d1aed74,ip=0,rlp=0,rcp=0)

4 ETW000                                                                                                 223  0.344919

4 ETW000  [     dev trc,00000]  -  oci_bind   ( 1: SQLT_STR, l=256, con=0, stp=1012f17b0, vp=ffffffff7fffeed0,ip=0,rlp=0,rcp=0)

4 ETW000                                                                                                 125  0.345044

4 ETW000  [     dev trc,00000]  -->oci_define ( 0: SQLT_STR, l=256, con=0, stp=1012f17b0, vp=ffffffff7fffed60,ip=ffffffff7fffefd2,rlp=0,rcp=0)

4 ETW000                                                                                                 144  0.345188

4 ETW000  [     dev trc,00000]  -->oci_define ( 1: SQLT_AFC, l=256, con=0, stp=1012f17b0, vp=ffffffff7fffec60,ip=ffffffff7fffec5e,rlp=0,rcp=0)

4 ETW000                                                                                                 151  0.345339

4 ETW000  [     dev trc,00000]  -->oci_execute_stmt(con=0, stp=1012f17b0, iters=1, rowoff=0, dml_batch_errors=0)

4 ETW000                                                                                                 144  0.345483

4 ETW000  [     dev trc,00000]  <--oci_execute_stmt(rc=0, iters-errors = 1-0) [time 0,001s]             1073  0.346556

4 ETW000  [     dev trc,00000]  Got SAPSR3's password from OPS$-user                                     103  0.346659

4 ETW000  [     dev trc,00000]  Disconnecting from connection 0 ...                                       76  0.346735

4 ETW000  [     dev trc,00000]  Rolling back transaction ...                                             151  0.346886

4 ETW000  [     dev trc,00000]  Closing user session (con=0,svchp=1012e4d98,usrhp=1012d4d28)             575  0.347461

4 ETW000  [     dev trc,00000]  Disconnected (con=0) from ORACLE.                                       2159  0.349620

4 ETW000  [     dev trc,00000]  Connect as 'SAPSR3' with found password from table SAPUSER                80  0.349700

4 ETW000  [     dev trc,00000]  Connecting as SAPSR3/<pwd>@DEV on connection 0 (nls 0) ... (dbsl 700 131011, non-unicode)

4 ETW000                                                                                                 118  0.349818

4 ETW000  [     dev trc,00000]  Assigning username to user session: con=0, usrhp=1012d4d28                72  0.349890

4 ETW000  [     dev trc,00000]  Assigning password to user session: con=0, usrhp=1012d4d28                88  0.349978

4 ETW000  [     dev trc,00000]  Starting user session: OCISessionBegin(con=0, usr=SAPSR3/<pwd>, svchp=1012e4d98, srvhp=1012e7c38, usrhp=1012d4d28)

4 ETW000                                                                                                 145  0.350123

4 ETW000  [     dev trc,00000]     OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR               29531  0.379654

4 ETW000  [     dev trc,00000]     OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017:              164  0.379818

4 ETW000  [     dev trc,00000]     ORA-01017: invalid username/password; logon denied                                        

4 ETW000                                                                                                 122  0.379940

4 ETW000  [    dbsloci.,00000]  *** ERROR => CONNECT failed with sql error '1017'                         79  0.380019

4 ETW000  [     dev trc,00000]     set_ocica() -> SQL error code 1017                                     75  0.380094

4 ETW000  [     dev trc,00000]  -->oci_get_errmsg (con=0, rc=1017)                                       114  0.380208

4 ETW000  [     dev trc,00000]     OCIErrorGet -> SQL error code: 1017                                   113  0.380321

4 ETW000  [     dev trc,00000]     ORA-01017: invalid username/password; logon denied                                        

4 ETW000                                                                                                 119  0.380440

4 ETW000  [    dblink  ,00433]  ***LOG BY2=>sql error 1017   performing CON [dblink#8 @ 433]             251  0.380691

4 ETW000  [    dblink  ,00433]  ***LOG BY0=>ORA-01017: invalid username/password; logon denied [dblink#8 @ 433]

4 ETW000                                                                                                 118  0.380809

2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'DEV'"

Thank you Roman for all your quick responses!!!

Thanks

Sujit

Former Member
0 Kudos

backup sapuser table ( should be 1 line only), then update the password column for SAPSR3 manually using sql and specified same password which used in brtools.

Former Member
0 Kudos

Please check content of SAPUSER table. Login as devadm and in sqlplus

sqlplus /@DEV

SQL> select userid from SAPUSER;

Provide output here.

Regards

Roman

Former Member
0 Kudos

Hi Roman,

Please find the output :

devadm> sqlplus /@DEV

SQL*Plus: Release 10.2.0.2.0 - Production on Tue Sep 25 15:40:16 2012

Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning and Data Mining options

SQL> select userid from SAPUSER;

USERID
--------------------------------------------------------------------------------
SAPSR3

Thanks

Sujit

Former Member
0 Kudos

Hi Henry,

I dropped table SAPUSER and created again and inserted SAPSR3 and respective password.

Then i restarted the database and tried command R3trans -d but still facing the same error.

devadm> R3trans -d

This is R3trans version 6.14 (release 700 - 26.10.11 - 13:00:00).

2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'DEV'"

R3trans finished (0012).

Thanks

Sujit

Former Member
0 Kudos

Please delete all records from SAPUSER table and use brconnect command provided before:

brconnect -u system/<password> -f chpass -o SAPSR3 -p <password>

Please provide actions output.

Regards

Roman

Former Member
0 Kudos

Still invalid username/password? sometimes it turn into account locked, if it is locked, just unlock it. then try login manually in sqlplus using SAPSR3 & its respective password. do R3trans again.

Former Member
0 Kudos

Hi Henry,

I checked and SAPSR3 User iS in unlocked status.

I tried R3trans -d after that and got the same issue.

Thanks

Sujit

achmad_dimyati5
Participant
0 Kudos

HI Sujit,

Please try to run oradbusr.sql and sapdba_role.sql. usually the issue with connection to Oracle with R3trans related with this two scripts.

oradbusr.sql is in note 50088 and sapdba_role.sql is in 134592.

Run as oradev and extract the both files on the main directory (/oracle/DEV)

oradbusr10.ZIP

sapdba_role_ora10.SAR

sqlplus /NOLOG @oradbusr.sql SAPSR3 UNIX DEV x

sqlplus /nolog @sapdba_role SR3

Just to reconfirm could you run this comment

sqlplus /nolog

connect / as sysdba

select username from dba_users;

You should see these four users

OPS$DEVADM

SAPSR3

OPS$SAPSERVICEDEV

OPS$ORADEV

Best Regards,

Achmad

Former Member
0 Kudos

Hi Achmad,

I can see above listed Users when i ran the SQL Command.

please find below output:

devadm> sqlplus /nolog

SQL*Plus: Release 10.2.0.2.0 - Production on Wed Sep 26 16:21:57 2012

Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.

SQL> connect /as sysdba
Connected.
SQL> select username from dba_users;

USERNAME
------------------------------
OUTLN
OPS$DEVADM
OPS$SAPSERVICEDEV
OPS$ORADEV
SYS
SYSTEM
SAPSR3
TSMSYS
DIP
DBSNMP

10 rows selected.

Thanks

Sujit

achmad_dimyati5
Participant
0 Kudos

Hi Sujit,

The script oradbusr.sql and sapdba_role.sql do a lot of things related with SAP connection to DB.

Because all checks here are indicate no issue with SAP Connection to DB.

After those scripts if still got an issue, then I believe the problem resides in something else.

Also one thing, could you run this command one more time:

select username, account_status, lock_date from dba_users;

USERNAME                       ACCOUNT_STATUS                   LOCK_DATE

------------------------------ -------------------------------- ---------------

SYSTEM                              OPEN

SYS                                     OPEN

OPS$DEVADM                     OPEN

SAPSR3                               OPEN

OPS$ORADEV                     OPEN

OPS$SAPSERVICEDEV       OPEN

Makesure got similar like above.

Regards,

Achmad

Former Member
0 Kudos

Hi Achmad,

Please find below output after running the above command:

SQL> select username, account_status, lock_date from dba_users;


USERNAME                       ACCOUNT_STATUS                   LOCK_DATE
------------------------------ -------------------------------- ---------------
OUTLN                          OPEN
OPS$DEVADM                     OPEN
OPS$SAPSERVICEDEV              OPEN
OPS$ORADEV                     OPEN
SYS                            OPEN
SYSTEM                         OPEN
SAPSR3                         OPEN
TSMSYS                         EXPIRED
DIP                            EXPIRED
DBSNMP                         EXPIRED

Thanks

Sujit

Former Member
0 Kudos

Hi Sujit

Please paste the o/p of below command;

SQL> show parameter os_authent_prefix;

Thanks

Former Member
0 Kudos

Hi Marri,

Please find the below output:

SQL> Show parameter os_authent_prefix;

NAME                                 TYPE        VALUE
------------------------------------     ----------- ------------------------------
os_authent_prefix                    string      ops$

Thanks

Sujit

achmad_dimyati5
Participant
0 Kudos

Hi Sujit,


Re-run oradbusr.sql.

please read these notes:

Note 361641 - Creating OPS$ users on UNIX

Note 400241 - Problems with ops$ or sapr3 connect to Oracle

I am not sure why suddenly you lost connection to synonym file of SAPUSER.

Run this sql comment too:

SQL> select * from dba_synonyms where table_name = 'SAPUSER';

You should get these two: 

OPS$SAPSERVICEDEV              SAPUSER

OPS$DEVADM                          SAPUSER

Regards,

Achmad

Former Member
0 Kudos

Hi Achmad,

I checked using below command and i have both the Users present as you mentioned above.

SQL> select * from dba_synonyms where table_name = 'SAPUSER';

Thanks

Sujit

achmad_dimyati5
Participant
0 Kudos

HI Sujit,

Please try to run oradbusr.sql and sapdba_role.sql. usually the issue with connection to Oracle with R3trans related with this two scripts.

oradbusr.sql is in note 50088 and sapdba_role.sql is in 134592.

Run as oradev and extract the both files on the main directory (/oracle/DEV)

oradbusr10.ZIP

sapdba_role_ora10.SAR

sqlplus /NOLOG @oradbusr.sql SAPSR3 UNIX DEV x

sqlplus /nolog @sapdba_role SR3

Just to reconfirm could you run this comment

sqlplus /nolog

connect / as sysdba

select username from dba_users;

You should see these four users

OPS$DEVADM

SAPSR3

OPS$SAPSERVICEDEV

OPS$ORADEV

Best Regards,

Achmad

Former Member
0 Kudos

have you reset ops$devadm password via BRtools? if not, try to do it.

Former Member
0 Kudos

4 ETW000  [     dev trc,00000]         SELECT USERID,PASSWD FROM SAPUSER WHERE USERID IN (:A0,:A1)                          

4 ETW000                                                                                                 121  0.270190

4 ETW000  [     dev trc,00000]  -  oci_bind   ( 0: SQLT_STR, l=256, con=0, stp=1012f1540, vp=ffffffff7d1aed74,ip=0,rlp=0,rcp=0)

4 ETW000                                                                                                 218  0.270408

4 ETW000  [     dev trc,00000]  -  oci_bind   ( 1: SQLT_STR, l=256, con=0, stp=1012f1540, vp=ffffffff7ffff050,ip=0,rlp=0,rcp=0)

4 ETW000                                                                                                 124  0.270532

4 ETW000  [     dev trc,00000]  -->oci_define ( 0: SQLT_STR, l=256, con=0, stp=1012f1540, vp=ffffffff7fffeee0,ip=ffffffff7ffff152,rlp=0,rcp=0)

4 ETW000                                                                                                 147  0.270679

4 ETW000  [     dev trc,00000]  -->oci_define ( 1: SQLT_AFC, l=256, con=0, stp=1012f1540, vp=ffffffff7fffede0,ip=ffffffff7fffedde,rlp=0,rcp=0)

4 ETW000                                                                                                 148  0.270827

4 ETW000  [     dev trc,00000]  -->oci_execute_stmt(con=0, stp=1012f1540, iters=1, rowoff=0, dml_batch_errors=0)

4 ETW000                                                                                                 120  0.270947

4 ETW000  [     dev trc,00000]     OCIStmtExecute() failed with -1=OCI_ERROR                            2367  0.273314

4 ETW000  [     dev trc,00000]     SQL error 942:                                                         76  0.273390

4 ETW000  [     dev trc,00000]     ORA-00942: table or view does not exist                                                   

Please check schema under which this table exists with sqlplus

select owner, table_name from dba_tables where table_name = 'SAPUSER';

Regards

Roman

Former Member
0 Kudos

HI Roman,

The Table SAPUSER is present under OPS$DEVADM schema owner.

Below is the output i got:

select owner, table_name from dba_tables where table_name = 'SAPUSER';

OWNER                          TABLE_NAME
------------------------------ ------------------------------
OPS$DEVADM                     SAPUSER

Thanks

Sujit

Former Member
0 Kudos

Please run R3trans -d as devadm user and post trans.log file again.

Regards

Roman

Former Member
0 Kudos

Hi Roman,

Please find trans.log file after executing command R3trans -d .

4 ETW000 R3trans version 6.14 (release 700 - 26.10.11 - 13:00:00).

4 ETW000 ===============================================

4 ETW000

4 ETW000 date&time   : 21.09.2012 - 19:16:17

4 ETW000 control file: <no ctrlfile>

4 ETW000 R3trans was called as follows: R3trans -d

4 ETW000  trace at level 2 opened for a given file pointer

4 ETW000  [     dev trc,00000]  Fri Sep 21 19:16:17 2012                                                 806  0.000806

4 ETW000  [     dev trc,00000]  db_con_init called                                                        60  0.000866

4 ETW000  [     dev trc,00000]  create_con (con_name=R/3)                                                 76  0.000942

4 ETW000  [     dev trc,00000]  Loading DB library '/usr/sap/DEV/SYS/exe/run/dboraslib.so' ...           153  0.001095

4 ETW000  [     dev trc,00000]  DlLoadLib() success: dlopen("/usr/sap/DEV/SYS/exe/run/dboraslib.so"), hdl 0

4 ETW000                                                                                               76982  0.078077

4 ETW000  [     dev trc,00000]  Library '/usr/sap/DEV/SYS/exe/run/dboraslib.so' loaded                   145  0.078222

4 ETW000  [     dev trc,00000]  function DbSlExpFuns loaded from library /usr/sap/DEV/SYS/exe/run/dboraslib.so

4 ETW000                                                                                                 124  0.078346

4 ETW000  [     dev trc,00000]  Version of '/usr/sap/DEV/SYS/exe/run/dboraslib.so' is "700.08", patchlevel (0.324)

4 ETW000                                                                                                1303  0.079649

4 ETW000  [     dev trc,00000]  function dsql_db_init loaded from library /usr/sap/DEV/SYS/exe/run/dboraslib.so

4 ETW000                                                                                                 113  0.079762

4 ETW000  [     dev trc,00000]  function dbdd_exp_funs loaded from library /usr/sap/DEV/SYS/exe/run/dboraslib.so

4 ETW000                                                                                                 320  0.080082

4 ETW000  [     dev trc,00000]  New connection 0 created                                                 125  0.080207

4 ETW000  [     dev trc,00000]  000: name = R/3, con_id = -000000001, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,

4 ETW000                             reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO

4 ETW000                                                                                                 174  0.080381

4 ETW000  [     dev trc,00000]  db_con_connect (con_name=R/3)                                            201  0.080582

4 ETW000  [     dev trc,00000]  find_con_by_name found the following connection for reuse:                73  0.080655

4 ETW000  [     dev trc,00000]  000: name = R/3, con_id = 000000000, state = DISCONNECTED, tx = NO , hc = NO , perm = YES,

4 ETW000                             reco = NO , frco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO

4 ETW000                                                                                                 164  0.080819

4 ETW000  [     dev trc,00000]  -->oci_init1                                                             836  0.081655

4 ETW000  [     dev trc,00000]  Oracle Client Version: '10.2.0.2.0', (dbsl 700 131011, non-unicode)      308  0.081963

4 ETW000  [     dev trc,00000]    Default connection: tnsname ='DEV'                                      76  0.082039

4 ETW000  [     dev trc,00000]  -->oci_initialize(con=0, char='WE8DEC', nchar='AL16UTF16', uc_ln=1)      129  0.082168

4 ETW000  [     dev trc,00000]  Application info callback registered.                                     76  0.082244

4 ETW000  [     dev trc,00000]  OCIEnvCreate(mode=0=OCI_DEFAULT) returned 0 (for default NLS handle)

4 ETW000                                                                                               14367  0.096611

4 ETW000  [     dev trc,00000]     OCIHandleAlloc(OCI_HTYPE_ERROR, con=0, ErrHp=1012d42a0)               162  0.096773

4 ETW000  [     dev trc,00000]     OCIHandleAlloc(OCI_HTYPE_ERROR, con=0, ErrBt=1012e4bf8)               109  0.096882

4 ETW000  [     dev trc,00000]  NLS env.: lang=414D45524943414E                                          429  0.097311

4 ETW000  [     dev trc,00000]            terr=414D4552494341                                             86  0.097397

4 ETW000  [     dev trc,00000]            char=55544638                                                   76  0.097473

4 ETW000  [     dev trc,00000]  Client NLS setting (by OCINlsGetInfo): con=0, 'AMERICAN_AMERICA.UTF8'

4 ETW000                                                                                                 111  0.097584

4 ETW000  [     dev trc,00000]  charset='WE8DEC', ncharset='AL16UTF16', UNI_ASC=FALSE                     68  0.097652

4 ETW000  [     dev trc,00000]     default client setting: NLS_CHAR=charset='UTF8'                        71  0.097723

4 ETW000  [     dev trc,00000]  Logon as OPS$-user to get SAPSR3's password                              123  0.097846

4 ETW000  [     dev trc,00000]  Connecting as /@DEV on connection 0 (nls 0) ... (dbsl 700 131011, non-unicode)

4 ETW000                                                                                                 142  0.097988

4 ETW000  [     dev trc,00000]  Allocating service context handle for con=0                              235  0.098223

4 ETW000  [     dev trc,00000]  Allocating server context handle                                          92  0.098315

4 ETW000  [     dev trc,00000]  Attaching to DB Server DEV (con=0,svchp=1012e4b28,srvhp=1012e79c8)       169  0.098484

4 ETW000  [     dev trc,00000]  Assigning server context 1012e79c8 to service context 1012e4b28       117845  0.216329

4 ETW000  [     dev trc,00000]  Allocating user session handle                                           145  0.216474

4 ETW000  [     dev trc,00000]  Starting user session: OCISessionBegin(con=0, usr='/',svchp=1012e4b28, srvhp=1012e79c8, usrhp=1012d4ab8)

4 ETW000                                                                                                 162  0.216636

4 ETW000  [     dev trc,00000]  Assigning user session 1012d4ab8 to service context 1012e4b28         166260  0.382896

4 ETW000  [     dev trc,00000]  -->oci_prepare_stmt(con=0, len=52, stp=1012f04e8)                        271  0.383167

4 ETW000  [     dev trc,00000]         BEGIN DBMS_APPLICATION_INFO.SET_MODULE(:A0,:A1);END;                                  

4 ETW000                                                                                                 124  0.383291

4 ETW000  [     dev trc,00000]  -  oci_bind   ( 0: SQLT_STR, l=300, con=0, stp=1012f04e8, vp=ffffffff7d0934bc,ip=ffffffff7d093340,rlp=0,rcp=0)

4 ETW000                                                                                                 495  0.383786

4 ETW000  [     dev trc,00000]  -  oci_bind   ( 1: SQLT_STR, l=300, con=0, stp=1012f04e8, vp=ffffffff7d093390,ip=ffffffff7d093342,rlp=0,rcp=0)

4 ETW000                                                                                                 211  0.383997

4 ETW000  [     dev trc,00000]     CbApplInfoGet() failed (ignored 1).                                   122  0.384119

4 ETW000  [     dev trc,00000]  -->oci_prepare_stmt(con=0, len=54, stp=1012f1540)                         80  0.384199

4 ETW000  [     dev trc,00000]         BEGIN DBMS_APPLICATION_INFO.SET_CLIENT_INFO(:A0); END;                                

4 ETW000                                                                                                 116  0.384315

4 ETW000  [     dev trc,00000]  -  oci_bind   ( 0: SQLT_STR, l= 20, con=0, stp=1012f1540, vp=ffffffff7d093344,ip=0,rlp=0,rcp=0)

4 ETW000                                                                                                 206  0.384521

4 ETW000  [     dev trc,00000]  -->oci_execute_stmt(con=0, stp=1012f1540, iters=1, rowoff=0, dml_batch_errors=0)

4 ETW000                                                                                                 164  0.384685

4 ETW000  [     dev trc,00000]  <--oci_execute_stmt(rc=0, iters-errors = 1-0) [time 0,060s]            59719  0.444404

4 ETW000  [     dev trc,00000]  -->oci_prepare_stmt(con=0, len=0, stp=1012f1540)                         319  0.444723

4 ETW000  [     dev trc,00000]         SELECT SID FROM V$MYSTAT WHERE ROWNUM<2                                               

4 ETW000                                                                                                 125  0.444848

4 ETW000  [     dev trc,00000]  -->oci_define ( 0: SQLT_INT, l=  4, con=0, stp=1012f1540, vp=ffffffff7fffee94,ip=ffffffff7fffee56,rlp=0,rcp=0)

4 ETW000                                                                                                 281  0.445129

4 ETW000  [     dev trc,00000]  -->oci_execute_stmt(con=0, stp=1012f1540, iters=1, rowoff=0, dml_batch_errors=0)

4 ETW000                                                                                                 224  0.445353

4 ETW000  [     dev trc,00000]  Fri Sep 21 19:16:18 2012                                               54878  0.500231

4 ETW000  [     dev trc,00000]  <--oci_execute_stmt(rc=0, iters-errors = 1-0) [time 0,055s]               78  0.500309

4 ETW000  [     dev trc,00000]  Now '/@DEV' is connected: con=0, nls_hdl=0, session_id=74.               108  0.500417

4 ETW000  [     dev trc,00000]  -->oci_prepare_stmt(con=0, len=0, stp=1012f1540)                         128  0.500545

4 ETW000  [     dev trc,00000]         ALTER SESSION SET NLS_SORT = BINARY                                                   

4 ETW000                                                                                                 121  0.500666

4 ETW000  [     dev trc,00000]  -->oci_execute_stmt(con=0, stp=1012f1540, iters=1, rowoff=0, dml_batch_errors=0)

4 ETW000                                                                                                 163  0.500829

4 ETW000  [     dev trc,00000]  <--oci_execute_stmt(rc=0, iters-errors = 1-0) [time 0,002s]             2387  0.503216

4 ETW000  [     dev trc,00000]  -->oci_prepare_stmt(con=0, len=0, stp=1012f1540)                         157  0.503373

4 ETW000  [     dev trc,00000]         SELECT USERID,PASSWD FROM SAPUSER WHERE USERID IN (:A0,:A1)                           

4 ETW000                                                                                                 122  0.503495

4 ETW000  [     dev trc,00000]  -  oci_bind   ( 0: SQLT_STR, l=256, con=0, stp=1012f1540, vp=ffffffff7d1aed74,ip=0,rlp=0,rcp=0)

4 ETW000                                                                                                 226  0.503721

4 ETW000  [     dev trc,00000]  -  oci_bind   ( 1: SQLT_STR, l=256, con=0, stp=1012f1540, vp=ffffffff7fffef40,ip=0,rlp=0,rcp=0)

4 ETW000                                                                                                 131  0.503852

4 ETW000  [     dev trc,00000]  -->oci_define ( 0: SQLT_STR, l=256, con=0, stp=1012f1540, vp=ffffffff7fffedd0,ip=ffffffff7ffff042,rlp=0,rcp=0)

4 ETW000                                                                                                 150  0.504002

4 ETW000  [     dev trc,00000]  -->oci_define ( 1: SQLT_AFC, l=256, con=0, stp=1012f1540, vp=ffffffff7fffecd0,ip=ffffffff7fffecce,rlp=0,rcp=0)

4 ETW000                                                                                                 155  0.504157

4 ETW000  [     dev trc,00000]  -->oci_execute_stmt(con=0, stp=1012f1540, iters=1, rowoff=0, dml_batch_errors=0)

4 ETW000                                                                                                 122  0.504279

4 ETW000  [     dev trc,00000]     OCIStmtExecute() failed with -1=OCI_ERROR                            4103  0.508382

4 ETW000  [     dev trc,00000]     SQL error 942:                                                         76  0.508458

4 ETW000  [     dev trc,00000]     ORA-00942: table or view does not exist                                                   

4 ETW000                                                                                                 158  0.508616

4 ETW000  [     dev trc,00000]  <--oci_execute_stmt(rc=942, iters-errors = 1-0) [time 0,004s]             77  0.508693

4 ETW000  [    dbsloci.,00000]  *** ERROR => ORA-942 when accessing table SAPUSER                        103  0.508796

4 ETW000  [     dev trc,00000]     set_ocica() -> SQL error code 942                                      79  0.508875

4 ETW000  [     dev trc,00000]  -->oci_get_errmsg (con=0, rc=942)                                        117  0.508992

4 ETW000  [     dev trc,00000]     OCIErrorGet -> SQL error code: 942                                     81  0.509073

4 ETW000  [     dev trc,00000]     ORA-00942: table or view does not exist                                                   

4 ETW000                                                                                                 115  0.509188

4 ETW000  [     dev trc,00000]  Disconnecting from connection 0 ...                                       90  0.509278

4 ETW000  [     dev trc,00000]  Rolling back transaction ...                                             150  0.509428

4 ETW000  [     dev trc,00000]  Closing user session (con=0,svchp=1012e4b28,usrhp=1012d4ab8)             509  0.509937

4 ETW000  [     dev trc,00000]  Disconnected (con=0) from ORACLE.                                       2692  0.512629

4 ETW000  [     dev trc,00000]  Info: 99=DBSL_ERR_DB, oerr=942, try to connect with default password.

4 ETW000                                                                                                 153  0.512782

4 ETW000  [     dev trc,00000]  Connecting as SAPSR3/<pwd>@DEV on connection 0 (nls 0) ... (dbsl 700 131011, non-unicode)

4 ETW000                                                                                                 114  0.512896

4 ETW000  [     dev trc,00000]  Assigning username to user session: con=0, usrhp=1012d4ab8                92  0.512988

4 ETW000  [     dev trc,00000]  Assigning password to user session: con=0, usrhp=1012d4ab8                89  0.513077

4 ETW000  [     dev trc,00000]  Starting user session: OCISessionBegin(con=0, usr=SAPSR3/<pwd>, svchp=1012e4b28, srvhp=1012e79c8, usrhp=1012d4ab8)

4 ETW000                                                                                                 129  0.513206

4 ETW000  [     dev trc,00000]     OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR               44039  0.557245

4 ETW000  [     dev trc,00000]     OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017:              101  0.557346

4 ETW000  [     dev trc,00000]     ORA-01017: invalid username/password; logon denied                                        

4 ETW000                                                                                                 117  0.557463

4 ETW000  [    dbsloci.,00000]  *** ERROR => CONNECT failed with sql error '1017'                        107  0.557570

4 ETW000  [     dev trc,00000]     set_ocica() -> SQL error code 1017                                     74  0.557644

4 ETW000  [     dev trc,00000]  -->oci_get_errmsg (con=0, rc=1017)                                        74  0.557718

4 ETW000  [     dev trc,00000]     OCIErrorGet -> SQL error code: 1017                                    77  0.557795

4 ETW000  [     dev trc,00000]     ORA-01017: invalid username/password; logon denied                                        

4 ETW000                                                                                                 114  0.557909

4 ETW000  [    dblink  ,00433]  ***LOG BY2=>sql error 1017   performing CON [dblink#8 @ 433]             268  0.558177

4 ETW000  [    dblink  ,00433]  ***LOG BY0=>ORA-01017: invalid username/password; logon denied [dblink#8 @ 433]

4 ETW000                                                                                                 120  0.558297

2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'DEV'"

former_member189546
Active Contributor
0 Kudos

Hello,

For error...

***LOG BY0=>ORA-01017: invalid username/password

Please check

400241 (ORA-01017: invalid username/password; logon denied)

regards,

John Feely

Former Member
0 Kudos

Hi John,

I have changed the password for SAPSR3 using BRTOOLS option but still facing same issue.

Thanks

Sujit

Former Member
0 Kudos

Hi Sujit

If your OS is Windows..

Have you changed any OS level User(SIDADM) password.

Thanks

Mahipal

Former Member
0 Kudos

Hi Mahipal,

We are having Operating System as Solaris 5.10 .

I haven't changed SIDADM password.

Thanks

Sujit

Former Member
0 Kudos

Hello,

In addition to above suggetions,

1)  check whether oracle parameter REMOTE_OS_AUTHENT = TRUE is set, I had this problem for one of my systems and also

2) Eensure env variable dbs_ora_schema is set correctly.

Regards,

Vishal

Former Member
0 Kudos

Hi Sujit,

Please check whether database files present in global as well as local path are same or not.

This error is due to mismatched DBSL files in local and global path. Check from profile parameter for correct path of local and global kernel directory. I faced same error 2 days back.

Regards,

Surojit

Former Member
0 Kudos

Hi Surojit,

Can you tell me exactly what i need to check.

Please let me know if you want me to paste here the Environment variable PATH  for the O.S.  Users.

Thanks

Sujit

Former Member
0 Kudos

Hi Sujit

Please check the ./disp+work from <sidadm> user in both global kernel path as well as local kernel path.

Have you put correct DB SAR file in kernel? Seems some DB kernel files mismatching.

please check dbsl file patch in both directory as well. because error seems to be in oci_execute_stmt which is related to DBSL files.

Regards,

Surojit

ashish_vikas
Active Contributor
0 Kudos
Former Member
0 Kudos

Hi Ashish,

Thank you for your reply.

I went through the note and maintained parameter "os_authent_prefix= ops$" in initdev.ora parameter file and restarted the databse but when i execute R3trans -d again geeting same error.

Please help.

Thanks

Sujit

JPReyes
Active Contributor
0 Kudos

This is a problem with the OPS$ Users  follow SAP Note 400241 - Problems with ops$ or sapr3 connect to Oracle

Regards, Juan

Former Member
0 Kudos

Hi Juan,

Thank You for your quick response.

As per the note i maintained    Parameter "os_authent_prefix= ops$" in initSID.ora parameter file and restarted the database but getting the same error again.

Also checked  SAPUSER table exists in the database and OPS$DEVADM User also exists in the database.

Any other suggestions please..

Thanks

Sujit