cancel
Showing results for 
Search instead for 
Did you mean: 

Error occurred during CTM planning run

Former Member
0 Kudos

Hi folks,

Appreciate your co-operations!

I am facing the problem while running the CTM with the profile DEMO2.

CTM Planning Run gives one error and alert.

Error: Error occurred during CTM planning run

Technical Data

Message type__________ A (Cancel)

Message class_________ /SAPAPO/CTM1 (CTM: Messgaes)

Message number________ 401

Problem class_________ 1 (very important)

Number________________ 1

Environment Information

CTM Action____________ G

Message type__________ A

Alert: Internal error has occurred (<!> Segmentation fault)

Technical Data

Message type__________ E (Error)

Message class_________ /SAPAPO/CTM1 (CTM: Messgaes)

Message number________ 571

Message variable 1____ <!> Segmentation fault

Number________________ 1

Environment Information

CTM Action____________ G

Message type__________ C

Log file display

<i> 04:37:59 optsvr_main.cpp(1363) 'SuperVisor' => Commandline : 4 respected parameters ...

  • Args:

m0001006

sapgw04

28812935

IDX=1

<i> 04:37:59 optsvr_main.cpp(645) 'SuperVisor' * SAP APO CTM Engine [CTM/ctmsvr]

<i> 04:37:59 optsvr_main.cpp(646) 'SuperVisor' * Copyright u00A9 SAP AG 1993-2009

<i> 04:37:59 optsvr_main.cpp(647) 'SuperVisor' *

<i> 04:37:59 optsvr_main.cpp(648) 'SuperVisor' * Version : 7.0_REL SP05, 407661, Nov 25 2009 22:59:47

<i> 04:37:59 optsvr_main.cpp(649) 'SuperVisor' * Platform : ntamd64/x64

<i> 04:37:59 optsvr_main.cpp(650) 'SuperVisor' * Interface : 2.0

<i> 04:37:59 optsvr_main.cpp(651) 'SuperVisor' * Build date : Nov 25 2009 22:59:47 [1259186387]

<i> 04:37:59 optsvr_main.cpp(652) 'SuperVisor' * Build machine : PWDFM163

<i> 04:37:59 optsvr_main.cpp(653) 'SuperVisor' * Latest change : 407661

<i> 04:37:59 optsvr_main.cpp(654) 'SuperVisor' * NW release : 7100.0.3300.0

<i> 04:37:59 optsvr_main.cpp(655) 'SuperVisor' * Perforce branch: 7.0_REL

<i> 04:37:59 optsvr_main.cpp(656) 'SuperVisor' *

<i> 04:37:59 optsvr_main.cpp(676) 'SuperVisor' * Hostname : m0001006

<i> 04:37:59 optsvr_main.cpp(677) 'SuperVisor' * OS version : 5.2.3790 (WinServer2003, NTAMD64) SP2.0 (Service Pack 2), SERVER ENTERPRISE TERMINAL SINGLEUSERTS

<i> 04:37:59 optsvr_main.cpp(678) 'SuperVisor' * PID : 6768

<i> 04:37:59 optsvr_main.cpp(683) 'SuperVisor' * CWD : D:\usr\sap\SC6\DVEBMGS04\log

<i> 04:37:59 optsvr_main.cpp(684) 'SuperVisor' *

<i> 04:37:59 core_sysinfo.cpp(453) 'SuperVisor' * free disk space: 190433 MB

<i> 04:37:59 core_sysinfo.cpp(454) 'SuperVisor' *

<i> 04:37:59 core_sysinfo.cpp(409) 'SuperVisor' * Memory information:

<i> 04:37:59 core_sysinfo.cpp(409) 'SuperVisor' * physical memory: 10238 MB total, 6511 MB available [63% free]

<i> 04:37:59 core_sysinfo.cpp(409) 'SuperVisor' * page file : 73212 MB total, 60889 MB available [83% free]

<i> 04:37:59 core_sysinfo.cpp(409) 'SuperVisor' * virtual memory : 8388607 MB total, 8388499 MB available [99% free]

<i> 04:37:59 optsvr_main.cpp(693) 'SuperVisor' *

<i> 04:37:59 optsvr_main.cpp(783) 'SuperVisor' * running in invoke mode

