ERROR service ‚?‘ unknown or service sapms unknown
You could get the following error while connecting to SAP:
ERROR service ‚?‘ unknown
The problem is that there are sapdp<NN> (eg. sapdp00 3200/tcp) entries missing in the file services in the folder
C:\Windows\System32\drivers\etc\services
Warning! Service not executable. The services file should not get any extension, e.g. services.txt. The name should stay services.
If you get the
ERROR service sapms<SID> unknown
you have to append the following line to the file services. nn is the instance number of the SAP system (e.g. 00 or 99).
sapms<SID> 36<nn>/tcp
For exapmle, if your SID is ECC for example, the line looks like the following one:
sapmsECC 3600/tcp
For System ID (SID) ECC and instance number 12 please set:
sapmsECC 3612/tcp
Note: When inserting this into this file, please ensure that the last entry is always terminated with a return. For some platforms, this may cause problems, as the last entry may not be recognized.
After editing the file, you may need to restart the Xtract service or the machine.