cancel
Showing results for 
Search instead for 
Did you mean: 

cannot start sap system from sap managment console

mikesenikoglou
Explorer
0 Kudos

Hi forum,

I am very new to sap netweaver and sap in general so please bare with me. I managed to finish the installation of the netweaver 7 trial version. I am trying to start the local sap system from the sap managment console, but it never turns green. It only remains yellow for the time (secs) I specify before trying to start it.

Any ideas on what may be wrong?

Accepted Solutions (0)

Answers (5)

Answers (5)

p330068
Active Contributor
0 Kudos

Hi Mike,

As above suggestions, please check the log files and check/update the following before starting the server.

- Update JAVA_HOME system enviromental variable in my computer (My computer > Properties >> Advance >> Startup and

Recovery >> Enviromental Variable >> System Variables >> Add new JAVA_HOME parameter with path for installed Java JDK)

- Check database server services (Start > Run > Services.msc >> Start your database services manually and change properties as automatic)

- Start > RUN > drivers > etc > services and add an entry sapms<SID> 36<systemnumber>/tcp

- Update your server IP address and host name in host file entry at (Start > RUN > drivers > etc > host file)

Then try to start the server. Hope it will works

Regards

Arun Jaiswal

mikesenikoglou
Explorer
0 Kudos

As suggested I tried to find the developer trace. In sap management console I expanded SAP Systems, expanded NSP, expanded MSEN - PC and located the process list. I get to entries in that.

Process msg_server

Process disp+work

trace for msg_server

-


trc file: "dev_ms", trc level: 1, release: "701"

-


[Thr 2988] Fri Oct 01 12:50:46 2010

[Thr 2988] MsSSetTrcLog: trc logging active, max size = 20971520 bytes

systemid 560 (PC with Windows NT)

relno 7010

patchlevel 0

patchno 0

intno 20020600

make: multithreaded, ASCII, optimized

pid 2420

[Thr 2988] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 2420) [msxxserv.c 1853]

[Thr 2988] ***LOG Q0I=> NiPGetServByName2: service 'sapmsNSP' not found: getservbyname_r [ninti.c 530]

[Thr 2988] *** ERROR => MsSCommInit: NiBufListen(sapmsNSP) (rc=NIESERV_UNKNOWN) [msxxserv.c 10212]

[Thr 2988] *** ERROR => MsSInit: MsSCommInit [msxxserv.c 1888]

[Thr 2988] *** ERROR => main: MsSInit [msxxserv.c 5974]

[Thr 2988] ***LOG Q02=> MsSHalt, MSStop (Msg Server 2420) [msxxserv.c 6021]

mikesenikoglou
Explorer
0 Kudos

I added the disp+work developer trace because if I add it in the above post it makes the whole post unreadable. Cartridge returns are lost

-


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

-


sysno 00

sid NSP

systemid 560 (PC with Windows NT)

relno 7010

patchlevel 0

patchno 7

intno 20020600

make: multithreaded, ASCII, optimized

pid 1396

Fri Oct 01 12:50:46 2010

