cancel
Showing results for 
Search instead for 
Did you mean: 

System Refresh Win+Ora

arya_biswas
Participant
0 Kudos

Hi,

I have a problem.

For checking our PRD online backup and make a proper test system, we have restored the online backup in our QAS system doing the pre-steps as per guide.

Now the db is up and running, SAP is going up but the dispatcher could not start.

We are getting the following:

1.While running r3trans(version 6.13) it is getting return code 0012.

2.command: select username from dba_users;

output :

SYS

SYSTEM

OUTLN

DBSNMP

OPS$SAPPRD\PRDADM

SAPPRD

OPS$SAPPRD\SAPSERVICEPRD

OPS$QASADM

OPS$ORAQAS

OPS$SAPQAS\QASADM

SAPQAS

OPS$PRDADM

OPS$ORAPRD

3.command : select owner from dba_tables where table_name='SAPUSER';

output : OPS$QASADM

4.command: select * from OPS$QASADM.SAPUSER;

output : USERID - SAPPRD | PASSWD - *******

(Password has been changed using BrTools.)

Source system: PRD WIN2K3, Oracle 9.2, SAP ECC 5.0

Target System QAS Win 2K, Oracle 9.2, SAP ECC 5.0

--

//Arya

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please follow the note 361641 & execute the sql scripty oradbusr.sql attached in 50088

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

1. Please drop(remove) all PRD related db user, keep only QAS related user.

2. Check the correct privilege and grant for ops$ users.

3. Refer SAP notes with keyword "OPS$ issue"

4. Run R3trans -d and check the trans.log

5. Check the status of oracle listner.

Thanks,

Subrata

arya_biswas
Participant
0 Kudos

Hi Subrata,

Thanks for your reply.

We have already tried the points pointed out by you. But facing some difficulty. Our points are written in bold letters.

1. Please drop(remove) all PRD related db user, keep only QAS related user.

Whenever we tried to delete the PRD DB users the system could not perform it and nothing is coming. We have to end the cmd session forcefully.

2. Check the correct privilege and grant for ops$ users.

Provided all the OPS$ privileges.

3. Refer SAP notes with keyword "OPS$ issue"

used nearly all the tricks as per SAP notes.

4. Run R3trans -d and check the trans.log

log is getting 0012 error.

5. Check the status of oracle listner.

It is working fine.

Please put some more light. I'm very new to Oracle.

//Arya

Former Member
0 Kudos

Hi,

Copy paste the error logs in dev_disp and dev_w0.

Regards,

Vishnu.

arya_biswas
Participant
0 Kudos

Hi Vishnu,

LOG: dev_w0

-


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

-


*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, M

*

B

B Sat Jan 01 20:16:27 2011

B create_con (con_name=R/3)

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

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

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

B New connection 0 created

M sysno 00

M sid qas

M systemid 560 (PC with Windows NT)

M relno 6400

M patchlevel 0

M patchno 71

M intno 20020600

M make: multithreaded, ASCII

M pid 3356

M

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

I MtxInit: -2 0 0

M DpSysAdmExtCreate: ABAP is active

M

M Sat Jan 01 20:16:28 2011

M DpShMCreate: sizeof(wp_adm) 11592 (828)

M DpShMCreate: sizeof(tm_adm) 2219848 (11044)

M DpShMCreate: sizeof(wp_ca_adm) 18000 (60)

M DpShMCreate: sizeof(appc_ca_adm) 6000 (60)

M DpShMCreate: sizeof(comm_adm) 192000 (384)

M DpShMCreate: sizeof(vmc_adm) 0 (320)

M DpShMCreate: sizeof(wall_adm) (22440/34344/56/100)

M DpShMCreate: SHM_DP_ADM_KEY (addr: 071E0040, size: 2510384)

M DpShMCreate: allocated sys_adm at 071E0040

M DpShMCreate: allocated wp_adm at 071E17A8

M DpShMCreate: allocated tm_adm_list at 071E44F0

M DpShMCreate: allocated tm_adm at 071E4518

M DpShMCreate: allocated wp_ca_adm at 07402460

