cancel
Showing results for 
Search instead for 
Did you mean: 

Checks after phase MAIN_TRANSEXEC/STARTSAP_TRACT were negative!

Former Member
0 Kudos

Hi SAP Community,

We're trying to install SAP Netweaver 7.51 through the solution manager with the aid of this guidehttps://blogs.sap.com/2016/11/13/new-installation-of-s4hana-1610-part-2-installation/ by Mahesh Sardesai but we're facing a problem at MAIN_TRANSEXEC/STARTSAP_TRACT with the following error.

Last error code set: Process /usr/sap/S4H/D00/exe/sapcontrol exited with 2, see '/usr/sap/S4H/SUM/abap/log/SAPup.ECO' for details System start failed

We've try manually starting the Database through putty but it doesn't seem to work. Here are the logs, appreciate help with any suggestions as we've been going on for days with no success.

Regards

Sean

*SAPup.log - *

CURRENTPHASE MAIN_TRANSEXEC/STARTSAP_TRACT

...started at 20170506133750

# Phase error status set: NO SYSTEM START

# Resource usage self: 0.0/ 0.0/-139MB usr/sys/mem, children 0.2/ 0.1/139MB usr/sys/maxmem.

...finished at 20170506133904 with status FAILED.

# Error message set: 'Process /usr/sap/S4H/D00/exe/sapcontrol exited with 2, see '/usr/sap/S4H/SUM/abap/log/SAPup.ECO' for details

System start failed'

...begin dialog at 20170506133904

SAPup. eco file entry -

StartWait

FAIL: process disp+work Dispatcher not running

SAPup> Process with PID 5243 terminated with status 2 at 20170506133904!

SAPup> Starting subprocess with PID 5951 in phase 'STARTSAP_TRACT' at 20170506133904

ENV: DIR_LIBRARY=/usr/sap/S4H/D00/exe

ENV: LD_LIBRARY_PATH=/usr/sap/S4H/D00/exe:/usr/sap/S4H/SYS/exe/run:/usr/sap/S4H/SYS/exe/uc/linuxx86_64:/usr/sap/S4H/hdbclient

ENV: PATH=/usr/sap/S4H/D00/exe:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/sap/S4H/SYS/exe/uc/linuxx86_64:/usr/sap/S4H/SYS/exe/run:/home/s4hadm:.:/usr/sap/S4H/hdbclient

ENV: RSEC_SSFS_DATAPATH=/usr/sap/S4H/SYS/global/security/rsecssfs/data

ENV: RSEC_SSFS_KEYPATH=/usr/sap/S4H/SYS/global/security/rsecssfs/key

ENV: SAPSYSTEMNAME=S4H

ENV: dbms_type=HDB

*DBENV: dbs_hdb_schema=SAPABAP1

ENV: rsdb_ssfs_connect=0

*DBENV: (auth_shadow_upgrade)

PWD: /usr/sap/S4H/SUM/abap/tmp

EXECUTING /usr/sap/S4H/D00/exe/sapcontrol -format script -prot NI_HTTP -host ukdemopoc -nr 00 -function GetProcessList

06.05.2017 13:39:04

GetProcessList

OK

0 name: msg_server

0 description: MessageServer

0 dispstatus: GREEN

0 textstatus: Running

0 starttime: 2017 05 06 13:38:23

0 elapsedtime: 0:00:41

0 pid: 5780

1 name: enserver

1 description: EnqueueServer

1 dispstatus: GREEN

1 textstatus: Running

1 starttime: 2017 05 06 13:38:23

1 elapsedtime: 0:00:41

1 pid: 5781

2 name: disp+work

2 description: Dispatcher

2 dispstatus: GRAY

2 textstatus: Stopped

2 starttime:

2 elapsedtime:

2 pid: 5782

[root@ukdemopoc~]# ps -ef| grep sapstartsrv

s4dadm 2013 1 0 May03 ? 00:00:05 /usr/sap/S4D/HDB02/exe/sapstartsrv pf=/usr/sap/S4D/SYS/profile/S4D_HDB02_ukdemopoc-D -u s4dadm

