and this is what I get when I boot server. see mongrel says diff version of rails
c:\Projects\FranklinAnywhere>ruby script/server => Booting Mongrel => Rails 2.3.2 application starting on http://0.0.0.0:3000 [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 = 2576 ** [NewRelic] Agent Log found in c:/Projects/FranklinAnywhere/log/ newrelic_agent.log uname: illegal option -- p Try `uname --help' for more information. => Call with -d to detach => Ctrl-C to shutdown server Thanks On Mar 29, 8:46 am, Sumeet Panchal <[email protected]> wrote: > Hi, > > Rails 2.3.5, ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] > > define_index do > indexes :company_name > indexes :phone1 > indexes :phone2 > indexes :fax > indexes :email > indexes :website > indexes :zip_code > end > > all are columns of table. > > #Custom settings for the sphinx search engine > > #sphinx.yml > development: > port: 9312 > > First when I unzipped the sphinx package that I had downloaded, there > was no sphinx.conf.dist file, but there was sphinx.conf.in, so I > copied it and put it into the my working directory > of project i.e. C:/Projects/FranklinAnywhere/ > And rest of my api, db and others folder are also here. > > ALso when I index something, it puts 14 files for each model in db/ > sphinx/development is it normal working. > > Thanks > Sumeet > > On Mar 28, 12:14 am, Pat Allan <[email protected]> wrote: > > > Hi Sumeet > > > You've posted in a few places, so I'mnotquite sure where you're at... have > > you had any luck stopping Sphinx? Ifnot, what versions of Sphinx, Rails and > > Thinking Sphinx are you using? Whatdoyour define_index blocks look like? > > Anddoyou have anything in config/sphinx.yml? > > > I don't use Windows, so I'mnotsure what the best approach for this is > > currently, but Idoknow others have Sphinx and Thinking Sphinx working on > > Windows. > > > Cheers > > > -- > > Pat > > > On 27/03/2010, at 8:54 AM, Sumeet Panchal wrote: > > > > Hi, > > > > I am on windows (some how it works), first time it indexes, starts, > > > stop, but next time itdonothing. > > > I have to restart my computer > > > > 1) I restarted my computer > > > > c:\Projects\FranklinAnywhere>rakets:start > > > (in c:/Projects/FranklinAnywhere) > > > [memcache-client] Couldnotload 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 > > > tohttp://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) Idochange in any define_index > > > >rakets:rebuild > > > > (itdonotworks) actuallyrakets:stopdonotworkand alsorake > > > ts:startdonotwork. > > > > c:\Projects\FranklinAnywhere>rakets: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] Couldnotload 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 > > > tohttp://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' cannotbe 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' cannotbe 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: couldnotopen pipe (GetLastError()=2) > > > ** Invoke thinking_sphinx:start (first_time) > > > ** Invoke thinking_sphinx:app_env > > > ** Execute thinking_sphinx:start > > >rakeaborted! > > > 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 > > > 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.
