cancel
Showing results for 
Search instead for 
Did you mean: 

Help post J2EE install.

Former Member
0 Kudos

I installed a new R3 Enterprise system (IDES) and it was running fine. yesterday I installed the Web Application server, and that install seemed to be fine as well. But now I cannot connect to the system with SAP GUI. It appears to me that the server is starting (see below), but cannot connect in any way (SAPGUI, J2EE engine through the browser). I've attached the output of startsap. Any suggestions, does this output look like the system is running or not? Are there other ways to tell?

thanks

          1. start getarg()

          2. start setPing()

PING=/bin/ping

          1. setPing() done

VHOST=

          1. start set_instance()

PROFILES=/usr/sap/B47/SYS/profile/START_SCS01_bsntap06

PROFILES=/usr/sap/B47/SYS/profile/START_ASCS??_bsntap06

PROFILES=/usr/sap/B47/SYS/profile/START_DVEBMGS00_bsntap06

PROFILES=/usr/sap/B47/SYS/profile/START_JC??_bsntap06

PROFILES=/usr/sap/B47/SYS/profile/START_D??_bsntap06

PROFILES=/usr/sap/B47/SYS/profile/START_J??_bsntap06

PROFILES=/usr/sap/B47/SYS/profile/START_G??_bsntap06

INSTANCE0=SCS01

INSTANCE1=DVEBMGS00

INSTANCE2=

INSTANCE3=

INSTANCE4=

INSTANCE5=

INSTANCE6=

INSTANCE7=

NINSTANCE0=

NINSTANCE1=

NINSTANCE2=

NINSTANCE3=

NINSTANCE4=

NINSTANCE5=

NINSTANCE6=

NINSTANCE7=

INSTANCEjc=

INSTANCEj=

INSTANCEdvebmgs=DVEBMGS00

INSTANCEd=

INSTANCEscs=SCS01

INSTANCEascs=

INSTANCEg=

INSTANCEFOUND=2

NINSTANCEFOUND=0

CHECK_WITH_R3TRANS=1

CHECK_WITH_JDBCCONNECT=0

          1. end set_instance()

CHECK_WITH_R3TRANS=1

CHECK_WITH_JDBCCONNECT=0

          1. done getarg()

TASK=ALL

#=0

INSTANCE=SCS01

          1. start set_sapdbhost()

SAPDBHOST=bsntap06

          1. end set_sapdbhost()

          2. start set_sapjdbhost()

SAPJDBHOST=bsntap06

          1. start set_db_local()

HOSTNAME=bsntap06

nach set_dblocal: DB_LOCAL=1

nach set_dblocal: SAPDBHOST=bsntap06

          1. end set_db_local()

          2. start set_jdb_local()

HOSTNAME=bsntap06

nach set_jdb_local: JDB_LOCAL=1

nach set_jdb_local: SAPJDBHOST=bsntap06

          1. end set_jdb_local()

          2. start set_db_sid()

DB_LOCAL=1

DB_SID= db

          1. end set_db_sid()

          2. start set_jdb_sid

JDB_LOCAL=1

J2EEDBNAME=B47

J2EEDBTYPE=sap

JDB_SID=B47

          1. start set_db_running()

Checking db Database

-


ABAP Database is not available via R3trans

          1. end set_db_running()

          2. start set_jdb_running()

JDB_RUNNING=0

INSTANCE=DVEBMGS00

SAPSYSTEMNAME=B47

          1. end set_jdb_running()

          2. start start_instance()

INSTANCE=SCS01

TESTSCS=1

SCS=SCS01

ASCS=

Starting SAP Instance SCS01

-


Startup-Log is written to /home/b47adm/startsap_SCS01.log

Instance already running

INSTANCE=DVEBMGS00

TESTSCS=1

SCS=

ASCS=

          1. start start_instance()

start_saposcol;

Starting SAP-Collector Daemon

-


13:00:54 19.06.2008 LOG: Effective User Id is root

***********************************************************************

  • This is Saposcol Version COLL 20.87 640 - V1.12 for Linux

  • Usage: saposcol -l: Start OS Collector

  • saposcol -k: Stop OS Collector

  • saposcol -d: OS Collector Dialog Mode

  • saposcol -s: OS Collector Status

  • The OS Collector (PID 3222) is already running .....

