apache / rocketmq-docker

Apache RocketMQ Docker
https://rocketmq.apache.org/
Apache License 2.0
683 stars 249 forks source link

Unable to start Broker using Docker Compose #85

Closed cyjaysong closed 1 year ago

cyjaysong commented 1 year ago
cd rocketmq-docker/templates/docker-compose
vim docker-composite. yml # Modify the image version in the docker-composite. yml to 5.1.3
docker compose up -d
00:52:40,655 |-INFO in org.apache.rocketmq.logging.ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting additivity of logger [io.opentelemetry.exporter.logging.LoggingMetricExporter] to false
00:52:40,655 |-INFO in org.apache.rocketmq.logging.ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [RocketmqBrokerMetricsAppender] to Logger[io.opentelemetry.exporter.logging.LoggingMetricExporter]
00:52:40,655 |-INFO in org.apache.rocketmq.logging.ch.qos.logback.classic.model.processor.RootLoggerModelHandler - Setting level of ROOT logger to INFO
00:52:40,655 |-INFO in org.apache.rocketmq.logging.ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [DefaultSiftingAppender] to Logger[ROOT]
00:52:40,655 |-INFO in org.apache.rocketmq.logging.ch.qos.logback.core.model.processor.DefaultProcessor@5bb21b69 - End of configuration.
00:52:40,656 |-INFO in org.apache.rocketmq.common.logging.JoranConfiguratorExt@6b9651f3 - Registering current configuration as safe fallback point

java.lang.NullPointerException
    at org.apache.rocketmq.broker.schedule.ScheduleMessageService.configFilePath(ScheduleMessageService.java:265)
    at org.apache.rocketmq.common.ConfigManager.persist(ConfigManager.java:84)
    at org.apache.rocketmq.broker.BrokerController.shutdownBasicService(BrokerController.java:1401)
    at org.apache.rocketmq.broker.BrokerController.shutdown(BrokerController.java:1464)
    at org.apache.rocketmq.broker.BrokerStartup.createBrokerController(BrokerStartup.java:242)
    at org.apache.rocketmq.broker.BrokerStartup.main(BrokerStartup.java:50)
maximus-1024 commented 1 year ago

一样的错误,您解决了吗

cyjaysong commented 1 year ago

没呢

minih-git commented 1 year ago

store文件夹没有权限。给store文件夹设置777权限

cyjaysong commented 1 year ago

@LeeGode