M DpShMCreate: allocated appc_ca_adm at 07406AB0

M DpShMCreate: allocated comm_adm_list at 07408220

M DpShMCreate: allocated comm_adm at 07408238

M DpShMCreate: allocated vmc_adm_list at 07437038

M DpShMCreate: system runs without vmc_adm

M DpShMCreate: allocated ca_info at 07437060

M DpShMCreate: allocated wall_adm at 07437068

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 Sat Jan 01 20:16:29 2011

M calling db_connect ...

C Got ORACLE_HOME=F:\oracle\QAS\ora92 from environment

C

C Sat Jan 01 20:16:30 2011

C Client NLS settings: AMERICAN_AMERICA.WE8DEC

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

C Connecting as /@QAS on connection 0 (nls_hdl 0) ...

C Nls Characterset Natcharacterset C EnvHp ErrHp ErrHpBatch

C 0 1 051BFE98 098FB2A8 098FAD10

C Attaching to DB Server QAS (con_hdl=0,svchp=098FAC64,svrhp=051C44B4)

C

C Sat Jan 01 20:16:57 2011

C Starting user session (con_hdl=0,svchp=098FAC64,srvhp=051C44B4,usrhp=051CCCC8)

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

[dboci.c 4176]

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

[dbsloci.c 9891]

C Try to connect with default password

C Connecting as SAPPRD/<pwd>@QAS on connection 0 (nls_hdl 0) ...

C Nls Characterset Natcharacterset C EnvHp ErrHp ErrHpBatch

C 0 1 051BFE98 098FB2A8 098FAD10

C Starting user session (con_hdl=0,svchp=098FAC64,srvhp=051C44B4,usrhp=051CCCC8)

C

C Sat Jan 01 20:16:58 2011

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

[dboci.c 4176]

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

[dbsloci.c 9891]

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

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

B ***LOG BY2=> sql error 1017 performing CON [dblink#2 @ 419] [dblink 0419 ]

B ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dblink#2 @ 419] [dblink 0419 ]

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

M in_ThErrHandle: 1

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

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 sapqas_qas_00 on host sapqas (wp 0)

M * ERROR tskh_init: db_connect

M *

M * TIME Sat Jan 01 20:16:58 2011

M * RELEASE 640

M * COMPONENT Taskhandler

M * VERSION 1

M * RC 13

M * MODULE thxxhead.c

M * LINE 9637

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 252]

M Entering ThSetStatError

M Entering ThReadDetachMode

M call ThrShutDown (1)...

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

//Arya

arya_biswas
Participant
0 Kudos

Hi Vishnu,

LOG : dev_disp

-


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

-


Sat Jan 01 20:16:20 2011