************************************************************************

saposcol already running

DB_RUNNING=0

DB_LOCAL=1

TASK=ALL

          1. start start_database()

Running /usr/sap/B47/SYS/exe/run/startdb

Trying to start database ...

Log file: /home/b47adm/startdb.log

Database already running

/usr/sap/B47/SYS/exe/run/startdb completed successfully

          1. start set_db_running()

Checking db Database

-


ABAP Database is not available via R3trans

          1. end set_db_running()

          2. end start_database()

start_j2eedb=0

          1. start start_instance()

INSTANCE=SCS01

TESTSCS=0

SCS=SCS01

ASCS=

INSTANCE=DVEBMGS00

TESTSCS=0

SCS=

ASCS=

Starting SAP Instance DVEBMGS00

-


Startup-Log is written to /home/b47adm/startsap_DVEBMGS00.log

Instance already running

          1. start start_instance()

SAPSYSTEM_NR=00

CCMS agent SAPCCMSR not configured

Accepted Solutions (1)

Accepted Solutions (1)

markus_doehr2
Active Contributor
0 Kudos

This seems to be the second attempt to start the system, it's already running.

Is your database MaxDB? If yes, please check with

x_cons <SID> sh ac 1

if your log or data area is full.

Markus

Former Member
0 Kudos

Thanks for the help. That command doesn't provide much info, it loops:

[b47adm@bsntap06 exe]$ x_cons B47 sh ac 1

SERVERDB: B47

ID UKT UNIX TASK APPL Current Timeout Region Wait

tid type pid state priority cnt try item

SERVERDB: B47

SERVERDB: B47

SERVERDB: B47

......

Is this more interesting?

[b47adm@bsntap06 exe]$ x_cons B47 SHOW STORAGE

SERVERDB: B47

Size of code 11289 KB

Size of task stacks 28580 KB

Size of shared data 812 KB

Used shared dyn pool 0 KB

Unused shared dyn pool 0 KB

Used shared dyn data 0 Pages

Unused shared dyn data 0 Pages

Number of existing tasks 108

[b47adm@bsntap06 exe]$

markus_doehr2
Active Contributor
0 Kudos

> Thanks for the help. That command doesn't provide much info, it loops:

