EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB442184: “Name or service not known” error occurs when starting Kafka server on Linux


Community Admin

• Strategy


This issue has been classified as a work by design behavior by MicroStrategy. The impact is limited to MicroStrategy 10.5 and higher versions on Linux. A solution for this issue is available in current releases.

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:
 

ka04W00000148ZCQAY_0EM44000000RBDz.png

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


Comment

0 comments

Details

Knowledge Article

Published:

November 1, 2018

Last Updated:

June 21, 2022