Hello.
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: SAPSYSTEMNAME=<SID>
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!