yes - that is intended - repeated every 1 second (that's the "1" after the statement)

Looks all good. So the database is up and running.

Next we need to check the ABAP system - check the files

dev_disp

dev_w0

dev_ms

Markus

Former Member
0 Kudos

Here's dev_disp, there's a problem here. Do you want to see the others as well?

[b47adm@bsntap06 work]$ cat dev_disp

-


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

-


Thu Jun 19 12:49:39 2008

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

length of sys_adm_ext is 312 bytes

sysno 00

sid B47

systemid 399 (New architecture with Linux)

relno 6400

patchlevel 0

patchno 56

intno 20020600

make: single threaded, ASCII, 64 bit

pid 7078

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

shared lib "dw_xml.so" version 56 successfully loaded

shared lib "dw_xtc.so" version 56 successfully loaded

shared lib "dw_stl.so" version 56 successfully loaded

shared lib "dw_gui.so" version 56 successfully loaded

MtxInit: -2 0 0

DpSysAdmExtInit: ABAP is active

DpShMCreate: sizeof(wp_adm) 6720 (840)

DpShMCreate: sizeof(tm_adm) 2850984 (14184)

DpShMCreate: sizeof(wp_ca_adm) 22800 (76)

DpShMCreate: sizeof(appc_ca_adm) 7600 (76)

DpShMCreate: sizeof(comm_adm) 216000 (432)

DpShMCreate: sizeof(vmc_adm) 0 (416)

DpShMCreate: sizeof(wall_adm) (22440/36712/72/104)

DpShMCreate: SHM_DP_ADM_KEY (addr: 0x2aec1d35c000, size: 3169680)

DpShMCreate: allocated sys_adm at 0x2aec1d35c000

DpShMCreate: allocated wp_adm at 0x2aec1d35d860

DpShMCreate: allocated tm_adm_list at 0x2aec1d35f2a0

DpShMCreate: allocated tm_adm at 0x2aec1d35f2c8

DpShMCreate: allocated wp_ca_adm at 0x2aec1d617370

DpShMCreate: allocated appc_ca_adm at 0x2aec1d61cc80

DpShMCreate: allocated comm_adm_list at 0x2aec1d61ea30

DpShMCreate: allocated comm_adm at 0x2aec1d61ea48

DpShMCreate: allocated vmc_adm_list at 0x2aec1d653608

DpShMCreate: system runs without vmc_adm

DpShMCreate: allocated ca_info at 0x2aec1d653630

DpShMCreate: allocated wall_adm at 0x2aec1d653638

MBUF state OFF

EmInit: MmSetImplementation( 2 ).

<ES> client 0 initializing ....

<ES> InitFreeList

<ES> block size is 4096 kByte.

Using implementation map

<EsMap> EsIUnamFileMapInit: Initialize the memory 992 MB

<ES> 247 blocks reserved for free list.

ES initialized.

J2EE server info

start = TRUE

state = STARTED

pid = 7083

argv[0] = /usr/sap/B47/DVEBMGS00/j2ee/os_libs/jcontrol

argv[1] = jcontrol

argv[2] = pf=/usr/sap/B47/SYS/profile/B47_DVEBMGS00_bsntap06

argv[3] = -DSAPSTART=1

argv[4] = -DCONNECT_PORT=56349

argv[5] = -DLISTEN_PORT=55724

argv[6] = -DSAPSYSTEM=00

argv[7] = -DSAPSYSTEMNAME=B47

argv[8] = -DSAPMYNAME=bsntap06_B47_00

argv[9] = -DSAPPROFILE=/usr/sap/B47/SYS/profile/B47_DVEBMGS00_bsntap06

argv[10] = -DFRFC_FALLBACK=ON

argv[11] = -DFRFC_FALLBACK_HOST=localhost

start_lazy = 0

start_control = SAP J2EE startup framework

DpJ2eeStart: j2ee state = STARTED

rdisp/http_min_wait_dia_wp : 1 -> 1

***LOG Q0K=> DpMsAttach, mscon ( bsntap06) [dpxxdisp.c 9742]

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

      • ERROR => W0 (pid 7084) died [dpxxdisp.c 12193]

      • ERROR => W1 (pid 7085) died [dpxxdisp.c 12193]

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

      • ERROR => W2 (pid 7086) died [dpxxdisp.c 12193]

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

      • ERROR => W3 (pid 7087) died [dpxxdisp.c 12193]

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

      • ERROR => W4 (pid 7090) died [dpxxdisp.c 12193]

      • ERROR => W5 (pid 7091) died [dpxxdisp.c 12193]

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

      • ERROR => W6 (pid 7092) died [dpxxdisp.c 12193]

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

      • ERROR => W7 (pid 7093) died [dpxxdisp.c 12193]

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-7084 (SIGUSR2)

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

killing W1-7085 (SIGUSR2)

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

killing W2-7086 (SIGUSR2)

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

killing W3-7087 (SIGUSR2)

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

killing W4-7090 (SIGUSR2)

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

killing W5-7091 (SIGUSR2)

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

killing W6-7092 (SIGUSR2)

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

killing W7-7093 (SIGUSR2)

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

NiWait: sleep (10000 msecs) ...

NiISelect: timeout 10000 ms

NiISelect: maximum fd=15

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Jun 19 12:49:49 2008

NiISelect: TIMEOUT occured (10000 ms)

dump system status

Workprocess Table (long) Thu Jun 19 16:49:49 2008

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

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

-


0 DIA 7084 Ended no 1 0 0

1 DIA 7085 Ended no 1 0 0

2 UPD 7086 Ended no 1 0 0

3 ENQ 7087 Ended no 1 0 0

4 BTC 7090 Ended no 1 0 0

5 BTC 7091 Ended no 1 0 0

6 SPO 7092 Ended no 1 0 0

7 UP2 7093 Ended no 1 0 0

Dispatcher Queue Statistics Thu Jun 19 16:49:49 2008

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

--------


+
+

+

+
--


+

Typ

now

high

max

writes

reads

--------


+
+

+

+
--


+

NOWP

5

5

2000

5

0

--------


+
+

+

+
--


+

DIA

1

1

2000

1

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 7

wake_evt_udp_now 1

wake events total 6, udp 1 ( 16%), shm 5 ( 83%)

since last update total 6, udp 1 ( 16%), shm 5 ( 83%)

Dump of tm_adm structure: Thu Jun 19 16:49:49 2008

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

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

Workprocess Comm. Area Blocks Thu Jun 19 16:49:49 2008

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

Slots: 300, Used: 0, Max: 0

--------


+
+
--


+

id

owner

pid

eyecatcher

--------


+
+
--


+

NiWait: sleep (5000 msecs) ...

NiISelect: timeout 5000 ms

NiISelect: maximum fd=15

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Jun 19 12:49:55 2008

NiISelect: TIMEOUT occured (5000 ms)

Shutdown server ...

DpJ2eeDisableRestart

DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=7083)

