Skip to Content
0

SUM SP19 - SPS Dual Stack PI System upgrade failed COMMON-DETECT-SYSTEM phase

Apr 19, 2017 at 05:05 AM

1.8k

avatar image

Hello SAP Basis Folks,

We are doing dual stack PI SPS upgrade with SUM SPS19, it got failed at COMMON-DETECT-SYSTEM phase.

Please find the log below for your quick reference,.

Log:

+++++++++++++++++++++++++++++++++++++++++++++++

<!--LOGHEADER[START]/-->

<!--HELP[Manual modification of the header may cause parsing problem!]/-->

<!--LOGGINGVERSION[2.0.7.1006]/-->

<!--NAME[D:\usr\sap\P1P\SUM\sdt\log\SUM\COMMON-DETECT-SYSTEM_01.LOG]/-->

<!--PATTERN[COMMON-DETECT-SYSTEM_01.LOG]/-->

<!--FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%6s]: %m)]/-->

<!--ENCODING[UTF8]/-->

<!--LOGHEADER[END]/-->

Apr 18, 2017 2:22:27 PM [Warning]: The hostname could not be detected. The IP address <IP Address> was returned instead.

Apr 18, 2017 2:22:30 PM [Warning]: The hostname could not be detected. The IP address <IP Address> was returned instead.

Apr 18, 2017 2:22:30 PM [Warning]: The hostname could not be detected. The IP address <IP Address> was returned instead.

Apr 18, 2017 2:22:30 PM [Info ]: SID dir:[C:\usr\sap\ABC]

Apr 18, 2017 2:22:30 PM [Info ]: Detected Instance D02 with profile D:\usr\sap\ABC\SYS\profile\ABC_D02_XYZ and hostname XXZ.

Apr 18, 2017 2:22:30 PM [Info ]: Detected Instance DVEBMGSxx with profile D:\usr\sap\ABC\SYS\profile\ABC_DVEBMGSxx_XYZ01 and hostname XYZ.

Apr 18, 2017 2:22:30 PM [Info ]: cmd /c REG QUERY HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

Apr 18, 2017 2:22:35 PM [Info ]: >> Closed input stream

Apr 18, 2017 2:22:37 PM [Error ]: The following problem has occurred during step execution: java.lang.NullPointerException: while trying to invoke the method java.io.File.getAbsolutePath() of a null object loaded from local variable 'instProfileDir'.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Imtiaz Karedia Apr 19, 2017 at 04:01 PM
0

It seems you have changed log file to not show actual paths/SIDS, making it little difficult to read through, as some places shows path as C:/.. at some D:/.. different SID, like ABC/P1P.

Did you extract SUM in <Drive>:/user/sap/<SID> and with user <SID>adm

Did you start SUM using <SID>adm.

Could you nslookup your hostname/IP to see if it gets resolved properly.

Share
10 |10000 characters needed characters left characters exceeded
Mohan Babu Karamala Apr 20, 2017 at 01:29 PM
0

Thanks for your reply,..

- Yes, i have changed the SID and host names for confidential

- SUM extracted and placed inside the SID ( Ex usr/sap/SID/SUM)

- Yes, i have started SUM using <SID>adm

nslookup and revers lookup are good, please advise, if any.

Regrads,

MBK

Share
10 |10000 characters needed characters left characters exceeded
Jayanth Velugati Apr 20, 2017 at 01:59 PM
0

Hi Mohan

Is yours a Distributed Installation?

Can you check if <sid>adm can access \\<SAPGLOBALHOST>\sapmnt\<SID>\SYS\profile location.

Also make sure the sapstartsrv (services.msc) for the central instance is also seen to be registered with the correct profile read from the above location: "D:\usr\sap\<SID>\DVEBMGSXX\exe\sapstartsrv.exe" pf="\\<SAPGLOBALHOST>\sapmnt\<SID>\SYS\profile\<SID>_DVEBMGSXX_<CI Hostname>" SUM uses this logic to read the FS to look for the SID directory.

In your case SUM is trying to access the local directory for the services .

Apr 18, 2017 2:22:30 PM [Info ]: cmd /c REG QUERY HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

Apr 18, 2017 2:22:35 PM [Info ]: >> Closed input stream

In this setup, the profile directory under SYS(local) should not exist. However if it exists (i.e. E:\usr\sap\<SID>\SYS\profile), SUM tries to read the profiles from here.

You can look for more detailed error in log D:\usr\sap\P1P\SUM\sdt\log\SUM\COMMON-DETECT-SYSTEM_01.LOG

In order to resolve your issue

Stop the SUM UI and kill all the SUM processes.

Clean up the SUM directory.

Remove the profile directory from D:\usr\sap\<SID>\SYS since its not the correct profile location and not in use.

Extract SUM and start a fresh run of SUM.

Thank You

Jayanth

Share
10 |10000 characters needed characters left characters exceeded