Service "?" unkown
Cause
Connections to the SAP® system can be established via
- dispatcher
- gateway
- message server
For these there are defined TCP/IP ranges starting from 00 to 99 and corresponding to the instance number (xx in the following):
- Dispatcher 32xx
- Gateway 33xx
- Message Server 36xx
If one of the above errors occurs, the file %windows%\system32\drivers\etc\services contains no corresponding entries for the SAP® ports.
Solution
service "?" unknown
The error can be corrected if the entries for dispatcher and gateway are appended to the services file.
You must therefore insert the entries as follows:
- sapdp 3200/tcp, sapdp 3201/tcp, sapdp 3202/tcp, ...
- sapgw 3300/tcp, sapgw 3301/tcp, sapgw 3302/tcp, ...
service 'sapms<SID>' unknown
The error can be corrected if the entries for the message server are appended to the services file.
The entries must be structured as follows:
- sapms<SID> 36xx/tcp, where xx stands for the instance numbers from 00 to 99.
Example:
As an example for the SID PRD the entry would look like this: sapmsPRD 36xx/tcp
Connect to message server failed / Connect to SAP gateway failed
The error occurs if the wrong port has been specified.
In contrast to the above error messages, there is an entry in services, but the wrong port is specified.
Determine port
- Transaction SMMS requires administrator rights.
- Log in to your SAP® system
- Enter transaction SMMS.
- Select the respective server and click on Details (Ctrl+Shift+F6)
- Search for the log MS_LOGON_RFC
- The port is located one line below it