SAP Knowledge Base Article - Preview

3339333 - sapcontrol commands fail with 401 Unauthorized response on Windows

Symptom

While logged as SIDadm, on Windows OS, sapcontrol commands for protected web methods fail with 401 Unauthorized response. This happens if Windows named pipes protocol is not explicitly set to be used in sapcontrol commands (-prot PIPE). 

The command result will be like below example:

sapcontrol -nr <instance number> -function Start

Start
FAIL: HTTP Error, HTTP/1.1 401 Unauthorized


Read more...

Environment

SAP NetWeaver running on Windows OS

Product

SAP NetWeaver all versions ; SAP S/4HANA all versions

Keywords

FAIL: HTTP Error, HTTP/1.1 401 Unauthorized, -prot PIPE, authentication, Windows named pipes, SIDadm, protected web methods, SAP NetWeaver running on Windows OS. , KBA , BC-CST-STS , Startup Service , 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.