kernel runs with dp version 128(ext=102) (@(#) DPLIB-INT-VERSION-128)

length of sys_adm_ext is 312 bytes

sysno 00

sid qas

systemid 560 (PC with Windows NT)

relno 6400

patchlevel 0

patchno 71

intno 20020600

make: multithreaded, ASCII

pid 2576

***LOG Q00=> DpSapEnvInit, DPStart (00 2576) [dpxxdisp.c 1098]

shared lib "dw_xml.dll" version 71 successfully loaded

shared lib "dw_xtc.dll" version 71 successfully loaded

shared lib "dw_stl.dll" version 71 successfully loaded

shared lib "dw_gui.dll" version 71 successfully loaded

Sat Jan 01 20:16:25 2011

      • WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds

***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 3873]

MtxInit: -2 0 0

DpSysAdmExtInit: ABAP is active

DpShMCreate: sizeof(wp_adm) 11592 (828)

DpShMCreate: sizeof(tm_adm) 2219848 (11044)

DpShMCreate: sizeof(wp_ca_adm) 18000 (60)

DpShMCreate: sizeof(appc_ca_adm) 6000 (60)

DpShMCreate: sizeof(comm_adm) 192000 (384)

DpShMCreate: sizeof(vmc_adm) 0 (320)

DpShMCreate: sizeof(wall_adm) (22440/34344/56/100)

DpShMCreate: SHM_DP_ADM_KEY (addr: 069E0040, size: 2510384)

DpShMCreate: allocated sys_adm at 069E0040

DpShMCreate: allocated wp_adm at 069E17A8

DpShMCreate: allocated tm_adm_list at 069E44F0

DpShMCreate: allocated tm_adm at 069E4518

DpShMCreate: allocated wp_ca_adm at 06C02460

DpShMCreate: allocated appc_ca_adm at 06C06AB0

DpShMCreate: allocated comm_adm_list at 06C08220

DpShMCreate: allocated comm_adm at 06C08238

DpShMCreate: allocated vmc_adm_list at 06C37038

DpShMCreate: system runs without vmc_adm

DpShMCreate: allocated ca_info at 06C37060

DpShMCreate: allocated wall_adm at 06C37068

MBUF state OFF

EmInit: MmSetImplementation( 2 ).

<ES> client 0 initializing ....

<ES> InitFreeList

<ES> block size is 1024 kByte.

Using implementation flat

<EsNT> Memory Reset disabled as NT default

<ES> 1022 blocks reserved for free list.

ES initialized.

Sat Jan 01 20:16:26 2011

rdisp/http_min_wait_dia_wp : 1 -> 1

Sat Jan 01 20:16:27 2011

***LOG Q0K=> DpMsAttach, mscon ( sapQAS) [dpxxdisp.c 9782]

CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.

CCMS: Initalizing shared memory of size 40000000 for monitoring segment.

CCMS: start to initalize 3.X shared alert area (first segment).

DpMsgAdmin: Set release to 6400, patchlevel 0

MBUF state PREPARED

MBUF component UP

DpMBufHwIdSet: set Hardware-ID

***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c 1025]

DpMsgAdmin: Set patchno for this platform to 71

Release check o.K.

Sat Jan 01 20:17:07 2011

      • ERROR => W0 (pid 3356) died [dpxxdisp.c 12233]

      • ERROR => W1 (pid 3364) died [dpxxdisp.c 12233]

      • ERROR => W2 (pid 3372) died [dpxxdisp.c 12233]

      • ERROR => W3 (pid 3380) died [dpxxdisp.c 12233]

      • ERROR => W4 (pid 3388) died [dpxxdisp.c 12233]

      • ERROR => W5 (pid 3396) died [dpxxdisp.c 12233]

my types changed after wp death/restart 0xbf --> 0xbe

      • ERROR => W6 (pid 3404) died [dpxxdisp.c 12233]

      • ERROR => W7 (pid 3412) died [dpxxdisp.c 12233]

my types changed after wp death/restart 0xbe --> 0xbc

      • ERROR => W8 (pid 3420) died [dpxxdisp.c 12233]

my types changed after wp death/restart 0xbc --> 0xb8

      • ERROR => W9 (pid 3428) died [dpxxdisp.c 12233]

      • ERROR => W10 (pid 3436) died [dpxxdisp.c 12233]

      • ERROR => W11 (pid 3444) died [dpxxdisp.c 12233]

my types changed after wp death/restart 0xb8 --> 0xb0

      • ERROR => W12 (pid 3452) died [dpxxdisp.c 12233]

my types changed after wp death/restart 0xb0 --> 0xa0

      • ERROR => W13 (pid 3460) died [dpxxdisp.c 12233]

my types changed after wp death/restart 0xa0 --> 0x80

      • DP_FATAL_ERROR => DpWPCheck: no more work processes

      • DISPATCHER EMERGENCY SHUTDOWN ***

increase tracelevel of WPs

killing W0-3356 (SIGUSR2)

      • ERROR => DpWpKill(3356, SIGUSR2) failed [dpxxtool.c 2477]

killing W1-3364 (SIGUSR2)

      • ERROR => DpWpKill(3364, SIGUSR2) failed [dpxxtool.c 2477]

killing W2-3372 (SIGUSR2)

      • ERROR => DpWpKill(3372, SIGUSR2) failed [dpxxtool.c 2477]