killing proc (7083) (SOFT_KILL)

DpIJ2eeShutdown: j2ee state = SHUTDOWN

NiSelClear: removed hdl 3 from selectset

DpDelSocketInfo: del info for socket 3 (type=7)

NiBufClose: clear extensions for hdl 3

NiBufSetStat: bufstat of hdl 3 changed from OK to OFF

NiICloseHandle: shutdown and close hdl 3 / socket 10

NiSelClear: removed hdl 4 from selectset

DpDelSocketInfo: del info for socket 4 (type=9)

NiBufClose: clear extensions for hdl 4

NiBufSetStat: bufstat of hdl 4 changed from OK to OFF

NiICloseHandle: shutdown and close hdl 4 / socket 12

DpModState: buffer in state MBUF_OFF

NiBufSend starting

NiIWrite: write 110, 1 packs, MESG_IO, hdl 5, 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 proc (7081) (SOFT_KILL)

child process 7081 died: 0

Stop icman

killing proc (7082) (SOFT_KILL)

Terminate gui connections

kill(7081,0) -> ESRCH: process died

kill(7082,0) successful -> process alive

waiting for termination of icman

NiWait: sleep (1000 msecs) ...

NiISelect: timeout 1000 ms

NiISelect: maximum fd=15

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

child process 7082 died: 0

Thu Jun 19 12:49:56 2008

NiISelect: TIMEOUT occured (1000 ms)

kill(7082,0) -> ESRCH: process died

DpHalt: cancel all lcom connections

MPI CancelAll 2 -> 0

MPI DeleteAll 2 -> 0

kill(7083,0) successful -> process alive

kill(7083,0) successful -> process alive

waiting for termination of J2EE server

NiWait: sleep (1000 msecs) ...

NiISelect: timeout 1000 ms

NiISelect: maximum fd=15

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Jun 19 12:49:57 2008

NiISelect: TIMEOUT occured (1000 ms)

kill(7083,0) successful -> process alive

waiting for termination of J2EE server

NiWait: sleep (1000 msecs) ...

NiISelect: timeout 1000 ms

NiISelect: maximum fd=15

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Jun 19 12:49:58 2008

NiISelect: TIMEOUT occured (1000 ms)

kill(7083,0) successful -> process alive

waiting for termination of J2EE server

NiWait: sleep (1000 msecs) ...

NiISelect: timeout 1000 ms

NiISelect: maximum fd=15

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Jun 19 12:49:59 2008

NiISelect: TIMEOUT occured (1000 ms)

kill(7083,0) successful -> process alive

waiting for termination of J2EE server

NiWait: sleep (1000 msecs) ...

NiISelect: timeout 1000 ms

NiISelect: maximum fd=15

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Jun 19 12:50:00 2008

NiISelect: TIMEOUT occured (1000 ms)

kill(7083,0) successful -> process alive

waiting for termination of J2EE server

NiWait: sleep (1000 msecs) ...

NiISelect: timeout 1000 ms

NiISelect: maximum fd=15

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Jun 19 12:50:01 2008

NiISelect: TIMEOUT occured (1000 ms)

kill(7083,0) successful -> process alive

waiting for termination of J2EE server

NiWait: sleep (1000 msecs) ...

NiISelect: timeout 1000 ms

NiISelect: maximum fd=15

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Jun 19 12:50:02 2008

