It's possible indexer got installed into another directory, like /usr/local/bin or other.
Can you confirm that indexer is in /usr/bin ? On Dec 11, 2011, at 10:05 AM, rtacconi wrote: > Hi, > > > Actually I forced a purge of libmysqlclient and that error is now gone > but both daemons are still not found: > > # bundle exec rake ts:index RAILS_ENV=production > > 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 > > Generating Configuration to /home/wpn/production/releases/ > 20111205164359/config/production.sphinx.conf > sh: /usr/bin/indexer: not found > > my config/sphinx.yml file is: > production: > bin_path: /usr/bin > max_matches: 4000 > mem_limit: 128M > development: > max_matches: 4000 > indexerd and searchd are here: > # which search > /usr/bin/search > # which indexer > /usr/bin/indexer > > On Dec 10, 5:45 pm, "Manish M. Shah" <[email protected]> wrote: >> Hi there, >> >> In the feedback from the ts:rebuild, it says: libmysqlclient.so.16: cannot >> open shared object file: No such file or >> directory >> >> You need to install libmysqlclient. >> >> Manish >> >> On Dec 10, 2011, at 10:59 AM, rtacconi wrote: >> >> >> >> >> >> >> >>> Hi, >> >>> When I run: >> >>> bundle exec rake ts:rebuild RAILS_ENV=production >> >>> I get: >> >>> 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 >> >>> Generating Configuration to my_path/config/production.sphinx.conf >>> /usr/bin/indexer: error while loading shared libraries: >>> libmysqlclient.so.16: cannot open shared object file: No such file or >>> directory >>> /usr/bin/searchd: error while loading shared libraries: >>> libmysqlclient.so.16: cannot open shared object file: No such file or >>> directory >>> Failed to start searchd daemon >> >>> my config/sphinx.yml file is: >> >>> production: >>> bin_path: /usr/bin >>> max_matches: 4000 >>> mem_limit: 128M >> >>> development: >>> max_matches: 4000 >> >>> indexerd and searchd are here: >> >>> # which search >>> /usr/bin/search >>> # which indexer >>> /usr/bin/indexer >> >>> I moved an app from Centos os Ubuntu, so the path to sphinx changed >>> but I cannot manage to have sphinx to work again. I have installed >>> sphinx using apt-get, I am using Ubuntu Server 10.04. My ruby is: >> >>> # ruby -v >>> ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-linux], MBARI 0x8770, >>> Ruby Enterprise Edition 2011.03 >> >>> It's a Rails 2.3.12 >> >>> Please help! >> >>> -- >>> 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 >>> athttp://groups.google.com/group/thinking-sphinx?hl=en. > > -- > 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. > -- 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.
