Using Google Chrome?

Download my
free Chrome Extension, Power Notes Searcher, to make searching for and evaluating SAP notes, much easier.

Friday, October 07, 2011

SAP CPI-C Error Service Unknown and /etc/services

Print Friendly and PDF
I've found that generally the Netweaver 7.0 installations seem to create all required mappings in the /etc/services (or C:\Windows\System32\Drivers\etc\services) file, plus any not specifically required.

However, on older R/3 systems, it's still possible to fall foul of this problem when the service port mappings are not present in the /etc/services file.

When using RFC connections or testing a connection in SM59, you're seeing CPI-C (CPIC) errors with "Service sapgw00 Unknown" and CM_RESOURCE_FAILURE_NO_RETRY.

It's normally visible as a connectivity error when testing connections in SM59:

You should ensure that the connection test fails when you put the exact numerical port number into the SM59 "Gateway service" connection details, as well as failing when you have the service port name e.g. sapgw00:

No comments: