认为狮身人面像轨道没有运行

发布于 2024-11-16 11:59:45 字数 1562 浏览 3 评论 0原文

每次我尝试在 Mac OSX Snow Leopard 上运行带有 Rails 3 的 Sphinx 2.0.1 时,都会收到以下错误:

无法启动 searchd 守护进程。检查/Users/.../log/searchd.log。
无法启动 searchd 守护进程。检查/Users/.../log/searchd.log

这是我的回溯

> 

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

有人遇到过这个吗?有谁知道发生了什么事吗?以及如何解决这个问题?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

过潦 2024-11-23 11:59:45

Sphinx 2.0.1 不适用于 OS X - 您需要获取 2.0.2-dev 的源代码:

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

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
圈圈圆圆圈圈 2024-11-23 11:59:45

一个月前我遇到了同样的问题。

您可以尝试

   ps -ef | grep searchd

杀死正在运行的进程,然后从项目目录中进入。

   rake ts:index
   rake ts:start

Ps:我回到了 0.9.9 版本,但这解决了我朋友机器上的问题,但没有解决我的问题。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文