Hi,

I am on windows (some how it works), first time it indexes, starts,
stop, but next time it do nothing.
I have to restart my computer

1) I restarted my computer


c:\Projects\FranklinAnywhere>rake ts:start
(in c:/Projects/FranklinAnywhere)
[memcache-client] Could not load SystemTimer gem, falling back to
Ruby's slower/unsafe timeout library: no such file to load --
system_timer
** [NewRelic] NewRelic Agent Developer Mode enabled.
** [NewRelic] To view performance information, go to 
http://localhost:3000/newrelic
** [NewRelic] New Relic RPM Agent 2.9.4 Initialized: pid = 3196
** [NewRelic] Agent Log found in c:/Projects/FranklinAnywhere/log/
newrelic_agent.log
uname: illegal option -- p
Try `uname --help' for more information.
Started successfully (pid 612).

So it started

2) I do change in any define_index

rake ts:rebuild

(it do not works)  actually rake ts:stop do not work and also rake
ts:start do not work.

c:\Projects\FranklinAnywhere>rake ts:rebuild --trace
(in c:/Projects/FranklinAnywhere)
** Invoke ts:rebuild (first_time)
** Invoke thinking_sphinx:rebuild (first_time)
** Invoke thinking_sphinx:app_env (first_time)
** Execute thinking_sphinx:app_env
** Invoke environment (first_time)
** Execute environment
[memcache-client] Could not load SystemTimer gem, falling back to
Ruby's slower/unsafe timeout library: no such file to load --
system_timer
** [NewRelic] NewRelic Agent Developer Mode enabled.
** [NewRelic] To view performance information, go to 
http://localhost:3000/newrelic
** [NewRelic] New Relic RPM Agent 2.9.4 Initialized: pid = 796
** [NewRelic] Agent Log found in c:/Projects/FranklinAnywhere/log/
newrelic_agent.log
uname: illegal option -- p
Try `uname --help' for more information.
** Execute thinking_sphinx:rebuild
** Invoke thinking_sphinx:stop (first_time)
** Invoke thinking_sphinx:app_env
** Execute thinking_sphinx:stop
Stopped search daemon (pid 612).
** Invoke thinking_sphinx:index (first_time)
** Invoke thinking_sphinx:app_env
** Execute thinking_sphinx:index
Generating Configuration to c:/Projects/FranklinAnywhere/config/
development.sphinx.conf
Sphinx 0.9.9-release (r2117)
Copyright (c) 2001-2009, Andrew Aksyonoff

using config file 'c:/Projects/FranklinAnywhere/config/
development.sphinx.conf'...
indexing index 'activity_core'...
collected 26 docs, 0.0 MB
collected 26 attr values
sorted 0.0 Mvalues, 100.0% done
sorted 0.0 Mhits, 100.0% done
total 26 docs, 359 bytes
total 0.072 sec, 4969 bytes/sec, 359.88 docs/sec
distributed index 'activity' can not be directly indexed; skipping.
indexing index 'customer_core'...
collected 35 docs, 0.0 MB
collected 35 attr values
sorted 0.0 Mvalues, 100.0% done
sorted 0.0 Mhits, 100.0% done
total 35 docs, 1850 bytes
total 0.021 sec, 85355 bytes/sec, 1614.83 docs/sec
distributed index 'customer' can not be directly indexed; skipping.
total 6 reads, 0.000 sec, 0.8 kb/call avg, 0.0 msec/call avg
total 18 writes, 0.001 sec, 0.6 kb/call avg, 0.0 msec/call avg
WARNING: could not open pipe (GetLastError()=2)
** Invoke thinking_sphinx:start (first_time)
** Invoke thinking_sphinx:app_env
** Execute thinking_sphinx:start
rake aborted!
searchd is already running.
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.16/lib/
thinking_sphinx/tasks.rb:29
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
636:in `call'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
636:in `execute'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
631:in `each'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
631:in `execute'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
597:in `invoke_with_call_chain'
C:/InstantRails/ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
590:in `invoke_with_call_chain'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
583:in `invoke'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/thinking-sphinx-1.3.16/lib/
thinking_sphinx/tasks.rb:87
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
636:in `call'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
636:in `execute'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
631:in `each'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
631:in `execute'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
597:in `invoke_with_call_chain'
C:/InstantRails/ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
590:in `invoke_with_call_chain'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
607:in `invoke_prerequisites'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
604:in `each'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
604:in `invoke_prerequisites'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
596:in `invoke_with_call_chain'
C:/InstantRails/ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
590:in `invoke_with_call_chain'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
583:in `invoke'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
2051:in `invoke_task'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
2029:in `top_level'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
2029:in `each'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
2029:in `top_level'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
2068:in `standard_exception_handling'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
2023:in `top_level'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
2001:in `run'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
2068:in `standard_exception_handling'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:
1998:in `run'
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
C:/InstantRails/ruby/bin/rake:19:in `load'
C:/InstantRails/ruby/bin/rake:19

c:\Projects\FranklinAnywhere>



and when I try to run search it says

>> Customer.search 84119
Riddle::ConnectionError: Connection to 127.0.0.1 on 9312 failed. No
connection could be made because the target machine actively refused
it. - connect
(2)



Please help.

Thanks a lot
Sumeet

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