cancel
Showing results for 
Search instead for 
Did you mean: 

SAP is not coming up after system refresh with Export/Import option

Former Member
0 Kudos

Hi,

I have exported Java 6.40 and finished the refresh successfully. And I imported the Java successfully. After importing Java, I restarted SAP but is not coming up. When I checked the dev_w0 trace file, I got the following information.

-


-


trc file: "dev_w0", trc level: 1, release: "640"

-


*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, M

*

B

B Wed Aug 05 10:48:17 2009

B create_con (con_name=R/3)

B Loading DB library 'F:\usr\sap\IDS\SYS\exe\run\dboraslib.dll' ...

B Library 'F:\usr\sap\IDS\SYS\exe\run\dboraslib.dll' loaded

B Version of 'F:\usr\sap\IDS\SYS\exe\run\dboraslib.dll' is "640.00", patchlevel (0.220)

B New connection 0 created

M sysno 00

M sid IDS

M systemid 560 (PC with Windows NT)

M relno 6400

M patchlevel 0

M patchno 247

M intno 20020600

M make: multithreaded, Unicode

M pid 844

M

M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 844) [dpxxdisp.c 1170]

I MtxInit: -2 0 0

M DpSysAdmExtCreate: ABAP is active

M DpShMCreate: sizeof(wp_adm) 20328 (1452)

M DpShMCreate: sizeof(tm_adm) 2969176 (14772)

M DpShMCreate: sizeof(wp_ca_adm) 24000 (80)

M DpShMCreate: sizeof(appc_ca_adm) 8000 (80)

M DpShMCreate: sizeof(comm_adm) 290000 (580)

M DpShMCreate: sizeof(vmc_adm) 0 (424)

M DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)

M DpShMCreate: SHM_DP_ADM_KEY (addr: 05FE0040, size: 3391480)

M DpShMCreate: allocated sys_adm at 05FE0040

M DpShMCreate: allocated wp_adm at 05FE1B88

M DpShMCreate: allocated tm_adm_list at 05FE6AF0

M DpShMCreate: allocated tm_adm at 05FE6B18

M DpShMCreate: allocated wp_ca_adm at 062BB970

M DpShMCreate: allocated appc_ca_adm at 062C1730

M DpShMCreate: allocated comm_adm_list at 062C3670

M DpShMCreate: allocated comm_adm at 062C3688

M DpShMCreate: allocated vmc_adm_list at 0630A358

M DpShMCreate: system runs without vmc_adm

M DpShMCreate: allocated ca_info at 0630A380

M DpShMCreate: allocated wall_adm at 0630A388

M ThTaskStatus: rdisp/reset_online_during_debug 0

X EmInit: MmSetImplementation( 2 ).

X <ES> client 0 initializing ....

X Using implementation flat

M <EsNT> Memory Reset disabled as NT default

X ES initialized.

M

M Wed Aug 05 10:48:18 2009

M calling db_connect ...

C Prepending e:\oracle\IDS to Path.

C got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment

C Client NLS settings: AMERICAN_AMERICA.UTF8

C Logon as OPS$-user to get SAPIDS's password

C Connecting as /@IDS on connection 0 (nls_hdl 0) ... (dbsl 640 070308)

C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch

C 0 UTF8 1 05B17398 05B1C458 05B1BEC0

C Attaching to DB Server IDS (con_hdl=0,svchp=05B1BE14,srvhp=05B1CA84)

C Starting user session (con_hdl=0,svchp=05B1BE14,srvhp=05B1CA84,usrhp=05B256B8)

C *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017

[dboci.c 4508]

C *** ERROR => CONNECT failed with sql error '1017'

[dbsloci.c 11395]

C Try to connect with default password

C Connecting as SAPIDS/<pwd>@IDS on connection 0 (nls_hdl 0) ... (dbsl 640 070308)

C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch

C 0 UTF8 1 05B17398 05B1C458 05B1BEC0

C Starting user session (con_hdl=0,svchp=05B1BE14,srvhp=05B1CA84,usrhp=05B256B8)

C *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017