kernel runs with dp version 240(ext=110) (@(#) DPLIB-INT-VERSION-240)

length of sys_adm_ext is 364 bytes

      • SWITCH TRC-HIDE on ***

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

shared lib "dw_xml.dll" version 7 successfully loaded

shared lib "dw_xtc.dll" version 7 successfully loaded

shared lib "dw_stl.dll" version 7 successfully loaded

shared lib "dw_gui.dll" version 7 successfully loaded

shared lib "dw_mdm.dll" version 7 successfully loaded

rdisp/softcancel_sequence : -> 0,5,-1

use internal message server connection to port 3900

Fri Oct 01 12:50:48 2010

      • WARNING => DpNetCheck: NiHostToAddr(www.doesnotexist0153.qqq.nxst) took 2 seconds

Fri Oct 01 12:50:53 2010

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

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

MtxInit: 30000 0 0

DpSysAdmExtInit: ABAP is active

DpSysAdmExtInit: VMC (JAVA VM in WP) is not active

DpIPCInit2: start server >MSen-PC_NSP_00 <

DpShMCreate: sizeof(wp_adm) 8232 (1176)

DpShMCreate: sizeof(tm_adm) 3786880 (18840)

DpShMCreate: sizeof(wp_ca_adm) 1280 (60)

DpShMCreate: sizeof(appc_ca_adm) 1200 (60)

DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528040/528048

DpShMCreate: sizeof(comm_adm) 528048 (1048)

DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0

DpShMCreate: sizeof(slock_adm) 0 (96)

DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0

DpShMCreate: sizeof(file_adm) 0 (72)

DpShMCreate: sizeof(vmc_adm) 0 (1296)

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

DpShMCreate: sizeof(gw_adm) 48

DpShMCreate: SHM_DP_ADM_KEY (addr: 05D20040, size: 4389744)

DpShMCreate: allocated sys_adm at 05D20040

DpShMCreate: allocated wp_adm at 05D21BF8

DpShMCreate: allocated tm_adm_list at 05D23C20

DpShMCreate: allocated tm_adm at 05D23C50

DpShMCreate: allocated wp_ca_adm at 060C04D0

DpShMCreate: allocated appc_ca_adm at 060C09D0

DpShMCreate: allocated comm_adm at 060C0E80

DpShMCreate: system runs without slock table

DpShMCreate: system runs without file table

DpShMCreate: allocated vmc_adm_list at 06141D30

DpShMCreate: allocated gw_adm at 06141D70

DpShMCreate: system runs without vmc_adm

DpShMCreate: allocated ca_info at 06141DA0

DpShMCreate: allocated wall_adm at 06141DA8

MBUF state OFF

DpCommInitTable: init table for 500 entries

rdisp/queue_size_check_value : -> off

ThTaskStatus: rdisp/reset_online_during_debug 0

EmInit: MmSetImplementation( 2 ).

MM global diagnostic options set: 0

<ES> client 0 initializing ....

<ES> InitFreeList

<ES> block size is 1024 kByte.

Using implementation view

<EsNT> Using memory model view.

<EsNT> Memory Reset disabled as NT default

<ES> 127 blocks reserved for free list.

ES initialized.

rdisp/http_min_wait_dia_wp : 1 -> 1

Fri Oct 01 12:50:54 2010

***LOG Q0I=> NiPConnect2: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 2832]

      • ERROR => NiPConnect2: SiPeekPendConn failed for hdl 2 / sock 776

(SI_ECONN_REFUSE/10061; I4; ST; 10.10.0.10:3900) [nixxi.cpp 2832]

      • ERROR => MsIAttachEx: NiBufConnect to MSen-PC/3900 failed (rc=NIECONN_REFUSED) [msxxi.c 652]

***LOG Q0L=> DpLoopInit, nomscon () [dpxxdisp.c 1781]

CCMS: alert/MONI_SEGM_SIZE = 0 monitoring and alerting switched off.

Fri Oct 01 12:51:35 2010

***LOG Q0I=> NiPConnect2: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 2832]

      • ERROR => NiPConnect2: SiPeekPendConn failed for hdl 4 / sock 864

(SI_ECONN_REFUSE/10061; I4; ST; 10.10.0.10:3900) [nixxi.cpp 2832]

      • ERROR => MsIAttachEx: NiBufConnect to MSen-PC/3900 failed (rc=NIECONN_REFUSED) [msxxi.c 652]

my types changed after wp death/restart 0x9f --> 0x9e

      • ERROR => MsIModTypes: not_attached [msxxi.c 1834]

my types changed after wp death/restart 0x9e --> 0x9c

      • ERROR => MsIModTypes: not_attached [msxxi.c 1834]

my types changed after wp death/restart 0x9c --> 0x98

      • ERROR => MsIModTypes: not_attached [msxxi.c 1834]

my types changed after wp death/restart 0x98 --> 0x90

      • ERROR => MsIModTypes: not_attached [msxxi.c 1834]

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

      • ERROR => MsIModTypes: not_attached [msxxi.c 1834]

      • DP_FATAL_ERROR => DpWPCheck: no more work processes

Edited by: mike senikoglou on Oct 1, 2010 12:23 PM

mikesenikoglou
Explorer
0 Kudos

sorry for posting like that but it appears that after a certain number of lines the post losses catridge returns

      • DISPATCHER EMERGENCY SHUTDOWN ***

increase tracelevel of WPs

NiWait: sleep (10000ms) ...

NiISelect: timeout 10000ms

NiISelect: maximum fd=865

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Fri Oct 01 12:51:45 2010

NiISelect: TIMEOUT occured (10000ms)

dump system status

Workprocess Table (long) Fri Oct 01 09:51:45 2010

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

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

-


0 DIA 3740 Ended no 1 0 0

1 DIA 3720 Ended no 1 0 0

2 DIA 972 Ended no 1 0 0

3 UPD 3016 Ended no 1 0 0

4 ENQ 836 Ended no 1 0 0

