Open f1sherox opened 7 years ago
Hi, I am also having the same issue, have you found a solution yet?
~Experiencing this as well~
Actually, I posted too soon. I was experiencing this but put the project on hold for a week. I just tried and now kafka is staying up. I'm not sure what happened, but maybe restarting the docker engine would help.
start-kafka.sh --messing up with server.properties appended new line char in echo "\n advertised.host.name=$ADVERTISED_HOST" >> $KAFKA_HOME/config/server.properties
I faced the same problem and it was actually the file encoding. As I worked on windows with a boot2docker, the file sr/bin/start-kafka.sh
was copied with DOS encoding.
To ensure that you're façing the same problem, you can connect to your container and run:
root@fe755f8bcc0f:/# file /usr/bin/start-kafka.sh
/usr/bin/start-kafka.sh: Bourne-Again shell script, ASCII text executable, with CRLF line terminators
For me, it was because of openjdk not installed. After installed openjdk-8, issue got resolved.
For me, it was because of openjdk not installed. After installed openjdk-8, issue got resolved.
Now my case is working good! Thanksl
Kafka failed to start with this error message:
Does anyone encountered that, how can I solve this problem?