Error when starting kafka
The problem occurs in the logs file
ERROR Shutdown broker because all log dirs failed: It means that all log files cannot be used, which may be a permission problem
Then enter the logs to view
Currently our user is hadoop, and the log files belong to the root user, so it can be solved by modifying the permissions
sudo chown hadoop.hadoop logs -R
You can see that the file ownership has been changed to hadoop
try to start kafka
successfully started
Read More:
- Kafka error: ERROR There was an error in one of the threads during logs loading: java.lang.NumberFormatException: For input string: “derby” (kafka.log.LogManager)
- [Solved] Win 10 Kafka error: failed to construct Kafka consumer
- [Solved] Kafka Error: kafka.common.InconsistentClusterIdException…
- [Solved] Kafka Start Log Error: WARN Found a corrupted index file due to requirement failed: Corrupt index found
- Kafka Creates and Writes Logs Error [How to Solve]
- Kafka executes the script to create topic error: error org apache. kafka. common. errors. InvalidReplicationFactorException: Replicati
- [Solved] kafka startup Error: java.net.ConnectException: Connection refused
- Kafka configurate broker mapping error: discovered coordinator XXX rack: null
- [Solved] Kafka Restarts error | Cloudera Manager Access Returns 500 | HDFS Startup Error
- [Solved] Kafka Error: InvalidReplicationFactorException: Replication factor:
- How to Solve Kafka Error: no leader
- [Solved] kafka Startup Error: Fatal error during KafkaServer startup
- How to Solve canal & MYSQL or “Kafka cannot consume data” Error
- Huawei kafka Authentication error: Server not found in Kerberos database (7) – LOOKING_UP_SERVER
- Kafka Error while fetching metadata with correlation id 1 : {alarmHis=LEADER_NOT_AVAILABLE}
- [Solved] Kafka2.3.0 Error: Timeout of 60000ms expired before the position for partition could be determined
- kafka Error: Error while fetching metadata with correlation
- [Solved] Arm Server kibana7.4.1 Error: Sending Logstash logs to /home/logstash-6.8.4/logs which is now configured via log4j2.properties
- Mac M1 Start Virtual Machine Centos8 with PD to install Kafka error: Error: VM option ‘UseG1GC‘
- [Solved] Redis Execute redis-cli shutdown Error: (error) ERR Errors trying to SHUTDOWN. Check logs.