i tried to install sphinx with rails 3.0.1 on my new server.
I always get this:
Sphinx cannot be found on your system. You may need to configure the following settings in your config/sphinx.yml file: * bin_path * searchd_binary_name * indexer_binary_name
For more information, read the documentation: http://freelancing-god.github.com/ts/en/advanced_config.html
or
some riddle error.
First i tried via ubuntu packages:
sudo apt-get install sphinxsearch
This doesn´t helped, so i tried to load it from the website and compiled it for myself.
I can exec:
RAILS_ENV=production rake ts:rebild
And i found it:
whereis searchd searchd: /usr/local/bin/searchd
But crontab -e could not exec the rebuild method...
Also this error comes buy try to start searchd manualy:
searchd --pidfile --config /var/www/config/production.sphinx.conf Sphinx 2.1.1-beta (rel21-r3701) Copyright (c) 2001-2013, Andrew Aksyonoff Copyright (c) 2008-2013, Sphinx Technologies Inc (http://sphinxsearch.com)
using config file '/var/www/config/production.sphinx.conf'... WARNING: key 'address' is deprecated in /var/www/config/production.sphinx.conf line 8; use 'listen' instead. WARNING: key 'port' is deprecated in /var/www/config/production.sphinx.conf line 9; use 'listen' instead. FATAL: failed to lock pid file '/var/www/log/searchd.production.pid': Resource temporarily unavailable (searchd already running?)
Thank you!!! and have a nice weekend!