1. 程式人生 > 其它 >There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up

There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up

技術標籤:mycat連線異常mysql

問題:mycat無法執行,Navicat無法連線mycat

在啟動mycat是後顯示的是mycat正在執行,但是Navicat還是無法連線,繼而檢視mycat的狀態,發現mycat的服務並不在執行。

[[email protected] bin]# ./mycat start
Starting Mycat-server...

./mycat status

[[email protected] bin]# ./mycat status
Mycat-server is not running.

檢視日誌:

解決:

原因:這是因為wrapper註冊的java服務起動超時,在conf下往wrapper.conf檔案新增或者修改以下內容。

#設定超時時間
 wrapper.startup.timeout=7200