killing W3-3380 (SIGUSR2)

      • ERROR => DpWpKill(3380, SIGUSR2) failed [dpxxtool.c 2477]

killing W4-3388 (SIGUSR2)

      • ERROR => DpWpKill(3388, SIGUSR2) failed [dpxxtool.c 2477]

killing W5-3396 (SIGUSR2)

      • ERROR => DpWpKill(3396, SIGUSR2) failed [dpxxtool.c 2477]

killing W6-3404 (SIGUSR2)

      • ERROR => DpWpKill(3404, SIGUSR2) failed [dpxxtool.c 2477]

killing W7-3412 (SIGUSR2)

      • ERROR => DpWpKill(3412, SIGUSR2) failed [dpxxtool.c 2477]

killing W8-3420 (SIGUSR2)

      • ERROR => DpWpKill(3420, SIGUSR2) failed [dpxxtool.c 2477]

killing W9-3428 (SIGUSR2)

      • ERROR => DpWpKill(3428, SIGUSR2) failed [dpxxtool.c 2477]

killing W10-3436 (SIGUSR2)

      • ERROR => DpWpKill(3436, SIGUSR2) failed [dpxxtool.c 2477]

killing W11-3444 (SIGUSR2)

      • ERROR => DpWpKill(3444, SIGUSR2) failed [dpxxtool.c 2477]

killing W12-3452 (SIGUSR2)

      • ERROR => DpWpKill(3452, SIGUSR2) failed [dpxxtool.c 2477]

killing W13-3460 (SIGUSR2)

      • ERROR => DpWpKill(3460, SIGUSR2) failed [dpxxtool.c 2477]

NiWait: sleep (10000 msecs) ...

NiISelect: timeout 10000 ms

NiISelect: maximum fd=413

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Sat Jan 01 20:17:17 2011

NiISelect: TIMEOUT occured (10000 ms)

dump system status

Workprocess Table (long) Sat Jan 01 14:47:17 2011

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

No Ty. Pid Status Cause Start Err Sem CPU Time Program Cl User Action Table

-


0 DIA 3356 Ended no 1 0 0

1 DIA 3364 Ended no 1 0 0

2 DIA 3372 Ended no 1 0 0

3 DIA 3380 Ended no 1 0 0

4 DIA 3388 Ended no 1 0 0

5 DIA 3396 Ended no 1 0 0

6 UPD 3404 Ended no 1 0 0

7 UPD 3412 Ended no 1 0 0

8 ENQ 3420 Ended no 1 0 0

9 BTC 3428 Ended no 1 0 0

10 BTC 3436 Ended no 1 0 0

11 BTC 3444 Ended no 1 0 0

12 SPO 3452 Ended no 1 0 0

13 UP2 3460 Ended no 1 0 0

Dispatcher Queue Statistics Sat Jan 01 14:47:17 2011

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

--------


+
+

+

+
--


+

Typ

now

high

max

writes

reads

--------


+
+

+

+
--


+

NOWP

0

3

2000

10

10

--------


+
+

+

+
--


+

DIA

5

5

2000

5

0

--------


+
+

+

+
--


+

UPD

0

0

2000

0

0

--------


+
+

+

+
--


+

ENQ

0

0

2000

0

0

--------


+
+

+

+
--


+

BTC

0

0

2000

0

0

--------


+
+

+

+
--


+

SPO

0

0

2000

0

0

--------


+
+

+

+
--


+

UP2

0

0

2000

0

0

--------


+
+

+

+
--


+

max_rq_id 13

wake_evt_udp_now 0

wake events total 9, udp 8 ( 88%), shm 1 ( 11%)

since last update total 9, udp 8 ( 88%), shm 1 ( 11%)

Dump of tm_adm structure: Sat Jan 01 14:47:17 2011

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

Term uid man user term lastop mod wp ta a/i (modes)

Workprocess Comm. Area Blocks Sat Jan 01 14:47:17 2011

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

Slots: 300, Used: 1, Max: 0

--------


+
+
--


+

id

owner

pid

eyecatcher

--------


+
+
--


+

0

