cancel
Showing results for 
Search instead for 
Did you mean: 

SUM SPS Update hangs on phase MAIN_TRANSEXEC/STARTSAP_TRACT

christoph_volkert
Participant
0 Kudos

Hello,

im doing a update of a SAP ECC 6.0 EHP7 System to the latest SPS.

Means Netweaver 7.4 Pl 8 to PL 20

i have created a stack.xml file via Maintenace Manager and am applying the updates via SUM.

It works good, beside a smaller error because of a component ECC-DIMP, which was not in a equvalent patchlevel, which i ignored because ECC-DIMP was never activated and therefore no data loss should happen (well, i don't know if this correct but don't think it is related to this problem)

I used scenario "single system" for the SUM, which should mean no shadow instance.

Well, now i hang in phase MAIN_TRANSEXEC/STARTSAP_TRACT and disp+work is not starting.

SAPup.ECO

EXECUTING /usr/sap/DM5/DVEBMGS00/exe/sapcontrol -prot NI_HTTP -host iteasap17 -nr 00 -function StartWait 300 10

18.01.2019 13:20:40
Start
OK

18.01.2019 13:21:21
StartWait
FAIL: process disp+work Dispatcher not running
SAPup> Process with PID 1028 terminated with status 2 at 20190118132121!
SAPup> Starting subprocess with PID 1694 in phase 'STARTSAP_TRACT' at 20190118132121
    ENV: DIR_LIBRARY=/usr/sap/DM5/DVEBMGS00/exe
    ENV: LD_LIBRARY_PATH=/usr/sap/DM5/DVEBMGS00/exe:/usr/sap/DM5/SYS/exe/run:/usr/sap/DM5/SYS/exe/uc/linuxx86_64:/sapdb/clients/DM5/lib
    ENV: PATH=/usr/sap/DM5/DVEBMGS00/exe:/sapdb/clients/DM5/bin:/sapdb/programs/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/sap/DM5/SYS/exe/uc/linuxx86_64:/usr/sap/DM5/SYS/exe/run:/home/dm5adm:.
    ENV: RSEC_SSFS_DATAPATH=/usr/sap/DM5/SYS/global/security/rsecssfs/data
    ENV: RSEC_SSFS_KEYPATH=/usr/sap/DM5/SYS/global/security/rsecssfs/key
    ENV: SAPSYSTEMNAME=DM5
    ENV: dbms_type=ADA
 *DBENV: dbs_ada_schema=SAPDM5
    ENV: rsdb_ssfs_connect=0
 *DBENV: (auth_shadow_upgrade)
    PWD: /usr/sap/DM5/SUM/abap/tmp

EXECUTING /usr/sap/DM5/DVEBMGS00/exe/sapcontrol -format script -prot NI_HTTP -host iteasap17 -nr 00 -function GetProcessList

18.01.2019 13:21:21
GetProcessList
OK
0 name: msg_server
0 description: MessageServer
0 dispstatus: GREEN
0 textstatus: Running
0 starttime: 2019 01 18 13:20:42
0 elapsedtime: 0:00:39
0 pid: 1490
1 name: enserver
1 description: EnqueueServer
1 dispstatus: GREEN
1 textstatus: Running
1 starttime: 2019 01 18 13:20:42
1 elapsedtime: 0:00:39
1 pid: 1491
2 name: disp+work
2 description: Dispatcher
2 dispstatus: GRAY
2 textstatus: Stopped
2 starttime: 
2 elapsedtime: 
2 pid: 1492

Accepted Solutions (1)

Accepted Solutions (1)

christoph_volkert
Participant
0 Kudos

Yeep, seems this was it.

I had those settings already in

/etc/sysctl.d/sap

but they seems not be used. After adding the lines

kernel.sem=1250 256000 100 1024
vm.max_map_count=2000000
kernel.shmmax = 68719476736
kernel.shmall = 41943040

to /etc/sysctl.d and doing a

sysctl -p

it works now.

Answers (4)

Answers (4)

alichtenau
Advisor
Advisor

Hi Christoph,

would you please attach the dev_disp work process trace?

Best regards,
Andreas

alichtenau
Advisor
Advisor
0 Kudos

Please check SAP Note 2663418 regarding this issue.

christoph_volkert
Participant
0 Kudos

It seems like the file is not accessible, i attach it again

dev-disp.txt

christoph_volkert
Participant
0 Kudos

Hello Andreas,

dev_disp is attached.

I also found another hint on