<i> 04:37:59 optsvr_rfcconnection.cpp(871) 'MsgMgr' <RFC> RfcPing(RFC_HANDLE=1) received in thread#6912

<i> 04:37:59 optsvr_rfcconnection.cpp(692) 'MsgMgr' <RfcConnection> using function module 'RCCF_COMM_PARAM_SET' for sending of parameters/options

<i> 04:37:59 optsvr_rfcconnection.cpp(703) 'MsgMgr' <RfcConnection> using function module 'RCCF_COMM_PARAM_GET' for receiving of parameters/options

<i> 04:37:59 optsvr_rfcconnection.cpp(712) 'MsgMgr' <RfcConnection> using function module 'RCCF_COMM_PROGRESS' for progress informations

<i> 04:37:59 optsvr_rfcconnection.cpp(721) 'MsgMgr' <RfcConnection> using function module 'RCCF_COMM_MESSAGE' for messages

<i> 04:37:59 optsvr_rfcconnection.cpp(730) 'MsgMgr' <RfcConnection> using function module 'RCCF_COMM_RESULT' for (intermediate) result informations

<i> 04:37:59 optsvr_rfcconnection.cpp(739) 'MsgMgr' <RfcConnection> using function module 'RCCF_COMM_SYSINFO' for system informations

<i> 04:37:59 optsvr_rfcconnection.cpp(748) 'MsgMgr' <RfcConnection> using function module 'RCCF_COMM_PERFINFO' for performance informations

<i> 04:37:59 optsvr_rfcconnection.cpp(1269) 'MsgMgr' <RFC> skipping empty profile value [GENERAL] sPROFILE_CUST_ID

<i> 04:37:59 optsvr_rfcconnection.cpp(1835) 'MsgMgr'

Sender/Receiver RFC_HANDLE#1:

<RFC> * RFC connection attributes:

Own Host : m0001006

Partner Host: m0001006

Destination : OPTSERVER_CTM01

Program Name: SAPLRCC_COMM_ENGINE

SystemNr : 04 SystemId : SC6

Client : 700 User : MBATCHA

Language : E ISO Language: EN

CodePage : 1100 Partner CP : 1100

Kernel Rel. : 701 Partner Rel.: 701

Own Release : 711 CPIC ConvId : 28812935

Own Type : E PartnerType : 3

Trace : RFC Role : S

<RFC> * RFC statistic information:

number of calls : 7

number of received data: 10569

number of sent data : 1349

overall reading time : 9073

overall writing time : 162

<i> 04:37:59 optsvr_main.cpp(1110) 'SuperVisor' * Starting MainScript ...

<i> 04:37:59 optsvr_main.cpp(1445) 'SuperVisor'

  • ***************************** OPTSVR - OPTIONS ***************************** *

[CTM_PROFILE]

nCTMENGINEPACKAGESIZE = 500

sCOMPONENT = SCM

sCTMLOGFILE = ctm.DEMO2.0000_0001.20091201043758.log

sCTMLOGFLAG = 0

sCTMPROFILE = DEMO2

sRELEASE = 700

[general]

bUNICODE = true

nSLOT_MAXIMUM = 1

nSLOT_MINIMUM = 1

nSLOT_RESERVED = 1

sAPO_RELEASE = 700

sAPPLICATION = CTM

sExeDir = d:\apoopt\ctm\bin

sExeName = ctmsvr.exe

sHOST = m0001006

sInvokeMode = invoke

sLANGU = E

sMANDT = 700

sPRODUCT_NAME = APO

sPRODUCT_PATCHLEVEL = 0001

sPRODUCT_RELEASE = 700

sPROFILE = DEMO2

sSESSION = tju5Bmz21}6WVG0Sn6pv3W

sSYSTEM = SC6

sUNAME = MBATCHA

[init]

sSECTION0001 = INIT

sSECTION0002 = GENERAL

sSECTION0003 = PASSPORT

sSECTION0004 = CTM_PROFILE

[PASSPORT]

bIS_REMOTE = false

nACTION_TYPE = 1

nSERVICE = 1

sACTION = /SAPAPO/CTMB

sPRE_SYSID = SC6

sSYSID = SC6

sTRANSID = 2205DEDE7A5BF16DA07D001CC46CF90E

sUSERID = MBATCHA

  • ************************** OPTSVR OPTIONS - END **************************** *