5 BTC 4024 Ended no 1 0 0

6 SPO 3576 Ended no 1 0 0

Dispatcher Queue Statistics Fri Oct 01 09:51:45 2010

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

--------


+
+

+

+
--


+

Typ

now

high

max

writes

reads

--------


+
+

+

+
--


+

NOWP

0

2

2000

6

6

--------


+
+

+

+
--


+

DIA

3

3

2000

3

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 0

wake events total 7, udp 7 (100%), shm 0 ( 0%)

since last update total 7, udp 7 (100%), shm 0 ( 0%)

Dump of tm_adm structure: Fri Oct 01 09:51:45 2010

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

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

Workprocess Comm. Area Blocks Fri Oct 01 09:51:45 2010

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

Slots: 20, Used: 0, Max: 0

--------


+
+
--


+

id

owner

pid

eyecatcher

--------


+
+
--


+

mikesenikoglou
Explorer
0 Kudos

I am happy to say that the message server is running now. I managed to do that by adding sapmsnsp 3600/tcp

in the system32\drivers\etc\services. Unfortunately the dispatcher in still not running

developer trace

-


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

-


sysno 00

sid NSP

systemid 560 (PC with Windows NT)

relno 7010

patchlevel 0

patchno 7

intno 20020600

make: multithreaded, ASCII, optimized

pid 2328

Fri Oct 01 13:58:53 2010