[dboci.c 4508]

C *** ERROR => CONNECT failed with sql error '1017'

[dbsloci.c 11395]

B ***LOG BY2=> sql error 1017 performing CON [dbsh#3 @ 1204] [dbsh 1204 ]

B ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dbsh#3 @ 1204] [dbsh 1204 ]

B ***LOG BY2=> sql error 1017 performing CON [dblink#3 @ 428] [dblink 0428 ]

B ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dblink#3 @ 428] [dblink 0428 ]

M ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c 1283]

M in_ThErrHandle: 1

M *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 9708]

M

M Info for wp 0

M

M stat = 4

M reqtype = 1

M act_reqtype = -1

M rq_info = 0

M tid = -1

M mode = 255

M len = -1

M rq_id = 65535

M rq_source = 255

M last_tid = 0

M last_mode = 0

M int_checked_resource(RFC) = 0

M ext_checked_resource(RFC) = 0

M int_checked_resource(HTTP) = 0

M ext_checked_resource(HTTP) = 0

M report = > <

M action = 0

M tab_name = > <

M

M *****************************************************************************

M *

M * LOCATION SAP-Server ord-sapproj_IDS_00 on host ord-sapproj (wp 0)

M * ERROR tskh_init: db_connect

M *

M * TIME Wed Aug 05 10:48:18 2009

M * RELEASE 640

M * COMPONENT Taskhandler

M * VERSION 1

M * RC 13

M * MODULE thxxhead.c

M * LINE 9893

M * COUNTER 1

M *

M *****************************************************************************

M

M PfStatDisconnect: disconnect statistics

M Entering TH_CALLHOOKS

M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP

M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 730]

M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 255]

M Entering ThSetStatError

M Entering ThReadDetachMode

M call ThrShutDown (1)...

M ***LOG Q02=> wp_halt, WPStop (Workproc 0 844) [dpnttool.c 357]

-


I have checked database connectivity with the command 'r3trans -d', it got finished with the return code 0012 and the trace.log file is showing the following information.

=======================================

4 ETW000 r3trans version 6.13 (release 640 - 17.07.08 - 08:11:00).

4 ETW000 unicode enabled version

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

4 ETW000

4 ETW000 date&time : 05.08.2009 - 10:52:31

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] Wed Aug 05 10:52:34 2009 0.000000

4 ETW000 [dev trc ,00000] db_con_init called 0.000000

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

4 ETW000 [dev trc ,00000] Loading DB library 'dboraslib.dll' ... 0.000000

4 ETW000 [dev trc ,00000] load shared library (dboraslib.dll), hdl 0 8449 0.008449

4 ETW000 [dev trc ,00000] using "f:\usr\sap\IDS\SYS\exe\run\dboraslib.dll"

4 ETW000 37 0.008486

4 ETW000 [dev trc ,00000] Library 'dboraslib.dll' loaded 18 0.008504

4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library dboraslib.dll

4 ETW000 27 0.008531

4 ETW000 [dev trc ,00000] Version of 'dboraslib.dll' is "640.00", patchlevel (0.220)

4 ETW000 219 0.008750

4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library dboraslib.dll

4 ETW000 27 0.008777

4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library dboraslib.dll

4 ETW000 36 0.008813

4 ETW000 [dev trc ,00000] New connection 0 created 26 0.008839

4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO

4 ETW000 34 0.008873

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

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

4 ETW000 25 0.008920

4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO

4 ETW000 32 0.008952

4 ETW000 [dev trc ,00000] Setting DIR_CLIENT_ORAHOME is not set as environment variable,

4 ETW000 assuming using instant client with unspecified location.

4 ETW000 227 0.009179

4 ETW000 [dev trc ,00000] -->oci_initialize (con_hdl=0) 130 0.009309

4 ETW000 [dev trc ,00000] got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment

4 ETW000 32 0.009341

4 ETW000 [dev trc ,00000] Client NLS settings: AMERICAN_AMERICA.UTF8 23827 0.033168

4 ETW000 [dev trc ,00000] Logon as OPS$-user to get SAPIDS's password 34 0.033202