<i> 04:37:59 core_msgmgr.cpp(440) 'MsgMgr' * Sending progress number 802 to OutputInterface from []

<i> 04:37:59 core_supervisor.cpp(728) 'SuperVisor' <M> Invoking module 'CTMModelGenerator' [6]->download

<i> 04:37:59 core_msgmgr.cpp(440) 'MsgMgr' * Sending progress number 806 to OutputInterface from [MG]

<i> 04:37:59 ctm_modelgen.cpp(166) 'CTMModelGenerator' ======================================================================

<i> 04:37:59 ctm_modelgen.cpp(167) 'CTMModelGenerator' MG::download

<i> 04:37:59 core_msgmgr.cpp(1110) 'MsgMgr' renaming tracefile

<i> 04:37:59 core_msgmgr.cpp(1111) 'MsgMgr' old name: optsvr_trace20091201_043759_1a70.log

<i> 04:37:59 core_msgmgr.cpp(1112) 'MsgMgr' new name: ctm.DEMO2.20091201_043759_1a70.log

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

  • logfile reopened : Tue Dec 01 04:37:59 2009

  • logfile name : ctm.DEMO2.20091201_043759_1a70.log

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

<i> 04:37:59 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_STATUS_SET

<i> 04:37:59 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_PRDAT_RFC_READ

<i> 04:37:59 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_PLPAR_RFC_READ

<i> 04:37:59 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_LOC_RFC_READ

<i> 04:37:59 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_PPM_RFC_READ

<i> 04:38:02 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_TRANS_RFC_READ

<i> 04:38:02 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_RES_RFC_READ

<i> 04:38:02 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_SSTCK_RFC_READ

<i> 04:38:02 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_CAL_RFC_READ

<i> 04:38:02 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_PLPER_RFC_READ

<i> 04:38:02 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_INCMD_RFC_READ

<i> 04:38:03 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_STATUS_SET

<i> 04:38:03 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_DEM_RFC_READ

<i> 04:38:04 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_SUP_RFC_READ

<i> 04:38:04 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_UCMAP_RFC_READ

<i> 04:38:04 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_STATUS_SET

<i> 04:38:04 core_msgmgr.cpp(440) 'MsgMgr' * Sending progress number 810 to OutputInterface from [MG]

<i> 04:38:04 ctm_modelgen.cpp(735) 'CTMModelGenerator' MG::download done

<i> 04:38:04 ctm_modelgen.cpp(736) 'CTMModelGenerator' ======================================================================

<i> 04:38:04 core_supervisor.cpp(750) 'SuperVisor' <M> Returning from module 'CTMModelGenerator' [6]->download = success [ctx size : 1]

<i> 04:38:04 core_supervisor.cpp(692) 'SuperVisor' <SCR> Starting script 'CTM Solve' with 9.22337e+012 seconds left

<i> 04:38:04 core_supervisor.cpp(692) 'SuperVisor' <SCR> Starting script 'CTM Match' with 9.22337e+012 seconds left

<i> 04:38:04 ctm_executionmanager.cpp(102) 'SuperVisor' ======================================================================

<i> 04:38:04 ctm_executionmanager.cpp(103) 'SuperVisor' statistics:

<i> 04:38:04 ctm_executionmanager.cpp(104) 'SuperVisor' number of demands: 7

<i> 04:38:04 ctm_executionmanager.cpp(105) 'SuperVisor' ======================================================================

<i> 04:38:04 ctm_executionmanager.cpp(107) 'SuperVisor' ======================================================================

<i> 04:38:04 ctm_executionmanager.cpp(108) 'SuperVisor' parameters:

<i> 04:38:04 ctm_executionmanager.cpp(118) 'SuperVisor' time continuous planning

<i> 04:38:04 ctm_executionmanager.cpp(125) 'SuperVisor' backward scheduling

<i> 04:38:04 ctm_executionmanager.cpp(184) 'SuperVisor' CBCLP enabled

<i> 04:38:04 ctm_executionmanager.cpp(457) 'SuperVisor' ======================================================================

<i> 04:38:04 core_supervisor.cpp(728) 'SuperVisor' <M> Invoking module 'CtmEngine' [7]->run

<i> 04:38:04 ctm_executionmanager.cpp(523) 'SuperVisor' ======================================================================

