cancel
Showing results for 
Search instead for 
Did you mean: 

Reg: SUM issue While upgrading SP12

Former Member
0 Kudos

Dear All,

We are processes of upgrading Solution manager from 7.1 SP 4 to SP12 , While using SUM for upgrade we are encountered with the below issue ,

As per the note 1683575 we made a changes in start profile but it doesn't work out .

Please find the screenshot of profile modification

Accepted Solutions (0)

Answers (5)

Answers (5)

manumohandas82
Active Contributor
0 Kudos

Hi Kishore  ,

The details are given in the Note  ( 1683575 ) .

Take out the causes and you will fix the issue .


Reason 1:

The path to instance profile used for entries "Start_Program_##" in start profile is parsed and compared to determine the value for actual instance profile. sapstartsrv cannot resolve file system links to the full file path.

If notation for "pf=" is not equal for all "Start_Program_##" entries, like in example:

Start_Program_01=local $(_IG) -mode=profile pf=/usr/sap/QD1/SYS/profile/QD1_JC00_hostname

Start_Program_01=local $(_IG) -mode=profile pf=/sapmnt/QD1/profile/QD1_JC00_hostname

sapstartsrv cannot determine the profile.

Check for all of your start profiles  and make sure that either they point to /sapmnt/ or /usr/

Restart SAP system ( kill all process sapstartsrv process ) , if possible the server and try once again

Thanks ,

Manu

srinivasan_vinayagam
Active Contributor
0 Kudos

Hi Kishore

You can change the entries in the /usr/sap/sapservices for sapstartsrv from start profile to instance profile.


Regards,

V Srinivasan

former_member182657
Active Contributor
0 Kudos

As an example


immediate $(DIR_CT_RUN)$(DIR_SEP)sapcpe$(FT_EXE) pf=$(DIR_PROFILE)$(DIR_SEP)SOL_DVEBMGS00_<host name>

Your entries should be as like the above, as you can see you did as like "pf=..." at your end.

Please omit the quotes & make entries as like.

Also not to forget to restart the system after changes.

Hope this will resolve your issue.

Thanks,

former_member182657
Active Contributor
0 Kudos

Hi Kishore,

Instead of double quotes


"pf=..."

follow


Working example:

Start_Program_01=local $(_IG) -mode=profile pf=/usr/sap/QD1/SYS/profile/QD1_JC00_hostname

Start_Program_01=local $(_IG) -mode=profile pf=/usr/sap/QD1/SYS/profile/QD1_JC00_hostname

& make entries as similar to working e.g & check again by re execution of SUM phase.

If still issue persists share results for command

sapcontrol -nr <Instance Nr> -function ParameterValue SAPPROFILE

Hope this will help you.

Thanks,

former_member182657
Active Contributor
0 Kudos

Hi Kishore,

Could you share complete log file as well as snap shot of screen where you're getting an issue.

Thanks,

Former Member
0 Kudos

Hi Gaurav,

Thanks for the reply.

Please find below log

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

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

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

<!--NAME[D:\usr\sap\SMP\SUM\sdt\log\SUM\INITIALIZE-COMMON-DETECT-MODULE-DETERMINE-PROFILES_06.LOG]/-->

<!--PATTERN[INITIALIZE-COMMON-DETECT-MODULE-DETERMINE-PROFILES_06.LOG]/-->

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

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

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

Mar 11, 2015 12:57:56 PM [Info  ]: All 4 required variables exist in variable handler.

Mar 11, 2015 12:57:56 PM [Info  ]: Process ID 172, name sapcontrol has been started.

Mar 11, 2015 12:57:56 PM [Info  ]:   Command line: D:\usr\sap\SMP\DVEBMGS00\exe\sapcontrol -nr 0 -host sapsmp00 -user smpadm <SecureField> -function GetSystemInstanceList 150

Mar 11, 2015 12:57:56 PM [Info  ]:   Standard out: D:\usr\sap\SMP\SUM\sdt\tmp\SAPCONTROL_GETSYSTEMINSTANCELIST_0_21.OUT

Mar 11, 2015 12:57:56 PM [Info  ]: Process ID 172 has been started.

Mar 11, 2015 12:57:56 PM [Info  ]: Waiting for process ID 172, name sapcontrol to finish.

Mar 11, 2015 12:57:56 PM [Info  ]: Process ID 172, name sapcontrol has been finished, exit code 0.

