852467598 commented on issue #7729:
URL: https://github.com/apache/rocketmq/issues/7729#issuecomment-2029444313

   请问由于windows异常关机导致无法启动的问题,还有解决办法吗
   
   
   
   
   ------------------ 原始邮件 ------------------
   发件人:                                                                         
                                               "apache/rocketmq"                
                                                                    
***@***.***>;
   发送时间: 2024年2月18日(星期天) 下午2:32
   ***@***.***>;
   抄送: "Dead ***@***.******@***.***>;
   主题: Re: [apache/rocketmq] Abnormal shutdown caused startup exception 
(Issue #7729)
   
   
   
   
   
        public boolean initialize() throws CloneNotSupportedException {         
boolean result = this.initializeMetadata();         if (!result) {             
return false;         }         result = this.initializeMessageStore();         
if (!result) {             return false;         }         return 
this.recoverAndInitService();     }  
   启动过程中,这里就主要就这几个文件的读取,如果读取失败,是有对应的日志的。
    image.png (view on web)
    
   你可以看看你配置的日志目录是哪个,默认在
    
   ~/logs/rocketmqlogs 这个下面grep一下这些关键字
    grep 'and try to load backup file' *.log grep load *.log |grep Failed grep 
'unexpected error occurs' *.log grep 'load exception' *.log  
   如果找不到,就把当时这个目录下面的文件打包发出来。
    
   —
   Reply to this email directly, view it on GitHub, or unsubscribe.
   You are receiving this because you authored the thread.Message ID: 
***@***.***>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to