NiISelect: TIMEOUT occured (1000 ms)

kill(7083,0) successful -> process alive

waiting for termination of J2EE server

NiWait: sleep (1000 msecs) ...

NiISelect: timeout 1000 ms

NiISelect: maximum fd=15

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Jun 19 12:50:03 2008

NiISelect: TIMEOUT occured (1000 ms)

kill(7083,0) successful -> process alive

waiting for termination of J2EE server

NiWait: sleep (1000 msecs) ...

NiISelect: timeout 1000 ms

NiISelect: maximum fd=15

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Jun 19 12:50:04 2008

NiISelect: TIMEOUT occured (1000 ms)

kill(7083,0) successful -> process alive

waiting for termination of J2EE server

NiWait: sleep (1000 msecs) ...

NiISelect: timeout 1000 ms

NiISelect: maximum fd=15

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Jun 19 12:50:05 2008

NiISelect: TIMEOUT occured (1000 ms)

kill(7083,0) successful -> process alive

waiting for termination of J2EE server

NiWait: sleep (1000 msecs) ...

NiISelect: timeout 1000 ms

NiISelect: maximum fd=15

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Jun 19 12:50:06 2008

NiISelect: TIMEOUT occured (1000 ms)

kill(7083,0) successful -> process alive

waiting for termination of J2EE server

NiWait: sleep (1000 msecs) ...

NiISelect: timeout 1000 ms

NiISelect: maximum fd=15

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Jun 19 12:50:07 2008

NiISelect: TIMEOUT occured (1000 ms)

kill(7083,0) successful -> process alive

waiting for termination of J2EE server

NiWait: sleep (1000 msecs) ...

NiISelect: timeout 1000 ms

NiISelect: maximum fd=15

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Jun 19 12:50:08 2008

NiISelect: TIMEOUT occured (1000 ms)

kill(7083,0) successful -> process alive

waiting for termination of J2EE server

NiWait: sleep (1000 msecs) ...

NiISelect: timeout 1000 ms

NiISelect: maximum fd=15

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Jun 19 12:50:09 2008

NiISelect: TIMEOUT occured (1000 ms)

kill(7083,0) successful -> process alive

waiting for termination of J2EE server

NiWait: sleep (1000 msecs) ...

NiISelect: timeout 1000 ms

NiISelect: maximum fd=15

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Jun 19 12:50:10 2008

NiISelect: TIMEOUT occured (1000 ms)

kill(7083,0) successful -> process alive

waiting for termination of J2EE server

NiWait: sleep (1000 msecs) ...

NiISelect: timeout 1000 ms

NiISelect: maximum fd=15

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Jun 19 12:50:11 2008

NiISelect: TIMEOUT occured (1000 ms)

kill(7083,0) successful -> process alive

waiting for termination of J2EE server

NiWait: sleep (1000 msecs) ...

NiISelect: timeout 1000 ms

NiISelect: maximum fd=15

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Jun 19 12:50:12 2008

NiISelect: TIMEOUT occured (1000 ms)

kill(7083,0) successful -> process alive

waiting for termination of J2EE server

NiWait: sleep (1000 msecs) ...

NiISelect: timeout 1000 ms

NiISelect: maximum fd=15

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Jun 19 12:50:13 2008

NiISelect: TIMEOUT occured (1000 ms)

kill(7083,0) successful -> process alive

waiting for termination of J2EE server

NiWait: sleep (1000 msecs) ...

NiISelect: timeout 1000 ms

NiISelect: maximum fd=15

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Jun 19 12:50:14 2008

NiISelect: TIMEOUT occured (1000 ms)

kill(7083,0) successful -> process alive

waiting for termination of J2EE server

NiWait: sleep (1000 msecs) ...

NiISelect: timeout 1000 ms

NiISelect: maximum fd=15

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Thu Jun 19 12:50:15 2008

NiISelect: TIMEOUT occured (1000 ms)

kill(7083,0) successful -> process alive

waiting for termination of J2EE server

NiWait: sleep (1000 msecs) ...

NiISelect: timeout 1000 ms

NiISelect: maximum fd=15

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

child process 7083 died: 0

Thu Jun 19 12:50:16 2008