dev_w0

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

                                                                                                                                               
---------------------------------------------------                                                                                            
trc file: "dev_w0", trc level: 1, release: "753"                                                                                               
---------------------------------------------------                                                                                            
*                                                                                                                                              
*  ACTIVE TRACE LEVEL           1                                                                                                              
*  ACTIVE TRACE COMPONENTS      all, MJ                                                                                                        
*                                                                                                                                              
M sysno      00                                                                                                                                
M sid        DM5                                                                                                                               
M systemid   390 (AMD/Intel x86_64 with Linux)                                                                                                 
M relno      7530                                                                                                                              
M patchlevel 0                                                                                                                                 
M patchno    300                                                                                                                               
M intno      20170305                                                                                                                          
M make       multithreaded, Unicode, 64 bit, optimized                                                                                         
M profile    /usr/sap/DM5/SYS/profile/DM5_DVEBMGS00_iteasap17                                                                                  
M pid        1501                                                                                                                              
M                                                                                                                                              
M                                                                                                                                              
M Fri Jan 18 13:20:43:372 2019                                                                                                                 
M  kernel runs with dp version 59000(ext=119000) (@(#) DPLIB-INT-VERSION-0+59000-UC)                                                           
M  length of sys_adm_ext is 524 bytes                                                                                                          
M  ThStart: taskhandler started                                                                                                                
M  ThInit: initializing DIA work process W0                                                                                                    
X  MM global diagnostic options set: 0                                                                                                         
M  ***LOG Q01=> ThInit, WPStart (Workp. 0 1 1501) [thxxhead.c   1107]                                                                          
M                                                                                                                                              
M Fri Jan 18 13:20:44:900 2019                                                                                                                 
M  ThInit: running on host iteasap17                                                                                                           
I  MtxInit: 0 0 0                                                                                                                              
I  *** ERROR => e=28 semget(20091,1,2016) (28: No space left on device) [semux.c      500]                                                     
M  *** ERROR => ThrRegisterSem: SemInit(91) failed [thxxrun1.c   362]                                                                          
M  *** ERROR => ThCallHooks: event handler ThrRegisterSem for event BEFORE_DB_CONNECT failed (-1) [thSos.c      2118]                          
M  in_ThErrHandle: 1                                                                                                                           
M  *** ERROR => ThCallHooks: hook failed (step TH_INIT, thRc ERROR-CORE-INTERNAL_ERROR, action STOP_WP, level 1) [thxxhead.c   2748]           
M                                                                                                                                              
M  Info for wp 0                                                                                                                               
M                                                                                                                                              
M    pid = 1501                                                                                                                                
M    severity = 0                                                                                                                              
M    status = 0                                                                                                                                
M    stat = WP_NEW                                                                                                                             
M    waiting_for = NO_WAITING                                                                                                                  
M    workerType = DP_WORKER_DIAWP                                                                                                              
M    act_cs_count = 0                                                                                                                          
M    csTrack = 0                                                                                                                               
M    csTrackRwExcl = 0                                                                                                                         
M    csTrackRwShrd = 0                                                                                                                         
M    mode_cleaned_counter = 0                                                                                                                  
M    control_flag = 0x0                                                                                                                        
M    report = >                                        <                                                                                       
M    action = 0                                                                                                                                
M    tab_name = >                              <                                                                                               
M                                                                                                                                              
M  ThIErrHandle: no current incoming request                                                                                                   
M                                                                                                                                              
M  PfRejectStatistic: clear statistic record                                                                                                   
M  PfClearAllRec: clear statistic area                                                                                                         
M  PfClearAllRec: set statRecordAction = STAT_RECORD_ACTION_REJECT                                                                             
M  Entering TH_CALLHOOKS                                                                                                                       
M  ThCallHooks: call hooks for event BEFORE_DUMP                                                                                               
M  ThIErrHandle: entering PfSetError                                                                                                           
M  PfSetError: clear statistic record                                                                                                          
M  PfClearAllRec: clear statistic area                                                                                                         
M  PfClearAllRec: set statRecordAction = STAT_RECORD_ACTION_REJECT                                                                             
M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)                                                                       
M                                                                                                                                              
M  ***                                                                                                                                         
M  *** work process W0 died => ThCallHooks: hook failed                                                                                        
M  call ThrShutDown (1)...                                                                                                                     
M  ***LOG Q02=> wp_halt, WPStop (Workp. 0 1501) [dpuxtool.c   317]   
<a href="/storage/attachments/263307-dev-disp.txt">dev-disp.txt</a>