SYMPTOM:
When starting Kafka server in Strategy 10.5 and higher versions on Linux, “Name or service not known” error is hit as shown below:

Fatal error during KafkaServer startup. Prepare to shutdown <kafka.server.KafkaServer>
Refer to Technical Document below on how to start KafkaServer:
KB328852: How to start and stop Strategy Messaging Services (Kafka) in Strategy 10.5 and higher versions on Windows and Linux
CAUSE:
Apache is using host name instead of IP.
When java is calling getLocalHost, it is trying to find the IP Address for kafka which is not included in the /etc/hosts file.
ACTION:
Add the correct host name and IP into the hosts file /etc/hosts.
Article Reference Number: KB442184