Mar 11, 2015 12:57:56 PM [Info  ]: Correctly detected instance: 1 on host solmanold

Mar 11, 2015 12:57:56 PM [Info  ]: Correctly detected instance: 1 on host sapsmp00

Mar 11, 2015 12:57:56 PM [Info  ]: Correctly detected instance: 0 on host sapsmp00

Mar 11, 2015 12:57:56 PM [Info  ]: Correctly detected instance: 2 on host solmanold

Mar 11, 2015 12:57:56 PM [Info  ]: Process ID 173, name sapcontrol has been started.

Mar 11, 2015 12:57:56 PM [Info  ]:   Command line: D:\usr\sap\SMP\DVEBMGS00\exe\sapcontrol -nr 0 -host sapsmp00 -user smpadm <SecureField> -function ParameterValue DIR_PROFILE

Mar 11, 2015 12:57:56 PM [Info  ]:   Standard out: D:\usr\sap\SMP\SUM\sdt\tmp\SAPCONTROL_PARAMETERVALUE_0_47.OUT

Mar 11, 2015 12:57:56 PM [Info  ]: Process ID 173 has been started.

Mar 11, 2015 12:57:56 PM [Info  ]: Waiting for process ID 173, name sapcontrol to finish.

Mar 11, 2015 12:57:56 PM [Info  ]: Process ID 173, name sapcontrol has been finished, exit code 0.

Mar 11, 2015 12:57:56 PM [Info  ]: Process ID 174, name sapcontrol has been started.

Mar 11, 2015 12:57:56 PM [Info  ]:   Command line: D:\usr\sap\SMP\DVEBMGS00\exe\sapcontrol -nr 0 -host sapsmp00 -user smpadm <SecureField> -function ParameterValue SAPLOCALHOST

Mar 11, 2015 12:57:56 PM [Info  ]:   Standard out: D:\usr\sap\SMP\SUM\sdt\tmp\SAPCONTROL_PARAMETERVALUE_0_48.OUT

Mar 11, 2015 12:57:56 PM [Info  ]: Process ID 174 has been started.

Mar 11, 2015 12:57:56 PM [Info  ]: Waiting for process ID 174, name sapcontrol to finish.

Mar 11, 2015 12:57:56 PM [Info  ]: Process ID 174, name sapcontrol has been finished, exit code 0.

Mar 11, 2015 12:57:56 PM [Info  ]: Process ID 175, name sapcontrol has been started.

Mar 11, 2015 12:57:56 PM [Info  ]:   Command line: D:\usr\sap\SMP\DVEBMGS00\exe\sapcontrol -nr 1 -host solmanold -user smpadm <SecureField> -function ParameterValue INSTANCE_NAME

Mar 11, 2015 12:57:56 PM [Info  ]:   Standard out: D:\usr\sap\SMP\SUM\sdt\tmp\SAPCONTROL_PARAMETERVALUE_1_23.OUT

Mar 11, 2015 12:57:56 PM [Info  ]: Process ID 175 has been started.

Mar 11, 2015 12:57:56 PM [Info  ]: Waiting for process ID 175, name sapcontrol to finish.

Mar 11, 2015 12:57:57 PM [Info  ]: Process ID 175, name sapcontrol has been finished, exit code 0.

Mar 11, 2015 12:57:57 PM [Info  ]: Process ID 176, name sapcontrol has been started.

Mar 11, 2015 12:57:57 PM [Info  ]:   Command line: D:\usr\sap\SMP\DVEBMGS00\exe\sapcontrol -nr 1 -host solmanold -user smpadm <SecureField> -function ParameterValue SAPPROFILE

Mar 11, 2015 12:57:57 PM [Info  ]:   Standard out: D:\usr\sap\SMP\SUM\sdt\tmp\SAPCONTROL_PARAMETERVALUE_1_24.OUT

Mar 11, 2015 12:57:57 PM [Info  ]: Process ID 176 has been started.

Mar 11, 2015 12:57:57 PM [Info  ]: Waiting for process ID 176, name sapcontrol to finish.

Mar 11, 2015 12:57:57 PM [Info  ]: Process ID 176, name sapcontrol has been finished, exit code 0.

Mar 11, 2015 12:57:57 PM [Error ]: The following problem has occurred during step execution: com.sap.sdt.tools.sysinfo.InvalidInstanceProfileException: Could not detect the profile path for the primary application server instance correctly; implement SAP Note 1683575 and repeat SUM process from the point of failure

.

Regards,

RK