Showing results for 
Search instead for 
Did you mean: 

SUM sapcpe exited with 30 during MOD_INSTNR_POST

0 Kudos


During our upgrade of Solution Manager 7.1 SPS12 to SPS14 we've stumbled upon a mysterious error. We have the newest applicable kernel (SAPEXE, SAPEXEDB, IGS and IGSHELPER) uncar-ed to the /sapmnt/<SID>/exe directory since it is the same directory where the /usr/sap/<SID>/SYS/exe/run has its symbolic link to. Now during this phase SUM deletes (moves) everything from this folder and then tries to run sapcpe in this exact location which is of course impossible because the sapcpe executable had just been removed. The log files are less than helpful of determining what is the root cause of this problem.

The error we get looks like this:

Last error code set: Process /usr/sap/<SID>/SYS/exe/run/sapcpe exited with 30, see '/usr/sap/<SID>/SUM/abap/log/SAPCPESTD.OUT' for details.

When we look into the SAPCPESTD.OUT file we see this:

SAPup> Starting subprocess with PID 26818 in phase 'MOD_INSTNR_POST' at 20160825141541

    ENV: DIR_LIBRARY=/usr/sap/<SID>/SYS/exe/run

    ENV: JAVA_HOME=/usr/sap/<SID>/DVEBMGS00/exe/sapjvm_4

    ENV: LD_LIBRARY_PATH=/usr/sap/<SID>/SYS/exe/run:/sybase/<SID>/ASE-15_0/jobscheduler/bin:/sybase/<SID>/ASE-15_0/bin:/sybase/<SID>/ASE-15_0/install:/sybase/<SID>/DBISQL/bin:/sybase/<SID>/OCS-15_0/bin:/usr/sap/<SID>/DVEBMGS00/exe/sapjvm_4/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/sap/<SID>/SYS/exe/uc/linuxx86_64:/home/sidadm:.:/usr/sap/<SID>/hdbclient:/usr/sap/<SID>/SYS/global/syb/linuxx86_64/sybodbc

    ENV: PATH=/usr/sap/<SID>/SYS/exe/run:/sybase/<SID>/ASE-15_0/jobscheduler/bin:/sybase/<SID>/ASE-15_0/bin:/sybase/<SID>/ASE-15_0/install:/sybase/<SID>/DBISQL/bin:/sybase/<SID>/OCS-15_0/bin:/usr/sap/<SID>/DVEBMGS00/exe/sapjvm_4/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/sap/<SID>/SYS/exe/uc/linuxx86_64:/home/sidadm:.

    ENV: RSEC_SSFS_DATAPATH=/usr/sap/<SID>/SYS/global/security/rsecssfs/data

    ENV: RSEC_SSFS_KEYPATH=/usr/sap/<SID>/SYS/global/security/rsecssfs/key


    ENV: dbms_type=syb

    ENV: dbs_syb_dbname=<SID>

    ENV: dbs_syb_no_ext_check=1

    ENV: dbs_syb_port=4901

*DBENV: dbs_syb_schema=SAPSR3

    ENV: dbs_syb_server=solman

    ENV: rsdb_ssfs_connect=1

*DBENV: (auth_shadow_upgrade)

    PWD: /usr/sap/<SID>/SUM/abap/tmp

EXECUTING /usr/sap/<SID>/SYS/exe/run/sapcpe pf=/usr/sap/<SID>/SYS/profile/SID_DVEBMGS00_solman

ERROR in child process: Cannot execute '/usr/sap/<SID>/SYS/exe/run/sapcpe': No such file or directory

SAPup> Process with PID 26818 terminated with status 30 at 20160825141541!

What is SUM trying to do in this step? Why does it remove the files it wants to use? This makes no sense whatsoever.

Thanks for all the help!

Accepted Solutions (1)

Accepted Solutions (1)

Active Contributor
0 Kudos

Hi Rauno,

Please check if note 2322033 - Software Update Manager (SUM) Error in step: MAIN_PROFSTART/SUBMOD_INSTNR_CHG/MOD_INSTNR_PRE helps or not.



0 Kudos

Sorry this looks similar but isn't really the case in my situation. I can see in every logfile that SUM has the correct path for the sapcpe but the problem is with backing up kernel. Since I'm working on a legacy system there was an admin who created a symlink hell. He had created a link from /sapmnt/SID/exe to /usr/sap/SID/SYS/exe/run so that when the SUM process tried to remove the run kernel first it actually removed the kernel from the permanent kernel directory too.

Answers (0)