4 ETW000 [dev trc ,00000] Connecting as /@IDS on connection 0 (nls_hdl 0) ... (dbsl 640 070308)

4 ETW000 35 0.033237

4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch

4 ETW000 32 0.033269

4 ETW000 [dev trc ,00000] 0 UTF8 1 0253CDB0 02541E18 02541880

4 ETW000 112 0.033381

4 ETW000 [dev trc ,00000] Allocating service context handle for con_hdl=0 29 0.033410

4 ETW000 [dev trc ,00000] Allocating server context handle 25 0.033435

4 ETW000 [dev trc ,00000] Attaching to DB Server IDS (con_hdl=0,svchp=025417D4,srvhp=025423DC)

4 ETW000 51 0.033486

4 ETW000 [dev trc ,00000] Assigning server context 025423DC to service context 025417D4

4 ETW000 41860 0.075346

4 ETW000 [dev trc ,00000] Allocating user session handle 47 0.075393

4 ETW000 [dev trc ,00000] Starting user session (con_hdl=0,svchp=025417D4,srvhp=025423DC,usrhp=0254AFA8)

4 ETW000 50 0.075443

4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017

4 ETW000 4381 0.079824

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

4 ETW000 31 0.079855

4 ETW000 [dev trc ,00000] set_ocica() -> OCI or SQL return code 1017 23 0.079878

4 ETW000 [dev trc ,00000] Try to connect with default password 80 0.079958

4 ETW000 [dev trc ,00000] Connecting as SAPIDS/<pwd>@IDS on connection 0 (nls_hdl 0) ... (dbsl 640 070308)

4 ETW000 28 0.079986

4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch

4 ETW000 31 0.080017

4 ETW000 [dev trc ,00000] 0 UTF8 1 0253CDB0 02541E18 02541880

4 ETW000 32 0.080049

4 ETW000 [dev trc ,00000] Assigning username to user session 0254AFA8 19 0.080068

4 ETW000 [dev trc ,00000] Assigning password to user session 0254AFA8 25 0.080093

4 ETW000 [dev trc ,00000] Starting user session (con_hdl=0,svchp=025417D4,srvhp=025423DC,usrhp=0254AFA8)

4 ETW000 32 0.080125

4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017

4 ETW000 1691 0.081816

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

4 ETW000 28 0.081844

4 ETW000 [dev trc ,00000] set_ocica() -> OCI or SQL return code 1017 18 0.081862

4 ETW000 [dblink ,00428] ***LOG BY2=>sql error 1017 performing CON [dblink#3 @ 428]

4 ETW000 119 0.081981

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

4 ETW000 30 0.082011

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

=================================================================================

Kindly suggest me the solution to resolve the issue.

Thanks & regards,

Mogileeswar

Accepted Solutions (0)

Answers (2)

Answers (2)

JPReyes
Active Contributor
0 Kudos

ORA-01017: invalid username/password; logon denied

Seems like a problem with the $OPS users

Read SAP Note 400241, that should fix the problem

Regards

Juan

PS: Rishi was a tad quicker than me 😄

Former Member
0 Kudos

Please check the logs it is clrerly mentioned thet your sapsystem is not able to connect to database.

ERROR => CONNECT failed with sql error '1017' [dbsloci.c 11395] B ***LOG BY2=> sql error 1017 performing CON [dbsh#3 @ 1204] [dbsh 1204 ] B ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dbsh#3 @ 1204] [dbsh 1204 ] B ***LOG BY2=> sql error 1017 performing CON [dblink#3 @ 428] [dblink 0428 ] B ***LOG BY0=> ORA-01017: invalid username/password

Check the Note------Note 713685 - Hom./Het.System Copy SAP Web AS 6.40

run these commands:

brconnect -u / -c -l E -f chpass -o SAPSR3 -password whatever_you_want

sqlplus /nolog @sapdba_role.sql SID NT

Also check the parameter DBS_ORA_SCHEMA is set to SAPSR3.

Also read note 400241.

Thanks

Rishi Abrol