cancel
Showing results for 
Search instead for 
Did you mean: 

SUM - Stuck at phase MAIN_SWITCH/SUBMOD_SWITCH_KERNEL/ENVFILES

HenryLeung
Explorer
0 Kudos

I'm updating ERP 6 EHP 7 to SPS 7.  In the phase  MAIN_SWITCH/SUBMOD_SWITCH_KERNEL/ENVFILES, I'm getting the following error:

Severe error(s) occurred in phase MAIN_SWITCH/SUBMOD_SWITCH_KERNEL/ENVFILES!

Last error code set: 'PATH' not found in user

Here's the content of PHASES.LOG:

1 ETQ201 Entering upgrade-phase "MAIN_SWITCH/SUBMOD_SWITCH_KERNEL/ENVFILES" ("20150324161718")

2 ETQ367 Connect variables are set for standard instance access

4 ETQ399 System-nr = '00', GwService = 'sapgw00' Client = '000'

1 ETQ206 Executing pre-phase DB specific actions.

1 ETQ200 Executing actual phase 'MAIN_SWITCH/SUBMOD_SWITCH_KERNEL/ENVFILES'.

1 ETQ399 Phase arguments:

2 ETQ399 Arg[0] = ''

4 ETQ399 Reading value:

4 ETQ399 HKEY_CURRENT_USER\Environment\PATH

4 ETQ399 failed:

4 ETQ399 ErrorMessage: The system cannot find the file specified.

1EETQ399 Last error code set is: 'PATH' not found in user environment

1EETQ204 Upgrade phase "ENVFILES" aborted with severe errors ("20150324161718")

Does anyone know what PATH it is looking for?  Thanks.

Henry

Accepted Solutions (1)

Accepted Solutions (1)

HenryLeung
Explorer
0 Kudos

It seems SUM is really picky. We don't have a PATH in the User Environment Variables section.  We have a PATH in the System Variables section only.  It seems SUM is only checking the PATH value in HKEY_CURRENT_USER\Environment, not in HKey_Local_Machine\SYSTEM\CurrentControlSet\Control\Session Manager\Environment.

After I created the PATH value in HKEY_CURRENT_USER\Environment, SUM is able to carry on now.

PS. We are using SUM10SP12_10-20006676.

Thanks for everyone's help.

Answers (4)

Answers (4)

Reagan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Open registry and navigate to HKEY_CURRENT_USER\Environment

Check the values maintained there and see whether there is some inconsistency.

Also check this SAP KBA for the recommendation given for a similar issue.

1888664 - Upgrade Error Message in phase INITPUT_PRE: Personalization failed for MSSUPGGETREL

RB

former_member182657
Active Contributor
0 Kudos

Thanks for sharing the logs,As per analysis the issue is related with OS environment variable here,so would perform some activities on the OS here , but before this i would also recommend you to involve OS team as well to perform the things for you.

1.Try to run command sfc /scannow at cmd level . (After completion of command please share out comes & retry the phase again).

2.Could you check for PATH entry at location (regedit). Note : Strongly recommending OS person here


HKey_Local_Machine\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

Better would be to share snap shot for workaround 2.

Thanks,

HenryLeung
Explorer
0 Kudos

Thanks for the suggestions.  But I don't see anything of interest here.

1.

C:\>sfc /scannow

Beginning system scan.  This process will take some time.

Beginning verification phase of system scan.

Verification 100% complete.

Windows Resource Protection did not find any integrity violations.

2. HKey_Local_Machine\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

Value Name: Path

Value Data:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;%JAVA_HOME%\bin;C:\Program Files (x86)\Java\jre7\bin;F:\usr\sap\DV1\SYS\exe\run;%JRE_HOME%\bin;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;F:\usr\sap

former_member182657
Active Contributor
0 Kudos

Hi,

Could you share SAPupConsole.log for analysis.

Thanks,

HenryLeung
Explorer
0 Kudos

Sure.  Here's the SAPupConsole.log

Thanks.

former_member182657
Active Contributor
0 Kudos
HenryLeung
Explorer
0 Kudos

Yes, I saw that note.  But it doesn't apply to us.  We are Windows servers.

Thanks.

former_member182657
Active Contributor
0 Kudos

Hi,

Could you share SAPupConsole.log ?

Thanks,