SAP Knowledge Base Article - Preview

2604145 - Error in phase MAIN_UPTRANS/ASCS_SPLIT due to virtual hostname

Symptom

You got the following errors when doing upgrade with the SUM.

1,
ASCS_SPLIT phase is stopped with the following error.
**********************
Error in phase MAIN_UPTRANS/ASCS_SPLIT! Last error code set: Hostagent register service failed (rc='1').
**********************

Details within the log files:
**********************
ASCS_SPLIT.LOG:
1EETQ399 Last error code set is: Hostagent register service failed (rc='1').
1EETQ204 Upgrade phase "ASCS_SPLIT" aborted with severe errors

REGISTER_SERVICE_SHA.LOG:
Error: Profile '/usr/sap/<SID>/SYS/profile/<SID>_ASCSxx_<hostname>' (SAPSYSTEMNAME (SID)='<SID>', SAPSYSTEM (NR)='xx', SAPLOCALHOST='<localhostname>') doesn't match instance (SID='<SID>', NR='xx', SAPLOCALHOST='hostname').
**********************
The profile will be re-created while repeating the phase. So the changes are not applied.

2,
Got error at phase MAIN_PROFEND/MERGEPROF_REGSRV.

MERGEPROF_REGSRV.LOG
**********************
1EETQ399 Last error code set is: Hostagent register service failed. Please check 'REGISTER_SERVICE_SHA.LOG'
1EETQ399Xfor details.: Success
1EETQ203 Upgrade phase "MERGEPROF_REGSRV" aborted with errors ("20240912135558")
**********************

REGISTER_SERVICE_SHA.LOG
**********************
EXECUTING /usr/sap/hostctrl/exe/saphostctrl -user SIDadm - -function RegisterInstanceService -sid SID -nr 77 -saplocalhost sapSID -profile /usr/sap/SID/SYS/profile/SID_DVEBMGS77_sapSID

Please enter password for user SIDadm:
Webmethod returned successfully
Operation ID: 0EF316FDDE0F1EEF9C9A81D67225185B

----- Log messages ----
Info: saphostcontrol: Executing 'sapstartsrv -reg'
Info: saphostcontrol: exitcode=0
Info: saphostcontrol: 'sapstartsrv -reg' successfully executed
Info: saphostcontrol: exitcode=0
Info: saphostcontrol: 'sapcontrol -function StartService' successfully executed
Info: saphostcontrol: exitcode=0
Info: saphostcontrol: 'sapcontrol' successfully executed
**********************

saphostcontrol log
**********************
[Thr 140698268444416] Thu Sep 12 15:51:12 2024
[Thr 140698268444416] *** ERROR => Profile '/usr/sap/SID/SYS/profile/SID_ASCS76_sapSID' (SAPSYSTEMNAME (SID)='XXX', SAPSYSTEM (NR)='76', SAPLOCALHOST='sapSID') doesn't matc
h instance (SID='SID', NR='76', SAPLOCALHOST='ip-10-221-22-218'). Please check result parameters [InstanceAdminImplux.cpp 356]
[Thr 140698268444416] *** ERROR => Webmethod RegisterInstanceService failed: Profile '/usr/sap/SID/SYS/profile/SID_ASCS76_sapSID' (SAPSYSTEMNAME (SID)='SID', SAPSYSTEM (NR)
='76', SAPLOCALHOST='sapSID') doesn't match instance (SID='SID', NR='76', SAPLOCALHOST='ip-10-221-22-218'). Please check result parameters [saphostcontr 810]
**********************


Read more...

Environment

SUM

SAP NetWeaver ABAP based system

Product

SAP NetWeaver Application Server all versions

Keywords

Webmethod RegisterInstanceService failed, doesn't match instance, ASCS_SPLIT, MERGEPROF_REGSRV, Hostagent register service failed (rc='1') , KBA , BC-UPG-TLS-TLA , Upgrade tools for ABAP , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.