DISPATCHER

-1

WPCAAD000

NiWait: sleep (5000 msecs) ...

NiISelect: timeout 5000 ms

NiISelect: maximum fd=413

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Sat Jan 01 20:17:22 2011

NiISelect: TIMEOUT occured (5000 ms)

Shutdown server ...

DpJ2eeDisableRestart

DpModState: buffer in state MBUF_PREPARED

NiBufSend starting

NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete

MsINiWrite: sent 110 bytes

MsIModState: change state to SHUTDOWN

DpModState: change server state from STARTING to SHUTDOWN

Switch off Shared memory profiling

ShmProtect( 57, 3 )

ShmProtect(SHM_PROFILE, SHM_PROT_RW

ShmProtect( 57, 1 )

ShmProtect(SHM_PROFILE, SHM_PROT_RD

DpWakeUpWps: wake up all wp's

Stop work processes...

Stop gateway

killing process (3004) (SOFT_KILL)

Stop icman

killing process (3348) (SOFT_KILL)

Terminate gui connections

[DpProcDied] Process lives (PID:3004 HANDLE:396)

waiting for termination of gateway

NiWait: sleep (1000 msecs) ...

NiISelect: timeout 1000 ms

NiISelect: maximum fd=413

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Sat Jan 01 20:17:23 2011

NiISelect: TIMEOUT occured (1000 ms)

[DpProcDied] Process died (PID:3004 HANDLE:396)

[DpProcDied] Process died (PID:3348 HANDLE:392)

DpHalt: cancel all lcom connections

MPI CancelAll 2 -> 0

MPI DeleteAll 2 -> 0

NiIMyHostName: hostname = 'sapqas'

AdGetSelfIdentRecord: > <

AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0

AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0

DpConvertRequest: net size = 163 bytes

NiBufSend starting

NiIWrite: write 562, 1 packs, MESG_IO, hdl 3, data complete

MsINiWrite: sent 562 bytes

send msg (len 110+452) to name -, type 4, key -

detach from message server

***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c 10008]

NiBufSend starting

NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete

MsINiWrite: sent 110 bytes

MsIDetach: send logout to msg_server

MsIDetach: call exit function

DpMsShutdownHook called

NiSelClear: removed hdl 3 from selectset

MBUF state OFF

AdGetSelfIdentRecord: > <

AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0

AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0

AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0

blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/14

LOCK WP ca_blk 1

make DISP owner of wp_ca_blk 1

DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 19)

MBUF component DOWN

NiBufClose: clear extensions for hdl 3

NiBufSetStat: bufstat of hdl 3 changed from OK to OFF

NiICloseHandle: shutdown and close hdl 3 / socket 328

MsIDetach: detach MS-system

EsCleanup ....

***LOG Q05=> DpHalt, DPStop ( 2576) [dpxxdisp.c 8541]

Good Bye .....

//Arya

Former Member
0 Kudos

Hi,

When you are executing r3TRANS -d it will create trans.log in the local directory.

Please paste the lines of trans.log

Former Member
0 Kudos

I suspect an error during creation of new OPS$ users;

what is the output of:

select username, authentication_type from dba_users;

Make sure you have 'EXTERNAL' for the OPS$ users.

arya_biswas
Participant
0 Kudos

Hi All,

We have dropped(removed) all PRD related db user, keepet only QAS related user. But Database owner is still SAPPRD.

After providing the SAPPRD user in OPS$QASADM, the system got UP ...but now again the situation is same. SAP Down.

r3trans is seraching for SAPPRD Password as per the following translog

-


4 ETW000 r3trans version 6.13 (release 640 - 20.04.05 - 14:00:00).

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

4 ETW000

4 ETW000 date&time : 04.01.2011 - 09:34:07

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 Jan 04 09:34:09 2011 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 1871 0.001871

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

4 ETW000 77 0.001948

4 ETW000 [dev trc ,00000] Library 'dboraslib.dll' loaded 37 0.001985

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

4 ETW000 66 0.002051

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

4 ETW000 160 0.002211

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

