Hi -- I've been stuck trying to run searchd via the rake task, although it appears to (sort of) run by itself. I'm on OS/X.
If I run searchd --config config/development.sphinx.conf from within the project, I get: Sphinx 2.0.1-beta (r2792) Copyright (c) 2001-2011, Andrew Aksyonoff Copyright (c) 2008-2011, Sphinx Technologies Inc (http://sphinxsearch.com) using config file 'config/development.sphinx.conf'... WARNING: compat_sphinxql_magics=1 is deprecated; please update your application and config listening on 127.0.0.1:9312 precaching index 'post_core' precached 1 indexes in 0.001 sec However, if I ps aux | grep searchd, I only get the grep task. If I run rake ts:start (or rake ts:start RAILS_ENV=development) from within the project, I get: Failed to start searchd daemon. Check /Users/kurtsnyder/code/project.com/log/searchd.log. Failed to start searchd daemon. Check /Users/kurtsnyder/code/project.com/log/searchd.log The searchd.log contains: --- crashed SphinxAPI request dump --- --- request dump end --- -------------- backtrace begins here --------------- Sphinx 2.0.1-beta (r2792) Program compiled with gcc 4.2.1 Host OS is Darwin kurtmacb.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 = 0x7fff5fbfee8f, thread stack size = 0x12000 begin of manual backtrace: Something wrong with thread stack, backtrace may be incorrect (fp=7fff5fbfc710) Stack looks OK, attempting backtrace. 100003d6f 5fbfe0b000000000 7fff5fbfc8d0 10005474f 100001ab8 4 Something wrong in frame pointers, backtrace failed (fp=0) begin of system backtrace: begin of system symbols: 0 searchd 0x000000010015d5f7 _Z12sphBacktraceib + 679 1 searchd 0x0000000100003d6f _ZN16SphCrashLogger_c11HandleCrashEi + 415 2 libSystem.B.dylib 0x00007fff84a0966a _sigtramp + 26 3 ??? 0x00007fff5fbfc8d0 0x0 + 140734799792336 4 searchd 0x000000010005474f main + 95 5 searchd 0x0000000100001ab8 start + 52 -------------- backtrace ends here --------------- ------- CRASH DUMP END ------- My sphinx.yml is: development: bin_path: /usr/local/bin test: bin_path: /usr/local/bin The development.sphinx.conf file contains this block, as generated by rake ts:config searchd { listen = 127.0.0.1:9312 log = /Users/kurtsnyder/code/project/log/searchd.log query_log = /Users/kurtsnyder/code/project/log/searchd.query.log pid_file = /Users/kurtsnyder/code/project/log/searchd.development.pid } Any help greatly appreciated.... -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