NiISelect: TIMEOUT occured (1000 ms)

kill(7083,0) -> ESRCH: process died

NiIMyHostName: hostname = 'bsntap06'

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 5, 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 9968]

NiBufSend starting

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

MsINiWrite: sent 110 bytes

MsIDetach: send logout to msg_server

MsIDetach: call exit function

DpMsShutdownHook called

NiSelClear: removed hdl 5 from selectset

NiBufClose: clear extensions for hdl 5

NiBufSetStat: bufstat of hdl 5 changed from OK to OFF

NiICloseHandle: shutdown and close hdl 5 / socket 14

MsIDetach: detach MS-system

EsCleanup ....

EsCleanup destroy slot 0

<EsMap: unlink /dev/shm/SAP_ES_00_000

ShmDelete( 13 )

cleanup event management

cleanup shared memory/semaphores

ShmCleanup SHM_SYS_ADM_KEY

ShmCleanup( 1 )

ShmCreate( 1, 0, 2, 0x0x7fff959404e0 )

ShmProtect( 1, 3 )

ShmCreate( 1, 0, 2, -> 0x0x2aec1d13f000 )

ShmCleanup SHM_DP_ADM_KEY

ShmCleanup( 2 )

ShmCreate( 2, 0, 2, 0x0x7fff959404e0 )

ShmProtect( 2, 3 )

ShmCreate( 2, 0, 2, -> 0x0x2aec1d35c000 )

ShmCleanup SHM_DP_CA_KEY

ShmCleanup( 3 )

ShmCreate( 3, 0, 2, 0x0x7fff959404e0 )

ShmProtect( 3, 3 )

ShmCreate( 3, 0, 2, -> 0x0x2aec1d662000 )

ShmCleanup SHM_PF_KEY

ShmCleanup( 4 )

ShmCreate( 4, 0, 2, 0x0x7fff959404e0 )

ShmKeyPermission( 4 ) = 0740 (octal)

ShmCleanup SHM_PRES_BUF

ShmCleanup( 14 )

ShmCreate( 14, 0, 2, 0x0x7fff959404e0 )

ShmGet( 10, 14, 0, 2, 0x0x7fff95940418 )

ShmCleanup SHM_CALI_BUFFER

ShmCleanup( 11 )

ShmCreate( 11, 0, 2, 0x0x7fff959404e0 )

ShmGet( 10, 11, 0, 2, 0x0x7fff95940418 )

ShmCleanup SHM_DB_TBUFF

ShmCleanup( 19 )

ShmCreate( 19, 0, 2, 0x0x7fff959404e0 )

ShmKeyPermission( 19 ) = 0740 (octal)

ShmCleanup SHM_DB_TBUFF_P

ShmCleanup( 33 )

ShmCreate( 33, 0, 2, 0x0x7fff959404e0 )

ShmKeyPermission( 33 ) = 0740 (octal)

ShmCleanup SHM_DB_STBUFF

ShmCleanup( 41 )

ShmCreate( 41, 0, 2, 0x0x7fff959404e0 )

ShmKeyPermission( 41 ) = 0740 (octal)

ShmCleanup SHM_DB_TTBUFF

ShmCleanup( 42 )

ShmCreate( 42, 0, 2, 0x0x7fff959404e0 )

ShmGet( 40, 42, 0, 2, 0x0x7fff95940418 )

ShmCreate( 40, 0, 2, 0x0x7fff9593ffd8 )

ShmKeyPermission( 40 ) = 0740 (octal)

ShmCleanup SHM_DB_FTBUFF

ShmCleanup( 43 )

ShmCreate( 43, 0, 2, 0x0x7fff959404e0 )

ShmGet( 40, 43, 0, 2, 0x0x7fff95940418 )

ShmCreate( 40, 0, 2, 0x0x7fff9593ffd8 )

ShmKeyPermission( 40 ) = 0740 (octal)

ShmCleanup SHM_DB_SNTBUFF

ShmCleanup( 45 )

ShmCreate( 45, 0, 2, 0x0x7fff959404e0 )

ShmGet( 40, 45, 0, 2, 0x0x7fff95940418 )

ShmCreate( 40, 0, 2, 0x0x7fff9593ffd8 )