kernel runs with dp version 240(ext=110) (@(#) DPLIB-INT-VERSION-240)

length of sys_adm_ext is 364 bytes

      • SWITCH TRC-HIDE on ***

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

shared lib "dw_xml.dll" version 7 successfully loaded

shared lib "dw_xtc.dll" version 7 successfully loaded

shared lib "dw_stl.dll" version 7 successfully loaded

shared lib "dw_gui.dll" version 7 successfully loaded

shared lib "dw_mdm.dll" version 7 successfully loaded

rdisp/softcancel_sequence : -> 0,5,-1

use internal message server connection to port 3900

Fri Oct 01 13:58:58 2010

      • 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 5529]

MtxInit: 30000 0 0

DpSysAdmExtInit: ABAP is active

DpSysAdmExtInit: VMC (JAVA VM in WP) is not active

DpIPCInit2: start server >MSen-PC_NSP_00 <

DpShMCreate: sizeof(wp_adm) 8232 (1176)

DpShMCreate: sizeof(tm_adm) 3786880 (18840)

DpShMCreate: sizeof(wp_ca_adm) 1280 (60)

DpShMCreate: sizeof(appc_ca_adm) 1200 (60)

DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528040/528048

DpShMCreate: sizeof(comm_adm) 528048 (1048)

DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0

DpShMCreate: sizeof(slock_adm) 0 (96)

DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0

DpShMCreate: sizeof(file_adm) 0 (72)

DpShMCreate: sizeof(vmc_adm) 0 (1296)

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

DpShMCreate: sizeof(gw_adm) 48

DpShMCreate: SHM_DP_ADM_KEY (addr: 05CA0040, size: 4389744)

DpShMCreate: allocated sys_adm at 05CA0040

DpShMCreate: allocated wp_adm at 05CA1BF8

DpShMCreate: allocated tm_adm_list at 05CA3C20

DpShMCreate: allocated tm_adm at 05CA3C50

DpShMCreate: allocated wp_ca_adm at 060404D0

DpShMCreate: allocated appc_ca_adm at 060409D0

DpShMCreate: allocated comm_adm at 06040E80

DpShMCreate: system runs without slock table

DpShMCreate: system runs without file table

DpShMCreate: allocated vmc_adm_list at 060C1D30

DpShMCreate: allocated gw_adm at 060C1D70

DpShMCreate: system runs without vmc_adm

DpShMCreate: allocated ca_info at 060C1DA0

DpShMCreate: allocated wall_adm at 060C1DA8

MBUF state OFF

DpCommInitTable: init table for 500 entries

rdisp/queue_size_check_value : -> off

ThTaskStatus: rdisp/reset_online_during_debug 0

EmInit: MmSetImplementation( 2 ).

MM global diagnostic options set: 0

<ES> client 0 initializing ....

<ES> InitFreeList

<ES> block size is 1024 kByte.

Using implementation view

<EsNT> Using memory model view.

<EsNT> Memory Reset disabled as NT default

<ES> 127 blocks reserved for free list.

ES initialized.

rdisp/http_min_wait_dia_wp : 1 -> 1

***LOG Q0K=> DpMsAttach, mscon ( MSen-PC) [dpxxdisp.c 12204]

DpStartStopMsg: send start message (myname is >MSen-PC_NSP_00 <)

DpStartStopMsg: start msg sent

CCMS: alert/MONI_SEGM_SIZE = 0 monitoring and alerting switched off.

DpMsgAdmin: Set release to 7010, patchlevel 0

MBUF state PREPARED

MBUF component UP

DpMBufHwIdSet: set Hardware-ID

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

DpMsgAdmin: Set patchno for this platform to 7

Release check o.K.

Jozsó
Explorer
0 Kudos

Hi,

can you define also the dispatcher and gateway ports in the services file as per SAP note: 896973

Let me know the actual status/errors after this.

Regards,

Jozsef

mikesenikoglou
Explorer
0 Kudos

sorry I am very new to sap. Can you provide a link to this sap note?

Jozsó
Explorer
mikesenikoglou
Explorer
0 Kudos

CAn you give an example or describe the procedure. I am unable to access the marketplace

mikesenikoglou
Explorer
0 Kudos

this is the services file. I dont think I am missing an entry about the SAP system

.

.

.

.

sapdbni72 7269/tcp

sapdp00 3200/tcp

sapdp01 3201/tcp

sapdp02 3202/tcp

sapdp03 3203/tcp

sapdp04 3204/tcp

sapdp05 3205/tcp

sapdp06 3206/tcp

sapdp07 3207/tcp

sapdp08 3208/tcp

sapdp09 3209/tcp

sapdp10 3210/tcp

sapdp11 3211/tcp

sapdp12 3212/tcp

sapdp13 3213/tcp

sapdp14 3214/tcp

sapdp15 3215/tcp

sapdp16 3216/tcp

sapdp17 3217/tcp

sapdp18 3218/tcp

sapdp19 3219/tcp

sapdp20 3220/tcp

sapdp21 3221/tcp

sapdp22 3222/tcp

sapdp23 3223/tcp

sapdp24 3224/tcp

sapdp25 3225/tcp

sapdp26 3226/tcp

sapdp27 3227/tcp

sapdp28 3228/tcp

sapdp29 3229/tcp

sapdp30 3230/tcp

sapdp31 3231/tcp

sapdp32 3232/tcp

sapdp33 3233/tcp

sapdp34 3234/tcp

sapdp35 3235/tcp

sapdp36 3236/tcp

sapdp37 3237/tcp

sapdp38 3238/tcp

sapdp39 3239/tcp

sapdp40 3240/tcp

sapdp41 3241/tcp

sapdp42 3242/tcp

sapdp43 3243/tcp

sapdp44 3244/tcp

sapdp45 3245/tcp

sapdp46 3246/tcp

sapdp47 3247/tcp

sapdp48 3248/tcp

sapdp49 3249/tcp

sapdp50 3250/tcp

sapdp51 3251/tcp

sapdp52 3252/tcp

sapdp53 3253/tcp

sapdp54 3254/tcp

sapdp55 3255/tcp

sapdp56 3256/tcp

sapdp57 3257/tcp

sapdp58 3258/tcp

sapdp59 3259/tcp

sapdp60 3260/tcp

sapdp61 3261/tcp

sapdp62 3262/tcp

sapdp63 3263/tcp

sapdp64 3264/tcp

sapdp65 3265/tcp

sapdp66 3266/tcp

sapdp67 3267/tcp

sapdp68 3268/tcp

sapdp69 3269/tcp

sapdp70 3270/tcp

sapdp71 3271/tcp

sapdp72 3272/tcp

sapdp73 3273/tcp

sapdp74 3274/tcp

sapdp75 3275/tcp

sapdp76 3276/tcp

sapdp77 3277/tcp

sapdp78 3278/tcp

sapdp79 3279/tcp

sapdp80 3280/tcp

sapdp81 3281/tcp

sapdp82 3282/tcp

sapdp83 3283/tcp

sapdp84 3284/tcp

sapdp85 3285/tcp

sapdp86 3286/tcp

sapdp87 3287/tcp

sapdp88 3288/tcp

sapdp89 3289/tcp

sapdp90 3290/tcp

sapdp91 3291/tcp

sapdp92 3292/tcp

sapdp93 3293/tcp

sapdp94 3294/tcp

sapdp95 3295/tcp

sapdp96 3296/tcp

sapdp97 3297/tcp

sapdp98 3298/tcp

sapdp99 3299/tcp

sapgw00 3300/tcp

sapgw01 3301/tcp

sapgw02 3302/tcp

sapgw03 3303/tcp

sapgw04 3304/tcp

sapgw05 3305/tcp

sapgw06 3306/tcp

sapgw07 3307/tcp

sapgw08 3308/tcp

sapgw09 3309/tcp

sapgw10 3310/tcp

sapgw11 3311/tcp

sapgw12 3312/tcp

sapgw13 3313/tcp

sapgw14 3314/tcp

sapgw15 3315/tcp

sapgw16 3316/tcp

sapgw17 3317/tcp

sapgw18 3318/tcp

sapgw19 3319/tcp

sapgw20 3320/tcp

sapgw21 3321/tcp

sapgw22 3322/tcp

sapgw23 3323/tcp

sapgw24 3324/tcp

sapgw25 3325/tcp

sapgw26 3326/tcp

sapgw27 3327/tcp

sapgw28 3328/tcp

sapgw29 3329/tcp

sapgw30 3330/tcp

sapgw31 3331/tcp

sapgw32 3332/tcp

sapgw33 3333/tcp

sapgw34 3334/tcp

sapgw35 3335/tcp

sapgw36 3336/tcp

sapgw37 3337/tcp

sapgw38 3338/tcp

sapgw39 3339/tcp

sapgw40 3340/tcp

sapgw41 3341/tcp

sapgw42 3342/tcp

sapgw43 3343/tcp

sapgw44 3344/tcp

sapgw45 3345/tcp

sapgw46 3346/tcp

sapgw47 3347/tcp

sapgw48 3348/tcp

sapgw49 3349/tcp

sapgw50 3350/tcp

sapgw51 3351/tcp

sapgw52 3352/tcp

sapgw53 3353/tcp

sapgw54 3354/tcp

sapgw55 3355/tcp

sapgw56 3356/tcp

sapgw57 3357/tcp

sapgw58 3358/tcp

sapgw59 3359/tcp

sapgw60 3360/tcp

sapgw61 3361/tcp

sapgw62 3362/tcp

sapgw63 3363/tcp

sapgw64 3364/tcp

sapgw65 3365/tcp

sapgw66 3366/tcp

sapgw67 3367/tcp

sapgw68 3368/tcp

sapgw69 3369/tcp

sapgw70 3370/tcp

sapgw71 3371/tcp

sapgw72 3372/tcp

sapgw73 3373/tcp

sapgw74 3374/tcp

sapgw75 3375/tcp

sapgw76 3376/tcp

sapgw77 3377/tcp

sapgw78 3378/tcp

sapgw79 3379/tcp

sapgw80 3380/tcp

sapgw81 3381/tcp

sapgw82 3382/tcp

sapgw83 3383/tcp

sapgw84 3384/tcp

sapgw85 3385/tcp

sapgw86 3386/tcp

sapgw87 3387/tcp

sapgw88 3388/tcp

sapgw89 3389/tcp

sapgw90 3390/tcp

sapgw91 3391/tcp

sapgw92 3392/tcp

sapgw93 3393/tcp

sapgw94 3394/tcp

sapgw95 3395/tcp

sapgw96 3396/tcp

sapgw97 3397/tcp

sapgw98 3398/tcp

sapgw99 3399/tcp

sapmsNSP 3600/tcp

sapdp00s 4700/tcp

sql30 7200/tcp # SAP DB

vmake 7792/tcp # SAP DB

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

from j2ee point of view I'd also vote for starting the investigation in the WORK folder.

This is under /usr/sap/<SID>/<central instance>/work

Start your analysis on the file dev_jcontrol.

(If this is a release higher than 71, then the file calls dev_jstart.)

If it is complaining about the bootstrap, check the file with such a name.

If it is complaining about the severnode, check the files dev_server0, std_server0, etc.

I hope this helps.

Best Regards,

Ervin

Former Member
0 Kudos

Hi,

As specified by earlier post check the logs.

It only remains yellow for the time (secs)

What happen later,does it come down to gray??

Regards

Uday

vincentlim826
Employee
Employee
0 Kudos

Hi,

You just need to check following traces in your instance WORK folder, to see what is going on.

- dev_ms (for Central Instance)

- dev_disp

- dev_w0, dev_w1

- sapstat.log

- sapstartsrv.log

- stderr* files

Regards,

Vincent

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Mike,

if you right click on a process which has problem coming up, can you find in its context menu an entry like 'developer trace'?

Can you see errors there ?

Thank you!

Best Regards,

Ervin