I am trying to start thinking about sphinx on my server, but it does not want to work.
I do:
$ rake thinking_sphinx:index && rake thinking_sphinx:start
And I get:
Generating Configuration to /vol/www/apps/ror_tutorial/releases/20120202111730/config/development.sphinx.conf Sphinx 2.0.3-release (r3043) Copyright (c) 2001-2011, Andrew Aksyonoff Copyright (c) 2008-2011, Sphinx Technologies Inc (http://sphinxsearch.com) using config file '/vol/www/apps/ror_tutorial/releases/20120202111730/config/development.sphinx.conf'... indexing index 'micropost_core'... WARNING: collect_hits: mem_limit=0 kb too low, increasing to 13568 kb collected 0 docs, 0.0 MB total 0 docs, 0 bytes total 0.008 sec, 0 bytes/sec, 0.00 docs/sec skipping non-plain index 'micropost'... indexing index 'user_core'... WARNING: collect_hits: mem_limit=0 kb too low, increasing to 13568 kb collected 0 docs, 0.0 MB total 0 docs, 0 bytes total 0.012 sec, 0 bytes/sec, 0.00 docs/sec skipping non-plain index 'user'... total 2 reads, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg total 10 writes, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg Failed to start searchd daemon. Check /vol/www/apps/ror_tutorial/releases/20120202111730/log/searchd.log. Failed to start searchd daemon. Check /vol/www/apps/ror_tutorial/releases/20120202111730/log/searchd.log Be sure to run thinking_sphinx:index before thinking_sphinx:start
My server system is Ubuntu 10.04. Also, it works fine on my local computer (Mac OS X).
My sphinx.yml :
development: bin_path: "/usr/local/bin" searchd_binary_name: searchd indexer_binary_name: indexer test: bin_path: "/usr/local/bin" searchd_binary_name: searchd indexer_binary_name: indexer
configurations /deploy.rb
#Add RVM lib directory to the load path. $:.unshift(File.expand_path('./lib', ENV['rvm_path']))
Exire source share