开发者

Thinking sphinx rails not running

开发者 https://www.devze.com 2023-03-14 02:43 出处:网络
Everytime I try to run Sphinx 2.0.1 with Rails 3 on Mac OSX Snow Leopard, I get the following error: Failed to start searchd daemon. Check /Users/.../log/searchd.log.

Everytime I try to run Sphinx 2.0.1 with Rails 3 on Mac OSX Snow Leopard, I get the following error:

Failed to start searchd daemon. Check /Users/.../log/searchd.log.
Failed to start searchd daemon. Check /Users/.../log/searchd.log

And that's my backtrace

> 

Sphinx 2.0.1-beta (r2792)

    Program compiled with gcc 4.2.1
    Host OS is Darwin ...s-macbook-pro.local 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16开发者_高级运维 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386
    Stack bottom = 0x7fff5fbfef1f, thread stack size = 0x12000
    begin of manual backtrace:
    Something wrong with thread stack, backtrace may be incorrect (fp=7fff5fbfc7a0)
    Stack looks OK, attempting backtrace.
    10000407f
    5fbfe14000000000
    7fff5fbfc960
    100054a5f
    100001dc8
    4
    Something wrong in frame pointers, backtrace failed (fp=0)
    begin of system backtrace:
    begin of system symbols:
    0   searchd                             0x000000010015d697 _Z12sphBacktraceib
+ 679
    1   searchd                             0x000000010000407f
_ZN16SphCrashLogger_c11HandleCrashEi + 415
    2   libSystem.B.dylib                   0x00007fff83ae666a _sigtramp + 26
    3   ???                                 0x00007fff5fbfc960 0x0 + 140734799792480
    4   searchd                             0x0000000100054a5f main + 95
    5   searchd                             0x0000000100001dc8 start + 52
    6   ???                                 0x0000000000000004 0x0 + 4

Did anyone run into this ? Does anyone know what's going on? And how to solve this?


Sphinx 2.0.1 doesn't work on OS X - you'll want to grab the source for 2.0.2-dev instead:

svn co http://sphinxsearch.googlecode.com/svn/trunk sphinx-read-only


I was getting same issue a month ago.

you can try

   ps -ef | grep searchd

Kill the running processes and then in from project directory.

   rake ts:index
   rake ts:start

Ps: I moved back to 0.9.9-release, but this solved issue on my friend's machine but not mine.

0

精彩评论

暂无评论...
验证码 换一张
取 消