s4hadm 13851 1 0 May05 ? 00:00:13 /usr/sap/S4H/ASCS01/exe/sapstartsrv pf=/usr/sap/S4H/SYS/profile/S4H_ASCS01_ukdemopoc-D

s4hadm 24925 1 0 May06 ? 00:00:09 sapstartsrv pf=/usr/sap/S4H/SYS/profile/S4H_D00_ukdemopoc-D

sapadm 36091 1 0 May05 ? 00:00:13 /usr/sap/hostctrl/exe/sapstartsrv pf=/usr/sap/hostctrl/exe/host_profile -D

root 58655 58432 0 22:50 pts/0 00:00:00 grep --color=auto sapstartsrv

S4D_HDB02_ukpoc -D -u s4dadm

s4dadm 10814 1 0 May03 ? 00:00:00 sapstart pf=/usr/sap/S4D/SYS/profile/S4D_HDB02_ukpoc

s4dadm 10822 10814 0 May03 ? 00:00:17 /usr/sap/S4D/HDB02/ukpoc/trace/hdb.sapS4D_HDB02 -d -nw -f /usr/sap/S4D/HDB02/ukpoc/daemon.ini pf=/usr/sap/S4D/SYS/profile/S4D_HDB02_ukpoc

s4dadm 10838 10822 3 May03 ? 04:08:20 hdbnameserver

s4dadm 11039 10822 1 May03 ? 01:19:08 hdbcompileserver

s4dadm 11041 10822 1 May03 ? 01:18:05 hdbpreprocessor

s4dadm 11075 10822 22 May03 ? 1-03:42:30 hdbindexserver -port 30203

s4dadm 11077 10822 1 May03 ? 01:44:30 hdbxsengine -port 30207

s4dadm 11438 10822 0 May03 ? 01:12:52 hdbwebdispatcher

s4hadm 61514 60526 0 17:28 pts/0 00:00:00 grep --color=auto -i hdb

ukpoc:s4hadm 39> ps -aef | grep -i hdb|grep -v grep

s4dadm 2013 1 0 May03 ? 00:00:06 /usr/sap/S4D/HDB02/exe/sapstartsrv pf=/usr/sap/S4D/SYS/profile/S4D_HDB02_ukpoc -D -u s4dadm

s4dadm 10814 1 0 May03 ? 00:00:00 sapstart pf=/usr/sap/S4D/SYS/profile/S4D_HDB02_ukpoc

s4dadm 10822 10814 0 May03 ? 00:00:17 /usr/sap/S4D/HDB02/ukpoc/trace/hdb.sapS4D_HDB02 -d -nw -f /usr/sap/S4D/HDB02/ukpoc/daemon.ini pf=/usr/sap/S4D/SYS/profile/S4D_HDB02_ukpoc

s4dadm 10838 10822 3 May03 ? 04:08:21 hdbnameserver

s4dadm 11039 10822 1 May03 ? 01:19:08 hdbcompileserver

s4dadm 11041 10822 1 May03 ? 01:18:05 hdbpreprocessor

s4dadm 11075 10822 22 May03 ? 1-03:42:38 hdbindexserver -port 30203

s4dadm 11077 10822 1 May03 ? 01:44:31 hdbxsengine -port 30207

s4dadm 11438 10822 0 May03 ? 01:12:53 hdbwebdispatcher

ukpoc:s4hadm 41> R3trans -d

This is R3trans version 6.26 (release 749 - 14.02.17 - 20:17:01).

unicode enabled version

R3trans finished (0000).

[root@ukdemopoc~]# /usr/sap/S4H/D00/exe/sapcontrol -nr 00 -function GetSystemInstanceList

07.05.2017 22:48:49

GetSystemInstanceList

OK

hostname, instanceNr, httpPort, httpsPort, startPriority, features, dispstatus

ukpoc, 1, 50113, 50114, 1, MESSAGESERVER|ENQUE, GREEN

