Thinking sphinx doesn't start - “Failed to start searchd daemon”

后端 未结 3 1496
无人及你
无人及你 2021-02-15 13:09

I try to start thinking sphinx on my server but it doesn\'t want to work.

I do:

$ rake thinking_sphinx:index && rake thinking_sphinx:start
         


        
3条回答
  •  野的像风
    2021-02-15 13:19

    I solved it. I had sphinx process in the background, so i just killed it:

    $ ps -efa | grep sphinx
    root     23823     1  0 14:12 ?        00:00:00 searchd --pidfile --config /vol/www/apps/ror_tutorial/releases/20120202111104/config/production.sphinx.conf
    root     27069 20413  0 14:49 pts/1    00:00:00 grep sphinx
    $ kill 23823 
    

    Then i started sphinx:

    $ rake ts:start RAILS_ENV=production
    Started successfully (pid 27097).
    

提交回复
热议问题