简体   繁体   中英

Thinking sphinx rails not running

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在OS X上不起作用 - 您需要获取2.0.2-dev的源代码:

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM