2016-10-02 26 views
1

rake ts:start給出以下錯誤:思考獅身人面像不啓動 - 「無法啓動的searchd守護」

Failed to start searchd daemon. Check /home/deploy/megratec/shared/log/production.searchd.log. 
Failed to start searchd. Check the log files for more information. 

日誌包含:

[Sun Oct 2 13:35:38.507 2016] [ 4780] listening on 127.0.0.1:9306 
[Sun Oct 2 13:35:38.507 2016] [ 4780] bind() failed on 127.0.0.1, retrying... 
... 
[Sun Oct 2 13:36:14.541 2016] [ 4780] FATAL: bind() failed on 127.0.0.1: Address already in use 
[Sun Oct 2 13:36:14.543 2016] [ 4779] watchdog: main process 4780 exited cleanly (exit code 1), shutting down 

ps -efa沒有顯示出searchd的運行。

SOS! 謝謝:)

回答

3

1)找到searchdps -aux(不知道爲什麼ps -efa做尼特工作)

2)sudo service sphinxsearch stoprake ts:stop殺了它,殺searchd過程中手動不工作)。

3)最後,rake ts:rebuild帶來了獅身人面像恢復生機。

相關問題