4 ETW000 66 0.002277

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

4 ETW000 81 0.002358

4 ETW000 [dev trc ,00000] New connection 0 created 46 0.002404

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 74 0.002478

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

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

4 ETW000 62 0.002582

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 72 0.002654

4 ETW000 [dev trc ,00000] Got ORACLE_HOME=F:\oracle\QAS\ora92 from environment

4 ETW000 276 0.002930

4 ETW000 [dev trc ,00000] -->oci_init1 225 0.003155

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

4 ETW000 [dev trc ,00000] Client NLS settings: AMERICAN_AMERICA.WE8DEC 67805 0.071017

4 ETW000 [dev trc ,00000] Logon as OPS$-user to get SAPPRD's password 58 0.071075

4 ETW000 [dev trc ,00000] Connecting as /@QAS on connection 0 (nls_hdl 0) ...

4 ETW000 74 0.071149

4 ETW000 [dev trc ,00000] Nls Characterset Natcharacterset C EnvHp ErrHp ErrHpBatch

4 ETW000 70 0.071219

4 ETW000 [dev trc ,00000] 0 1 0302EC20 03033C80 030336E8

4 ETW000 70 0.071289

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

4 ETW000 [dev trc ,00000] Allocating server context handle 46 0.071387

4 ETW000 [dev trc ,00000] Attaching to DB Server QAS (con_hdl=0,svchp=0303363C,svrhp=03034244)

4 ETW000 100 0.071487

4 ETW000 [dev trc ,00000] Tue Jan 04 09:34:11 2011 2333439 2.404926

4 ETW000 [dev trc ,00000] Assigning server context 03034244 to service context 0303363C

4 ETW000 102 2.405028

4 ETW000 [dev trc ,00000] Allocating user session handle 83 2.405111

4 ETW000 [dev trc ,00000] Starting user session (con_hdl=0,svchp=0303363C,srvhp=03034244,usrhp=0303CA10)

4 ETW000 78 2.405189

4 ETW000 [dev trc ,00000] Assigning user session 0303CA10 to service context 0303363C

4 ETW000 8448 2.413637

4 ETW000 [dev trc ,00000] Now '/@QAS' is connected (con_hdl 0, nls_hdl 0).

4 ETW000 849 2.414486

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

4 ETW000 1249 2.415735

4 ETW000 [dev trc ,00000] Disconnecting from connection 0 ... 50 2.415785

4 ETW000 [dev trc ,00000] Rolling back transaction ... 43 2.415828

4 ETW000 [dev trc ,00000] Closing user session (con_hdl=0,svchp=0303363C,usrhp=0303CA10)

4 ETW000 249 2.416077

4 ETW000 [dev trc ,00000] Now I'm disconnected from ORACLE 388 2.416465

4 ETW000 [dev trc ,00000] Try to connect with default password 41 2.416506

4 ETW000 [dev trc ,00000] Connecting as SAPPRD/<pwd>@QAS on connection 0 (nls_hdl 0) ...

4 ETW000 66 2.416572

4 ETW000 [dev trc ,00000] Nls Characterset Natcharacterset C EnvHp ErrHp ErrHpBatch

4 ETW000 70 2.416642

4 ETW000 [dev trc ,00000] 0 1 0302EC20 03033C80 030336E8

4 ETW000 71 2.416713

4 ETW000 [dev trc ,00000] Assigning username to user session 0303CA10 38 2.416751

4 ETW000 [dev trc ,00000] Assigning password to user session 0303CA10 45 2.416796

4 ETW000 [dev trc ,00000] Starting user session (con_hdl=0,svchp=0303363C,srvhp=03034244,usrhp=0303CA10)

4 ETW000 69 2.416865

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

4 ETW000 10071 2.426936

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

4 ETW000 70 2.427006

