We are getting error during EHP 7 Upgrade,
We have followed the NOTE : 1622837 - Secure connection of AS ABAP to Oracle via SSFS and 1639578 - SSFS as password storage for primary database connect
During SUM earlier phase we have already configured SSFS and set the profile and environment variables.
usr\sap\<SID>\SYS\global\security\rsecssfs\data
usr\sap\<SID>\SYS\global\security\rsecssfs\key
default profile set to
rsec/ssfs_datapath $(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data
rsec/ssfs_keypath $(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key
env set to
setenv RSEC_SSFS_DATAPATH <drive>:\usr\sap\<SID>\SYS\global\security\rsecssfs\data
setenv RSEC_SSFS_KEYPATH <drive>:\usr\sap\<SID>\SYS\global\security\rsecssfs\key
Profile parameter : rsdb/ssfs_connect = 1
Environment variable: rsdb_ssfs_connect 1
This is all done and continued the and now reached PREPROCESSING stage where it got stopped again with same error for shadow system.
As per the above note , I believe we need to change only these ,
DB_CONNECT/SHADOW_DB_USER
DB_CONNECT/SHADOW_DB_PASSWORD
rsecssfx put DB_CONNECT/SHADOW_DB_USER SAPSR3SHD –plain
rsecssfx put DB_CONNECT/SHADOW_DB_PASSWORD xxx
And new shadow instance default profile need to be set values same values as above,
rsec/ssfs_datapath $(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)data
rsec/ssfs_keypath $(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$(DIR_SEP)key
Then restarted Oracle and continued the SUM upgrade, but getting same error again.
Did I missed any steps for shadow systems ?
- STARTSSC.LOG
1 ETQ201 Entering upgrade-phase "MAIN_SHDPREPUT/START_SHDI_PREPUT" ("20141221224502")
2 ETQ367 Connect variables are set for standard instance access
4 ETQ399 System-nr = '00', GwService = 'sapgw00' Client = '000'
4 ETQ399 Environment variables:
4 ETQ399 dbs_ora_schema=SAPSR3
4 ETQ399 auth_shadow_upgrade=<null>
1 ETQ200 Executing actual phase 'MAIN_SHDPREPUT/START_SHDI_PREPUT'.
1 ETQ399 Phase arguments:
2 ETQ399 Arg[0] = 'START_SERVICE'
2 ETQ399 Arg[1] = 'DEVTRACE.LOG'
4 ETQ380 computing toolpath for request "TP_ALWAYS_NEW"
4 ETQ381 request "TP_ALWAYS_NEW" means "always tp from DIR_PUT/exe, for phase KX_SWITCH"
4 ETQ382 translates to group "R3UP_TOOL_GROUP_NEW"
4 ETQ399 Requirement for tp maps to 'exe'
4 ETQ383 translates to path "/usr/sap/DEV/SUM/abap/exe"
2 ETQ399 Distribute 3 parallel processes to 2 tp and 2 R3trans.
2 ETQ399 Starting shadow instance
4 ETQ399 Set database connect to shadow.
4 ETQ399 Set environment for shadow connect:
4 ETQ399 Set RFC variables for shadow connect:
4 ETQ399 System-nr = '02', GwService = 'sapgw02' Client = '000'
4 ETQ380 computing toolpath for request "TP_SHADOW_CONNECT"
4 ETQ381 request "TP_SHADOW_CONNECT" means "tp needs to connect to shadow system"
4 ETQ382 translates to group "R3UP_TOOL_GROUP_NEW"
4 ETQ399 Requirement for tp maps to 'exe'
4 ETQ383 translates to path "/usr/sap/DEV/SUM/abap/exe"
4 ETQ399 Set tool parameters for shadow connect with TPPARAM 'SHADOW.TPP'.
4 ETQ399 Set RFC variables for shadow connect:
4 ETQ399 System-nr = '02', GwService = 'sapgw02' Client = '000'
1 ETQ359 RFC Login to: System="DEV", AsHost="TESTPDEV" Nr="02", GwHost="TESTDEV", GwService="sapgw02"
2EETQ231 RFC Login failed
2 ETQ353 Starting system
1 ETQ399 SAPCONTROL MANAGER: SAPupSAPControlManager entered.
1 ETQ399 SAPCONTROL MANAGER: SAPupSAPControlInstanceUnix entered.
1 ETQ399 SAPCONTROL MANAGER: SAPupSAPControlInstanceUnix exit.
1 ETQ399 SAPCONTROL MANAGER: SAPupSAPControlManager exit.
1 ETQ399 SYSTEM MANAGER: Initializing.
1 ETQ399 INSTANCELIST found, read list from the file.
1 ETQ399 SYSTEM MANAGER: Instantiated with SC.
1 ETQ399 SYSTEM MANAGER: featureCheck
1 ETQ399 SAPCONTROL MANAGER: getFeatureList with dumpfile: /usr/sap/DEV/SUM/abap/log/INSTANCELIST.TMP
3 ETQ120 20141221224502: PID 9696 execute '/usr/sap/DEV/SUM/abap/exe/sapcontrol -prot NI_HTTP -host TESTDEV -nr 02', output written to '/usr/sap/DEV/SUM/abap/log/INSTANCELIST.TMP'.
3 ETQ122 20141221224502: PID 9696 exited with status 1 (time: 0.000/0.008/0.012 real/usr/sys)
1 ETQ399 SYSTEM MANAGER: feature: sapcontrol (Version: found
1 ETQ399 SYSTEM MANAGER: sapcontrol feature sapcontrol (Version: is available.
1 ETQ399 SYSTEM MANAGER: Initializing.
1 ETQ399 SYSTEM MANAGER: STOPSAP on UNIX.
1 ETQ399 SYSTEM MANAGER: STOPSAP with SAPCONTROL.
1 ETQ399 SYSTEM MANAGER: SAPControl tries to control all instances.
1 ETQ399 SYSTEM MANAGER: Calling getInstances.
1 ETQ399 SYSTEM MANAGER: found instance for action STOP : Instance Number: 02
1 ETQ399 SYSTEM MANAGER: ControlInstance with SAPCONTOL action STOP for instance 02.
1 ETQ399 SYSTEM HEALTH MANAGER: running preCheck for instance 02 on host TESTDEV.
2 ETQ399 SYSTEM HEALTH MANAGER: Checking instance number 2 for used ports on host 'TESTDEV'.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 3202 appears to be unused.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 3302 appears to be unused.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 3602 appears to be used.
1 ETQ399 SYSTEM HEALTH MANAGER: call test rfc.
4 ETQ399 Set RFC variables for shadow connect:
4 ETQ399 System-nr = '02', GwService = 'sapgw02' Client = '000'
1 ETQ359 RFC Login to: System="DEV", AsHost="TESTPDEV" Nr="02", GwHost="TESTPDEV", GwService="sapgw02"
2EETQ231 RFC Login failed
1 ETQ399 SYSTEM HEALTH MANAGER: check for instance processlist.
1 ETQ399 SAPCONTROL MANAGER: getProcessList with host: TESTDEV and instance: 02
3 ETQ120 20141221224502: PID 9697 execute '/usr/sap/DEV/SUM/abap/exe/sapcontrol -format script -prot NI_HTTP -host TESTPDEV -nr 02 -function GetProcessList', output written to '/usr/sap/DEV/SUM/abap/log/SAPup.ECO'.
3 ETQ122 20141221224502: PID 9697 exited with status 0 (time: 0.000/0.012/0.004 real/usr/sys)
1 ETQ399 SYSTEM HEALTH MANAGER: System up and running, go on with stop action
1 ETQ399 SAPCONTROL MANAGER: stopWait with host: TESTDEV and instance: 02
3 ETQ120 20141221224502: PID 9699 execute '/usr/sap/DEV/SUM/abap/exe/sapcontrol -prot NI_HTTP -host TESTDEV -nr 02 -function StopWait 300 10', output written to '/usr/sap/DEV/SUM/abap/log/SAPup.ECO'.
3 ETQ122 20141221224512: PID 9699 exited with status 0 (time: 10.000/0.008/0.008 real/usr/sys)
1 ETQ399 SYSTEM HEALTH MANAGER: running postCheck for instance 02 on host TESTPDEV
4 ETQ399 Set RFC variables for shadow connect:
4 ETQ399 System-nr = '02', GwService = 'sapgw02' Client = '000'
1 ETQ359 RFC Login to: System="DEV", AsHost="TESTDEV" Nr="02", GwHost="TESTPDEV", GwService="sapgw02"
2EETQ231 RFC Login failed
2 ETQ399 SYSTEM HEALTH MANAGER: Checking instance number 2 for used ports on host 'TESTDEV'.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 3202 appears to be unused.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 3302 appears to be unused.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 3602 appears to be unused.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 3902 appears to be unused.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 8102 appears to be unused.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 30201 appears to be unused.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 50219 appears to be unused.
1 ETQ399 SYSTEM HEALTH MANAGER: System is down and fine
1 ETQ399 SYSTEM MANAGER: Poststop on Unix.
1 ETQ399 SYSTEM MANAGER: STARTSAP on UNIX.
1 ETQ399 SYSTEM MANAGER: STARTSAP with SAPCONTROL.
1 ETQ399 SYSTEM MANAGER: PRESTARTACTION on UNIX.
1 ETQ399 SYSTEM MANAGER: Starting the service.
1 ETQ399 SYSTEM MANAGER: StartService on Unix.
1 ETQ399 SYSTEM MANAGER: Starting service.
1 ETQ399 SAPCONTROL MANAGER: startService
1 ETQ399 SAPCONTROL MANAGER: preStartServiceAction on UNIX
1 ETQ399 SAPCONTROL MANAGER: preStartServiceAction using start path: /usr/sap/DEV/SUM/abap/exe and start profile : /usr/sap/DEV/SUM/abap/system/DEV/SYS/profile/DEV_DVEBMGS02_TESTDEV
1 ETQ399 SAPCONTROL MANAGER: preStartServiceAction using ouput file: /usr/sap/DEV/SUM/abap/log/SAPup.ECO
3 ETQ120 20141221224514: PID 9718 execute '/usr/sap/DEV/SUM/abap/exe/sapstartsrv pf=/usr/sap/DEV/SUM/abap/system/DEV/SYS/profile/DEV_DVEBMGS02_TESTDEV -D', output written to '/usr/sap/DEV/SUM/abap/log/SAPup.ECO'.
3 ETQ122 20141221224515: PID 9718 exited with status 0 (time: 1.000/0.016/0.004 real/usr/sys)
1 ETQ399 SAPCONTROL MANAGER: preStartServiceAction using kernel exe release: 742 and kernel state: 0
1 ETQ399 SAPCONTROL MANAGER: preStartServiceAction using timeout: 300 and delay: 10
3 ETQ120 20141221224515: PID 9720 execute '/usr/sap/DEV/SUM/abap/exe/sapcontrol -prot NI_HTTP -host TESTDEV -nr 02 -function WaitforServiceStarted 300 10', output written to '/usr/sap/DEV/SUM/abap/log/SAPup.ECO'.
3 ETQ122 20141221224515: PID 9720 exited with status 0 (time: 0.000/0.008/0.008 real/usr/sys)
1 ETQ399 SYSTEM MANAGER: SAPControl tries to control all instances.
1 ETQ399 SYSTEM MANAGER: Calling getInstances.
1 ETQ399 SYSTEM MANAGER: found instance for action START : Instance Number: 02
1 ETQ399 SYSTEM MANAGER: ControlInstance with SAPCONTOL action START for instance 02.
1 ETQ399 SYSTEM HEALTH MANAGER: running preCheck for instance 02 on host TESTDEV.
2 ETQ399 SYSTEM HEALTH MANAGER: Checking instance number 2 for used ports on host 'TESTDEV'.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 3202 appears to be unused.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 3302 appears to be unused.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 3602 appears to be unused.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 3902 appears to be unused.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 8102 appears to be unused.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 30201 appears to be unused.
3 ETQ399 SYSTEM HEALTH MANAGER: Port 50219 appears to be unused.
1 ETQ399 SYSTEM HEALTH MANAGER: call test rfc.
4 ETQ399 Set RFC variables for shadow connect:
4 ETQ399 System-nr = '02', GwService = 'sapgw02' Client = '000'
1 ETQ359 RFC Login to: System="DEV", AsHost="TESTDEV" Nr="02", GwHost="TESTDEV", GwService="sapgw02"
2EETQ231 RFC Login failed
1 ETQ399 SYSTEM HEALTH MANAGER: check for instance processlist.
1 ETQ399 SAPCONTROL MANAGER: getProcessList with host: TESTDEV and instance: 02
3 ETQ120 20141221224535: PID 9743 execute '/usr/sap/DEV/SUM/abap/exe/sapcontrol -format script -prot NI_HTTP -host TESTDEV -nr 02 -function GetProcessList', output written to '/usr/sap/DEV/SUM/abap/log/SAPup.ECO'.
3 ETQ122 20141221224535: PID 9743 exited with status 4 (time: 0.000/0.008/0.008 real/usr/sys)
1 ETQ399 SYSTEM HEALTH MANAGER: System is down, go on with start action
1 ETQ399 SAPCONTROL MANAGER: startWait with host: TESTDEV and instance: 02
3 ETQ120 20141221224535: PID 9745 execute '/usr/sap/DEV/SUM/abap/exe/sapcontrol -prot NI_HTTP -host TESTDEV -nr 02 -function StartWait 300 10', output written to '/usr/sap/DEV/SUM/abap/log/SAPup.ECO'.
3 ETQ122 20141221224615: PID 9745 exited with status 2 (time: 40.000/0.004/0.012 real/usr/sys)
1 ETQ399 SYSTEM MANAGER: SAPControl action START failed for instance 02 ('SAPCONTROL MANAGER: call (sapcontrol) failed with return code '-1'
').
1 ETQ399 SYSTEM MANAGER: CheckSystemStatus.
1 ETQ399 SAPCONTROL MANAGER: getProcessList with host: TESTDEV and instance: 02
3 ETQ120 20141221224615: PID 10368 execute '/usr/sap/DEV/SUM/abap/exe/sapcontrol -format script -prot NI_HTTP -host TESTDEV -nr 02 -function GetProcessList', output written to '/usr/sap/DEV/SUM/abap/log/SAPup.ECO'.
3 ETQ122 20141221224615: PID 10368 exited with status 0 (time: 0.000/0.008/0.008 real/usr/sys)
1EETQ399 SYSTEM MANAGER: START of mandatory instance 02 on server TESTDEV has failed
2EETQ399 Starting shadow instance failed
1EETQ399 Last error code set is: Shadow instance couldn't be started, check 'STARTSSC.LOG' and 'DEVTRACE.LOG': Process /usr/sap/DEV/SUM/abap/exe/sapcontrol exited with 2, see '/usr/sap/DEV/SUM/abap/log/SAPup.ECO' for details
1EETQ204 Upgrade phase "START_SHDI_PREPUT" aborted with severe errors ("20141221224615")
Please help.
Thank you
Regards,
Raghu