cancel
Showing results for 
Search instead for 
Did you mean: 

SAPCPE getting failed to execute after Kernel upgrade to SAP Kernel 7.01

Former Member
0 Kudos

Hello All,

I am upgrading my SAP Solution Manager 7.0 to Solution Manager 7.0 enhancement packge 1.

Current scenario:

My current SAP Kernel Release is 700 Supp Pakg level 159.

This is a Windows 2003 server.

There are two instances on this server.

According to the upgrade guide, the prerequisite for applying Enhancement Package 1 is SAP kernel release should be 7.01.

But,after upgrading my Kernel from 7.00 to 7.01,my SAPCPE is failed to execute.

Also when I login to the SAP system, it shows the kernel release as 7.00 only.

So,kindly suggest.

Thank you.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

How are you sure that your sapcpe failed to execute....there might be a problem that you didnt upgraded your kernel properly

do one thing..just stop SAP and do the kernel upgrade again

Make sure that your SAP services are stopped and preferably disable your services as they tend to start automatically.

Also copy the kernel files in 2 locations:

drive:\usr\sap\SID\SYS\exe\uc\NTAMD64

drive:\usr\sap\SID\DVEBMGS01\exe

That will upgrade your kernel successfully

Rohit

Former Member
0 Kudos

Hi Rohit,

Thanks for your reply.

I have followed the same procedure for the Kernel upgrade, but still my SAPCPE could not be executed.

I got to know about the non-execution of SAPCPE from my SAP MMC(Status of SAPCPE is red).

raguraman_c
Active Contributor
0 Kudos

Hi,

Please check for errors in the following files under work dirctory.

_disp Dispatcher developer trace

devms Message Server developer trace

devwp0 Work process 0 developer trace

The information provided is insufficient. Please post dev_sapstart log here.

Feel free to revert back.

-=-Ragu

Former Member
0 Kudos

Hi,

The new Kernel EXEs are non-executable on my (Windows 2003) server.

when I copy these EXEs (eg. sapstartsrv.exe) and try to run it on any other Windows 2003 server,they do not execute.(But getting executed on Windows XP)

I am getting error saying: This application has failed to start because the application configuration is incorrect.Reinstalling the application may fix the problem."

Also in Event Viewer I am getting an error :

"Generate Activation Context failed for D:\usr\sap\<SID>\SYS\exe\uc\NTI386\sapstartsrv.exe. Reference error message: The referenced assembly is not installed on your system."

So,is this the problem with the SAP Kernel 7.01 that it does not get installed on Windows 2003 server,or some other issue?

I am attaching here sapstart log for your referrence:

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

SAP-R/3-Startup Program

Starting at 2009/03/02 13:27:12

Startup Profile: "D:\usr\sap\<SID>\SYS\profile\START_DVEBMGS00_Q4INPUSY026"

Starting Programs

(64224) CreateProcess(D:\usr\sap\<SID>\SYS\exe\uc\NTI386\sapcpe.EXE pf=D:\usr\sap\<SID>\SYS\profile\<SID>_DVEBMGS00_Q4INPUSY026) failed(14001). ERROR_SXS_CANT_GEN_ACTCTX:

(64224) CreateProcess(D:\usr\sap\<SID>\SYS\exe\uc\NTI386\strdbs.cmd <SID>) failed(2). ENOENT*: No such file or directory OR: The system cannot find the file specified.

(64224) CreateProcess(D:\usr\sap\<SID>\DVEBMGS00\exe\msg_server.EXE pf=D:\usr\sap\<SID>\SYS\profile\<SID>_DVEBMGS00_Q4INPUSY026) failed(14001). ERROR_SXS_CANT_GEN_ACTCTX:

(64224) CreateProcess(D:\usr\sap\<SID>\DVEBMGS00\exe\disp+work.EXE pf=D:\usr\sap\<SID>\SYS\profile\<SID>_DVEBMGS00_Q4INPUSY026) failed(14001). ERROR_SXS_CANT_GEN_ACTCTX:

(64224) CreateProcess(D:\usr\sap\<SID>\DVEBMGS00\exe\igswd.EXE -mode=profile pf=D:\usr\sap\<SID>\SYS\profile\<SID>_DVEBMGS00_Q4INPUSY026) failed(2). ENOENT*: No such file or directory OR: The system cannot find the file specified.

(64224) Parent Shutdown at 2009/03/02 13:29:04

(64224) kill(SIGINT 0) failed.

(64224) kill(SIGINT 0) failed.

(64224) kill(SIGINT 0) failed.

(64224) kill(SIGINT 0) failed.

(64224) kill(SIGINT 0) failed.

(64224) Parent Shutdown at 2009/03/02 13:29:55

(64224) kill(SIGINT 0) failed.

(64224) kill(SIGINT 0) failed.

(64224) kill(SIGINT 0) failed.

(64224) kill(SIGINT 0) failed.

(64224) kill(SIGINT 0) failed.

(64224) Parent Shutdown at 2009/03/02 13:30:24

(64224) kill(SIGINT 0) failed.

(64224) kill(SIGINT 0) failed.

(64224) kill(SIGINT 0) failed.

(64224) kill(SIGINT 0) failed.

(64224) kill(SIGINT 0) failed.

(64224) Parent Shutdown at 2009/03/02 13:31:42

(64224) kill(SIGINT 0) failed.

(64224) kill(SIGINT 0) failed.

(64224) kill(SIGINT 0) failed.

(64224) kill(SIGINT 0) failed.

(64224) kill(SIGINT 0) failed.

raguraman_c
Active Contributor
0 Kudos

Hi,

Check if you have downloaded correct kernel for your machine (i.e.) check your architecture if it is x86 or IA32 or IA64 and download the correct kernel.

Also did you login to <SID>ADM user to start the server? Check that aswell.

Hope this solves your problem.

Feel free to revert back.

-=-Ragu

Former Member
0 Kudos

Hi,

It seems that the error is with the kernel that you have downloaded but I would suggest you to send the dev_w0 logs from work folder

That will help us know the issue

Rohit

Former Member
0 Kudos

Hi,

It seems that the error is with the kernel that you have downloaded but I would suggest you to send the dev_w0 logs from work folder

That will help us know the issue

Rohit

Former Member
0 Kudos

Hi,

Thak you for your replies.

But the problem of executable not running on server has been solved.

Actually in the event viewer there was one more error :

"Resolve partial assembly failed for Microsoft VC80CRT.Reference error message.

The Referenced assembly is not installed on your system"

So, I installed VC++ compiler on the syste.

And it solved taht problem and now all the SAP executables are running.

But now there is one more issue.

My database is not getting connected after the Kernel upgrade.

When I execute " sqlplus /nolog" on command prompt,it shows:

SP2-1503: Unable to initialize Oracle call interface

SP2-0152: ORACLE may not be functioning properly

I have checked all the environmental variables,but they are all right.

But still I am not able to connect to the database.

Former Member
0 Kudos

Hello,

Refer to Note 393620.This will give you solution to your issue

If not,Please try following:

Please refer to follwoing link for description of the error:http://www.error-code.org.uk/view.asp?e=ORACLE-SP2-1503

Make sure your Oracle environemnt varaibles are properly set

Please refer to follwoing link:http://help.sap.com/saphelp_erp2004/helpdata/en/e7/4fb2a8ee10294dbb23378a23e84e46/content.htm

for setting environment variables for Oracle.

Also please check the value of variable LD_LIBRARY_PATH

I guess this variable might be the issue.Check the value of this parameter and correct it

The following link may help you:http://www.freebsd.org/doc/en/books/handbook/linuxemu-oracle.html

Let me know if it helps

Rohit

Former Member
0 Kudos

To fix the error ERROR_SXS_CANT_GEN_ACTCTX after kernel update on Windows 2003/2008 server refer to oss Note 1375494 - SAP system does not start after applying SAP kernel patch

0 Kudos

I know this is an older thread, however I just experienced the same issue with sapcpe.exe failing to execute after upgrading from NWCE7.1 SP01 ro SP05 on Windoes 2008 R2.

The problem is rooted in missing Visual C++ modules.

The current Microsoft KB to fix the issue is: KB2538242.

Jim