4 ETW000 [dblink ,00419] ***LOG BY2=>sql error 1017 performing CON [dblink#2 @ 419]

4 ETW000 97 2.427103

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

4 ETW000 67 2.427170

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

-


select username from dba_users;

USERNAME

-


SYS

SYSTEM

OUTLN

DBSNMP

OPS$SAPQAS\SAPSERVICEQAS

SAPPRD

OPS$QASADM

OPS$ORAQAS

OPS$SAPQAS\QASADM

SAPQAS

select owner from dba_tables where table_name='SAPUSER';

OWNER

-


OPS$QASADM

*select * from OPS$QASADM.SAPUSER;*

USERID

-


PASSWD

-


SAPQAS

danger

SAPPRD-CRYPT

V01/0014ZctvSB67Wv356ZKYiyQ=

-


Please Help.

Edited by: Arya Biswas on Jan 4, 2011 5:59 AM

Former Member
0 Kudos

Arya,

Did you execute the script as mentioned in note 361641 ?

It should solve ur problem as i found in the log

arya_biswas
Participant
0 Kudos

Hi All,

The system is up now. The suggestions written over here are very helpful.Thanks all. We have done this with the help of Note 50088.

But now we are facing another problem with SAP license.

1. We have deleted all old license from command prompt. As we were unable to delete the same from SAP user sap*.

2. Have requested and downloaded a new License from SAP.We can not apply through sap*, the install button is there but no New License button. After applying through Install button from Front end, It is showing the user do not have all rights.

3. Also an error is coming while applying the license from front end i.e. it is throwing a message that for doing the license work the user must be an authorized user. We are log-in in through sap*!

4. Through command prompt it has been applied successfully but it is not in activated state in SAP.

5. A dump is thrown by sap while using T-Code su01 . Following is the error :

Runtime Errors DBIF_RSQL_TABLE_UNKNOWN

Date and Time 05.01.2011 14:57:54

What happened?

Error in ABAP application program.

The current ABAP program "SAPLSDTB" had to be terminated because one of the

statements could not be executed.

This is probably due to an error in the ABAP program.

Error analysis

An SAP Open SQL statement contains a table that does not exist in the

database or is not listed in the ABAP Data Dictionary.

The table is "DD03K " or another table that is accessed in the statement.

Trigger Location of Runtime Error

Program SAPLSDTB

Include RADTB008

Row 283

Module type (FORM)

//Arya

Former Member
0 Kudos

Hi,

You need to logon with SAP8 and use Tx SLICENSE and select New Licenses and import the attachment that SAP e-mailed to you.

Regards

arya_biswas
Participant
0 Kudos

Hi David,

I have marked in point 2 that New License tab is not there in my sap* log-in in client 000.

That is why I'm unable to apply through it.

//Arya

Former Member
0 Kudos

Try from OS level with command saplicense by user <sid>adm

arya_biswas
Participant
0 Kudos

Hi Mrinal,

We have tried from Command promt several times. It is showing success. But whenever we see it through SAP front end it is grayed out i.e. not active. (Mentioned in point 4)

//Arya

Former Member
0 Kudos

Arya,

Are you able to see table DD03K by se11 & is it in active state or not

As you said from OS level license installed successfully, is it showing license from os "saplicense -show"

From Menu Sytem --> Status what it will show

arya_biswas
Participant
0 Kudos

Hi Mrinal,

1.The table DD03k from se11 showing error "Runtime Errors DBIF_RSQL_TABLE_UNKNOWN"

2.It is showing license from os "saplicense -show"

3.From Menu Sytem --> Status it is showing

Installation Number "Initial"

Nothing in License expiration date.

//Arya

Former Member
0 Kudos

Can you check some other table say T000 or MARA by se11. If for other tables its working please check DD03K table exist or not from sql prompt.

arya_biswas
Participant
0 Kudos

Hi Mrinal,

The table T000 or Mara is not showing through se11. Same dump is occurring.

//Arya

Former Member
0 Kudos

Is the Kernel of your source & target are same.?

Please update your patch level of all component

arya_biswas
Participant
0 Kudos

Hi Mrinal,

The patch level in both the systems are exactly same.

//ARYA

Former Member
0 Kudos

is DBSL patch also?

Please update dbsl patch from SMP

Edited by: Mrinal Das on Jan 6, 2011 2:46 PM