SUM: Error obtain SAPLOCALHOST – HTTP status code 401:Unauthorized

You want to upgrade the support packages using the SUM tool but during the execution – below error coming out,

Error while obtaining the SAPLOCALHOST parameter value from the instance with number 0 on host itsiti using the SAPControl web service API. For more information, see SAP Note 1401712. com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized

SUM - Error while obtaining the SAPLOCALHOST

Solution

1. Open the DEFAULT.PFL file and set following parameter.

service/protectedwebmethods = DEFAULT

2. Restart the sapstartsrv services.

sapcontrol -prot NI_HTTP -nr xx -function RestartService

3. Restart the SAP system.

4. Once the SAP system is up and accessible, you can resume the SUM.

Note

You can revert the DEFAULT.PFL to default value once the SUM upgrade is completed. Further info, please refer to SAP Note 1600846.

You May Also Like

Leave a Reply?