ShmKeyPermission( 40 ) = 0740 (octal)

ShmCleanup SHM_DB_IRBUFF

ShmCleanup( 44 )

ShmCreate( 44, 0, 2, 0x0x7fff959404e0 )

ShmGet( 40, 44, 0, 2, 0x0x7fff95940418 )

ShmCreate( 40, 0, 2, 0x0x7fff9593ffd8 )

ShmKeyPermission( 40 ) = 0740 (octal)

ShmCleanup SHM_DB_OBJ_BUFFER

ShmCleanup( 54 )

ShmCreate( 54, 0, 2, 0x0x7fff959404e0 )

ShmKeyPermission( 54 ) = 0740 (octal)

ShmCleanup SHM_DB_SYNC

ShmCleanup( 46 )

ShmCreate( 46, 0, 2, 0x0x7fff959404e0 )

ShmGet( 40, 46, 0, 2, 0x0x7fff95940418 )

ShmCreate( 40, 0, 2, 0x0x7fff9593ffd8 )

ShmKeyPermission( 40 ) = 0740 (octal)

ShmCleanup SHM_DB_CUA_BUFFER

ShmCleanup( 47 )

ShmCreate( 47, 0, 2, 0x0x7fff959404e0 )

ShmGet( 40, 47, 0, 2, 0x0x7fff95940418 )

ShmCreate( 40, 0, 2, 0x0x7fff9593ffd8 )

ShmKeyPermission( 40 ) = 0740 (octal)

ShmCleanup SHM_DB_OTR_BUFFER

ShmCleanup( 64 )

ShmCreate( 64, 0, 2, 0x0x7fff959404e0 )

ShmKeyPermission( 64 ) = 0740 (octal)

ShmCleanup SHM_DB_ESM_BUFFER

ShmCleanup( 65 )

ShmCreate( 65, 0, 2, 0x0x7fff959404e0 )

ShmKeyPermission( 65 ) = 0740 (octal)

ShmCleanup SHM_ROLL_AREA_KEY

ShmCleanup( 9 )

ShmCreate( 9, 0, 2, 0x0x7fff959404e0 )

ShmKeyPermission( 9 ) = 0740 (octal)

ShmCleanup SHM_PAGING_AREA_KEY

ShmCleanup( 8 )

ShmCreate( 8, 0, 2, 0x0x7fff959404e0 )

ShmKeyPermission( 8 ) = 0740 (octal)

ShmCleanup SHM_ROLL_ADM_KEY

ShmCleanup( 17 )

ShmCreate( 17, 0, 2, 0x0x7fff959404e0 )

ShmGet( 10, 17, 0, 2, 0x0x7fff95940418 )

ShmCleanup SHM_PAGING_ADM_KEY

ShmCleanup( 18 )

ShmCreate( 18, 0, 2, 0x0x7fff959404e0 )

ShmKeyPermission( 18 ) = 0740 (octal)

ShmCleanup SHM_PXA_KEY

ShmCleanup( 6 )

ShmCreate( 6, 0, 2, 0x0x7fff959404e0 )

ShmKeyPermission( 6 ) = 0740 (octal)

ShmCleanup SHM_ENQ_TABLE_KEY

ShmCleanup( 34 )

ShmCreate( 34, 0, 2, 0x0x7fff959404e0 )

ShmKeyPermission( 34 ) = 0740 (octal)

ShmCleanup SHM_ENQID_KEY

ShmCleanup( 58 )

ShmCreate( 58, 0, 2, 0x0x7fff959404e0 )

ShmKeyPermission( 58 ) = 0740 (octal)

ShmCleanup SHM_VB_ADM_KEY

ShmCleanup( 7 )

ShmCreate( 7, 0, 2, 0x0x7fff959404e0 )

ShmKeyPermission( 7 ) = 0740 (octal)

ShmCleanup SHM_DB_POOL

ShmCleanup( 40 )

ShmCreate( 40, 0, 2, 0x0x7fff959404e0 )

ShmKeyPermission( 40 ) = 0740 (octal)

ShmCleanup SHM_EM_ADM

ShmCleanup( 51 )

ShmCreate( 51, 0, 2, 0x0x7fff959404e0 )

ShmProtect( 51, 3 )