<i> 04:38:04 ctm_executionmanager.cpp(524) 'SuperVisor' EM::execute for packet 1

<i> 04:38:04 ctm_executionmanager.cpp(1570) 'SuperVisor' EM::execute for packet 1 done

<i> 04:38:04 ctm_executionmanager.cpp(1571) 'SuperVisor' ======================================================================

<i> 04:38:04 core_supervisor.cpp(750) 'SuperVisor' <M> Returning from module 'CtmEngine' [7]->run = success [ctx size : 1]

<i> 04:38:04 core_supervisor.cpp(728) 'SuperVisor' <M> Invoking module 'CTMModelGenerator' [6]->upload

<i> 04:38:04 ctm_modelgen.cpp(1097) 'CTMModelGenerator' ======================================================================

<i> 04:38:04 ctm_modelgen.cpp(1098) 'CTMModelGenerator' MG::upload of packet 1

<e> 04:38:05 ctmsvr_script.cpp(229) 'SuperVisor' <!> STRING EXCEPTION : <!> Segmentation fault

<i> 04:38:05 rfc_connection.cpp(599) 'MsgMgr' <rfc> calling function module /SAPAPO/CTM_INT_STATUS_SET

<i> 04:38:05 optsvr_main.cpp(1166) 'MsgMgr' Current check values:

[CHECK_EQUAL]

[CHECK_UPPERBOUND]

nPEAK_MEMORY_NTAMD64 = 45344

[CHECK_LOWERBOUND]

<i> 04:38:05 optsvr_main.cpp(1209) 'MsgMgr' Performance values:

bSuccess false

nCPU_TIME 0

nPEAK_MEMORY 45344

nPEAK_VIRTUAL_BYTES 141844

nREAL_TIME 6

tracefile ctm.DEMO2.20091201_043759_1a70.log

<i> 04:38:05 optsvr_main.cpp(1235) 'MsgMgr' Performance Monitor values:

ENGINE_VERSION 7.0_REL SP05, 407661, Nov 25 2009 22:59:47

nCPU_TIME 0

nHD_FREESPACE 190433

nPEAK_MEMORY 45344

nPEAK_VIRTUAL_BYTES 141844

nREAL_TIME 6

<i> 04:38:05 optsvr_dsr.cpp(96) 'MsgMgr' <writeDSRdata> tracing not active => no DSR written

<i> 04:38:05 optsvr_main.cpp(1256) 'SuperVisor'

  • ***********************

  • Finished->FAILED ...

  • ***********************

<i> 04:38:05 core_memmgr.cpp(564) 'MsgMgr' transferring memory of heap 6912 to main heap

<i> 04:38:05 core_memmgr.cpp(606) 'MsgMgr' finished transfer of heap 6912

<i> 04:38:05 optsvr_rfcconnection.cpp(1835) 'MsgMgr'

Sender/Receiver RFC_HANDLE#1:

<RFC> * RFC connection attributes:

Own Host : m0001006

Partner Host: m0001006

Destination : OPTSERVER_CTM01

Program Name: SAPLRCC_COMM_ENGINE

SystemNr : 04 SystemId : SC6

Client : 700 User : MBATCHA

Language : E ISO Language: EN

CodePage : 1100 Partner CP : 1100

Kernel Rel. : 701 Partner Rel.: 701

Own Release : 711 CPIC ConvId : 28812935

Own Type : E PartnerType : 3

Trace : RFC Role : S

<RFC> * RFC statistic information:

number of calls : 116

number of received data: 420457

number of sent data : 39262

overall reading time : 5.30093e+006

overall writing time : 3831

<i> 04:38:05 optsvr_main.cpp(1332) 'MsgMgr'

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

  • OptimizeServer says GOOD BYE

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

Please help me to resolve this issue.

Thanks & Regards,

Khadar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Khadar,

1) The information you have provided is the CTM optimiser log.

Run the job in background and in sm37 and click on job log &

analyse the exact error happened. In case if you are not able

to do, please provide the error log.

2) Check the livecache is stable in its operations when the job

runs (check with basis team)

3) Run consistency check for master data before CTM run

4) Check for any struck queues and clear those and rerun

5) If you feel more inconsistencies in system, run livecache

consistency and rerun CTM run

Regards

R. Senthil Mareeswaran.

Answers (0)