No worries, good to hear everything's now working :)

Any more problems, just let us know.

--  
Pat

On 21/04/2009, at 12:54 AM, internetchris wrote:

>
> Pat,
>
> I can see a white halo around your name  - lol. That worked!  Now my
> only frustration is that I didn't post sooner.
>
> Many Thanks!
>
> Chris
>
> On Apr 20, 6:49 am, Pat Allan <[email protected]> wrote:
>> Hi Chris
>>
>> This is an odd problem. Are you certain that the Sphinx daemon is not
>> running? If it's not running, does log/searchd.development.log exist?
>> Try deleting it and see if that helps.
>>
>> Cheers
>>
>> --
>> Pat
>>
>> On 20/04/2009, at 2:29 PM, internetchris wrote:
>>
>>
>>
>>
>>
>>> One more additional bit of info. Here's the application trace from  
>>> my
>>> view when I get the message that says "Connection to Sphinx Daemon
>>> (searchd) failed."
>>
>>> C:/RailsDevelopment/rails_apps/obilling/vendor/plugins/thinking-
>>> sphinx/
>>> lib/thinking_sphinx/search.rb:483:in `search_results'
>>> C:/RailsDevelopment/rails_apps/obilling/vendor/plugins/thinking-
>>> sphinx/
>>> lib/thinking_sphinx/search.rb:356:in `search'
>>> C:/RailsDevelopment/rails_apps/obilling/vendor/plugins/thinking-
>>> sphinx/
>>> lib/thinking_sphinx/search.rb:382:in `call'
>>> C:/RailsDevelopment/rails_apps/obilling/vendor/plugins/thinking-
>>> sphinx/
>>> lib/thinking_sphinx/search.rb:382:in `retry_search_on_stale_index'
>>> C:/RailsDevelopment/rails_apps/obilling/vendor/plugins/thinking-
>>> sphinx/
>>> lib/thinking_sphinx/search.rb:355:in `search'
>>> C:/RailsDevelopment/rails_apps/obilling/vendor/plugins/thinking-
>>> sphinx/
>>> lib/thinking_sphinx/active_record/search.rb:29:in `search'
>>> C:/RailsDevelopment/rails_apps/obilling/app/controllers/
>>> accounts_controller.rb:7:in `index'
>>
>>> On Apr 19, 9:34 pm, internetchris <[email protected]>
>>> wrote:
>>>> Sorry, just a little typo on my post. I talked about the PostgreSQL
>>>> binaries, and I meant to say the thinking sphinx binaries. This was
>>>> mentioned at the top of my post.
>>
>>>> Any help is appreciated.
>>
>>>> Chris
>>
>>>> On Apr 19, 9:30 pm, internetchris <[email protected]>
>>>> wrote:
>>
>>>>> So I have been trying for 2 days to get thinking sphinx running in
>>>>> my
>>>>> windows and postgresql enviroment. I have downloaded the  
>>>>> PostgreSql
>>>>> binaries, placed them in the Program Files folder, and set my
>>>>> windows
>>>>> path to see the folder..
>>
>>>>> c:\Program Files\sphinx-0.9.8.1-win32-pgsql
>>
>>>>> I also copied  files from that folder to my ruby/bin folder as
>>>>> instructed at (http://www.espace.com.eg/blog/2009/03/23/thinking-
>>>>> sphinx-on-windows/). I am at a total loss, so I tried to document
>>>>> the
>>>>> latest issue at the bottom. I am pretty certain everything is  
>>>>> setup
>>>>> correctly, but for some reason I have the following issues....
>>
>>>>> When I try to bring the index page up in my rails project I get
>>>>> this...
>>
>>>>> "Connection to Sphinx Daemon (searchd) failed."
>>
>>>>> _____________________________________________
>>
>>>>> When I run "rake ts:index" I get the following which looks fine,  
>>>>> but
>>>>> the last bit of code talks about a pipe issue ( I don't know what
>>>>> that
>>>>> means)
>>
>>>>> -----------------------------------
>>>>> C:\RailsDevelopment\rails_apps\obilling>rake ts:index
>>>>> (in C:/RailsDevelopment/rails_apps/obilling)
>>>>> Generating Configuration to C:/RailsDevelopment/rails_apps/ 
>>>>> obilling/
>>>>> config/development.sphinx.conf
>>>>> indexer --config C:/RailsDevelopment/rails_apps/obilling/config/
>>>>> development.sphinx.conf --all --rotate
>>>>> Sphinx 0.9.8-release (r1533)
>>>>> Copyright (c) 2001-2008, Andrew Aksyonoff
>>
>>>>> using config file 'C:/RailsDevelopment/rails_apps/obilling/config/
>>>>> development.sphinx.conf'...
>>>>> indexing index 'account_core'...
>>>>> collected 1 docs, 0.0 MB
>>>>> collected 0 attr values
>>>>> sorted 0.0 Mvalues, 100.0% done
>>>>> sorted 0.0 Mhits, 100.0% done
>>>>> total 1 docs, 4 bytes
>>>>> total 1.096 sec, 3.65 bytes/sec, 0.91 docs/sec
>>>>> distributed index 'account' can not be directly indexed; skipping.
>>>>> WARNING: could not open pipe (GetLastError()=2)
>>
>>>>> ----------------------------------------
>>
>>>>> When I run "rake ts:start" I get...
>>
>>>>> -------------------------------------------
>>
>>>>> C:\RailsDevelopment\rails_apps\obilling>rake ts:start
>>>>> (in C:/RailsDevelopment/rails_apps/obilling)
>>>>> rake aborted!
>>>>> searchd is already running.
>>
>>>>> (See full trace by running task with --trace)
>>
>>>>> C:\RailsDevelopment\rails_apps\obilling>
>>
>>>>> _________________________
>>
>>>>> When I run "rake ts:stop" I get....
>>
>>>>> __________________________
>>
>>>>> C:\RailsDevelopment\rails_apps\obilling>rake ts:stop
>>>>> (in C:/RailsDevelopment/rails_apps/obilling)
>>>>> Sphinx 0.9.8-release (r1533)
>>>>> Copyright (c) 2001-2008, Andrew Aksyonoff
>>
>>>>> WARNING: forcing --console mode on Windows
>>>>> using config file 'C:/RailsDevelopment/rails_apps/obilling/config/
>>>>> development.sphinx.conf'...
>>>>> WARNING: could not open pipe (GetLastError()=2)
>>>>> FATAL: stop: error terminating pid 3792
>>>>> Stopped search daemon (pid 3792).
> >


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to