ukpoc, 0, 50013, 50014, 2, ABAP|GATEWAY|MESSAGESERVER|ENQUE|ICMAN, YELLOW

Log of dev_W0

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

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

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

*

* ACTIVE TRACE LEVEL 1

* ACTIVE TRACE COMPONENTS all, MJ

*

M sysno 00

M sid S4H

M systemid 390 (AMD/Intel x86_64 with Linux)

M relno 7490

M patchlevel 0

M patchno 200

M intno 20160201

M make multithreaded, Unicode, 64 bit, optimized

M profile /usr/sap/S4H/SYS/profile/S4H_D00_ukpoc

M pid 61098

M

M

M Mon May 8 17:24:11:358 2017

M kernel runs with dp version 20000(ext=118000) (@(#) DPLIB-INT-VERSION-0+20000-UC)

M length of sys_adm_ext is 504 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 61098) [thxxhead.c 1080]

M

M Mon May 8 17:24:13:356 2017

M ThInit: running on host ukpoc

I MtxInit: 0 0 0

I *** ERROR => e=28 semget(20068,1,2016) (28: No space left on device) [semux.c 498]

M *** ERROR => ThrRegisterSem: SemInit(68) failed [thxxrun1.c 356]

M *** ERROR => ThCallHooks: event handler ThrRegisterSem for event BEFORE_DB_CONNECT failed (-1) [thSos.c 2105]

M in_ThErrHandle: 1

M *** ERROR => ThCallHooks: hook failed (step TH_INIT, thRc ERROR-CORE-INTERNAL_ERROR, action STOP_WP, level 1) [thxxhead.c 2551]

M

M Info for wp 0

M

M pid = 61098

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 = 0

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 ThSetStatError

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 61098) [dpuxtool.c 317]

df -f

Filesystem Size Used Avail Use% Mounted on

/dev/sda2 128G 106G 23G 83% /

devtmpfs 111G 0 111G 0% /dev

tmpfs 111G 316K 111G 1% /dev/shm

tmpfs 111G 33M 111G 1% /run

tmpfs 111G 0 111G 0% /sys/fs/cgroup

/dev/sda1 497M 117M 381M 24% /boot

/dev/mapper/datavg-usr_sap 50G 17G 34G 34% /usr/sap

/dev/mapper/datavg-hana 25G 12G 14G 48% /hana

/dev/mapper/datavg-hana_S4D 256G 33M 256G 1% /hana/S4D

/dev/mapper/datavg-hana_data 1.4T 69G 1.3T 5% /hana/data

/dev/mapper/datavg-hana_log 256G 3.3G 253G 2% /hana/log

/dev/sdb1 2.0T 102G 1.8T 6% /mnt/resource

tmpfs 23G 16K 23G 1% /run/user/42

tmpfs 23G 0 23G 0% /run/user/1005

tmpfs 23G 0 23G 0% /run/user/1006

tmpfs 23G 24K 23G 1% /run/user/1002

tmpfs 23G 16K 23G 1% /run/user/1003

tmpfs 23G 0 23G 0% /run/user/1004

Accepted Solutions (0)

Answers (2)

Answers (2)

alichtenau
Advisor
Advisor
0 Kudos

Hi Sean,

the semget error means that the system reached the maximum number of semaphore sets, or the maximum number of semaphores system wide. Please check "http://wiki.scn.sap.com/wiki/x/wIJaFg" and adapt your OS parameter (see also referenced notes).

Cheers,
Andreas

Reagan
Product and Topic Expert
Product and Topic Expert
0 Kudos

The problem is most likely at the OS level. Have you set up the Linux (which distribution?) parameters according to the SAP recommendations? Supply the contents of /etc/sysctl.conf and /etc/security/limits.conf. Check the recommendation given in the below notes and configure the OS parameters. Activate them and restart the SAP system.

https://launchpad.support.sap.com/#/notes/941735/E

https://launchpad.support.sap.com/#/notes/900929/E