云梦编程网

当前位置:首页 > Liunx教程 >

FATAL: failed to lock pid file '/usr/local/sphinxforchinese/var/log/searchd.pid': Resource temporarily unavailable (searchd already running?)

作者:佚名 时间:2024-02-20 12:57:18 阅读:(11)

最近在使用sphinx的时候重建索引之后,启动sphinx报错了FATAL: failed to lock pid file '/usr/local/sphinxforchinese/var/log/searchd.pid': Resource temporarily unavailable (searchd already running?),接下来云梦编程为大家介绍一下解决方法,有需要的小伙伴可以参考一下:

FATAL: failed to lock pid file /usr/local/sphinxforchinese/var/log/searchd.pid: Resource temporarily unavailable (searchd already running?)

1、错误提示:

FATAL: failed to lock pid file /usr/local/sphinxforchinese/var/log/searchd.pid: Resource temporarily unavailable (searchd already running?)

2、解决方法:

停止sphinx:/usr/local/sphinxforchinese/bin/searchd  -c  /usr/local/sphinxforchinese/etc/sphinx.conf --stop
重启:/usr/local/sphinxforchinese/bin/searchd  -c  /usr/local/sphinxforchinese/etc/sphinx.conf

以上就是云梦编程为大家介绍的关于启动sphinx报错的方法,了解更多相关文章请关注云梦编程网!

最新文章

热门文章