Hi Srikanth/Pat,

I am using ubuntu 12.04 for my rails project. I have the same issue with 
sphinx.
I followed the steps what all you mentioned in this discussion. But still i 
am getting the same error.

I found my indexer using *which indexer*, then the path is /usr/bin/indexer

I added like this in my config/sphinx.yml file

bin_path: "/usr/bin"

After that i run this command rake thinking_sphinx:rebuild and rake 
thinking_sphinx:configure.. nothing worked for you.

Can anyone suggest any ideas to resolve this issue..
Thanks in advance.



On Saturday, April 3, 2010 8:26:37 AM UTC+5:30, srikanth wrote:
>
> Hi Pat, 
>
> Yeah the Issue was I didn't configure. Thanks for helping me out :):) 
>
> rake thinking_sphinx:configure
> rake thinking_sphinx:start
>
> I have added the solution for this in my blog. 
>
> http://srikanthjeeva.blogspot.com/2010/04/thinking-sphinx.html
>
>
> Thanks,
> Srikanth 
>
>
> On Fri, Apr 2, 2010 at 7:59 PM, Pat Allan 
> <[email protected]<javascript:>
> > wrote:
>
>> Looks like you got it all figured out, given from your blog post I 
>> spotted on Twitter :)
>>
>> (For everyone else: it helps to index your data before starting up 
>> Sphinx).
>>
>> --
>> Pat
>>
>> On 02/04/2010, at 7:46 PM, srikanth wrote:
>>
>> > Hi pat,
>> >
>> > Thanks, Before I didnt install 'Sphinx'. Now I have installed it.
>> >
>> > srikanth@client30:~/projects/registration_desk$ which indexer
>> > /usr/local/bin/indexer
>> >
>> >
>> > But when I start thinking_sphinx, I'm getting this error
>> >
>> > srikanth@client30:~/projects/my project$ rake thinking_sphinx:start
>> > (in /home/srikanth/projects/my project)
>> > Failed to start searchd daemon. Check /home/srikanth/projects/my 
>> project/log/searchd.log.
>> > Failed to start searchd daemon. Check /home/srikanth/projects/my 
>> project/log/searchd.log
>> >
>> > --
>> > srikanth
>> >
>> > On Fri, Apr 2, 2010 at 12:37 PM, Pat Allan 
>> > <[email protected]<javascript:>> 
>> wrote:
>> > What's the output when you run 'which indexer' in your shell?
>> >
>> > --
>> > Pat
>> >
>> > On 02/04/2010, at 6:03 PM, srikanth wrote:
>> >
>> >> srikanth@client30:~/project$ rake thinking_sphinx:index
>> >> (in /home/srikanth/projects/registration_desk)
>> >>
>> >> 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/srikanth/projects/registration_desk/config/development.sphinx.conf
>> >>
>> >>
>> >> This is my sphinx.yml file
>> >> development:
>> >>   bin_path: "/usr/local/bin"
>> >>   port: 9312
>> >>
>> >> & still I'm getting the same error.
>> >>
>> >> How to set up
>> >>  * searchd_binary_name
>> >>  * indexer_binary_name
>> >>
>> >> Please tell me how can i fix this,
>> >>
>> >> --
>> >> Regards,
>> >> Srikanth J
>> >>
>> >> --
>> >> 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]<javascript:>
>> .
>> >> To unsubscribe from this group, send email to 
>> [email protected] <javascript:>.
>> >> 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]<javascript:>
>> .
>> > To unsubscribe from this group, send email to 
>> [email protected] <javascript:>.
>> > For more options, visit this group at 
>> http://groups.google.com/group/thinking-sphinx?hl=en.
>> >
>> >
>> >
>> >
>> > --
>> > Regards,
>> > Srikanth J
>> >
>> > --
>> > 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]<javascript:>
>> .
>> > To unsubscribe from this group, send email to 
>> [email protected] <javascript:>.
>> > 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]<javascript:>
>> .
>> To unsubscribe from this group, send email to 
>> [email protected] <javascript:>.
>> For more options, visit this group at 
>> http://groups.google.com/group/thinking-sphinx?hl=en.
>>
>>
>
>
> -- 
> Regards,
> Srikanth J
>

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/thinking-sphinx/-/ei0lGApLTwUJ.
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.

Reply via email to