ShmCreate( 51, 0, 2, -> 0x0x2aec1ec0a000 )

ShmCleanup SHM_MSBUF

ShmCleanup( 52 )

ShmCreate( 52, 0, 2, 0x0x7fff959404e0 )

ShmProtect( 52, 3 )

ShmCreate( 52, 0, 2, -> 0x0x2aec1e2d7000 )

ShmCleanup SHM_THRUN_ADM_KEY(th run adm)

ShmCleanup( 30 )

ShmCreate( 30, 0, 2, 0x0x7fff959404e0 )

ShmKeyPermission( 30 ) = 0740 (octal)

ShmCleanup SHM_JAVA

ShmCleanup( 70 )

ShmCreate( 70, 0, 2, 0x0x7fff959404e0 )

ShmKeyPermission( 70 ) = 0740 (octal)

ShmCleanup SHM_PF_AS_KEY(Appl.Statistics)

ShmCleanup( 56 )

ShmCreate( 56, 0, 2, 0x0x7fff959404e0 )

ShmKeyPermission( 56 ) = 0740 (octal)

ShmCleanup SHM_POOL_0

ShmCleanup( 10 )

ShmCreate( 10, 0, 2, 0x0x7fff959404e0 )

ShmProtect( 10, 3 )

ShmCreate( 10, 0, 2, -> 0x0x2aec1681c000 )

ShmCleanup SHM_PROFILE

ShmCleanup( 57 )

ShmCreate( 57, 0, 2, 0x0x7fff959404e0 )

ShmProtect( 57, 3 )

ShmCreate( 57, 0, 2, -> 0x0x2aec16796000 )

MiCleanup:

ShmCleanup( 62 )

ShmCreate( 62, 0, 2, 0x0x7fff959404c0 )

ShmProtect( 62, 3 )

ShmCreate( 62, 0, 2, -> 0x0x2aed1ecb1000 )

MpiCleanup() -> 0

removing Semaphore-Management

removing request queue

ShmCleanup( 31 )

ShmCreate( 31, 0, 2, 0x0x7fff959404d0 )

ShmProtect( 31, 3 )

ShmCreate( 31, 0, 2, -> 0x0x2aec1e2e5000 )

closing connect handles (dgm + tcp)

DpDelSocketInfo: del info for socket 1 (type=2)

NiICloseHandle: shutdown and close hdl 1 / socket 7

DpDelSocketInfo: del info for socket 2 (type=1)

NiBufClose: clear extensions for hdl 2

NiBufSetStat: bufstat of hdl 2 changed from OK to OFF

NiICloseHandle: shutdown and close hdl 2 / socket 8

***LOG Q05=> DpHalt, DPStop ( 7078) [dpxxdisp.c 8713]

      • shutdown completed - server stopped ***

Former Member
0 Kudos

Here is dev_w0. Where should dbms_type come from?

-


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

-


*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, M

*

M sysno 00

M sid B47

M systemid 399 (New architecture with Linux)

M relno 6400

M patchlevel 0

M patchno 56

M intno 20020600

M make: single threaded, ASCII, 64 bit

M pid 7084

M

M

M Thu Jun 19 12:49:39 2008

M ***LOG Q01=> tskh_init, WPStart (Workproc 0 1 7084) [thxxhead.c 1131]

M calling db_connect ...

B create_con (con_name=R/3)

B *** ERROR => Invalid profile parameter dbms/type (or environment variable dbms_type) = <undef>, cannot load DB library

[dbcon.c 4472]

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

M in_ThErrHandle: 1

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

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 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 7084) [dpuxtool.c 322]

markus_doehr2
Active Contributor
0 Kudos

> B *** ERROR => Invalid profile parameter dbms/type (or environment variable dbms_type) = <undef>, cannot load DB library

Edit your instance profile (\usr\sap\<SID>\SYS\profile\<SID>_<hostname>_<instanceno> and add there "ADA" as value. Then stop the system and restart it.

Markus

Former Member
0 Kudos

Thanks you very much for the help. I made that change and added the DIR_LIBRARY env variable and I'm back up again.

Thanks

~jd

markus_doehr2
Active Contributor
0 Kudos

Great to hear it works again!!

Markus

Answers (0)