I was, since in production I have it sitting on a remote server. Commeted that out from my dev environment and its up and running again.
Thanks so much. Simon On Sep 22, 8:29 am, Pat Allan <[email protected]> wrote: > You're not setting ThinkingSphinx.remote_sphinx to true at any point, are you? > > -- > Pat > > On 22/09/2011, at 10:20 PM, Simon wrote: > > >> rake ts:start > > rake aborted! > > searchd is already running. > > > Tasks: TOP => ts:start => thinking_sphinx:start > > (See full trace by running task with --trace) > >> ps aux | grep searchd > > 1000 4553 0.0 0.0 3336 800 pts/0 S+ 08:18 0:00 grep > > searchd > > > One right after the other. > > > Simon > > > On Sep 21, 7:37 pm, Pat Allan <[email protected]> wrote: > >> Hi Simon > > >> What's the output of `ps aux | grep searchd` in a shell? > > >> -- > >> Pat > > >> On 21/09/2011, at 10:13 PM, Simon wrote: > > >>> Hi, > > >>> I had thinking sphinx working properly on my development machine a > >>> while ago, but haven't had to get it running in a while. Now when I > >>> try, I get the error mentioned in the title. I can index without any > >>> issue, however. > > >>> I am running: > >>> Rails 2.3.8 > >>> Ruby 1.8.7 > >>> thinking-sphinx 1.4.3 (gem) > >>> ts-delayed-delta 1.1.1 (gem) > > >>> I have the following in my environment.rb file: > >>> config.gem 'thinking-sphinx', > >>> :lib => 'thinking_sphinx', > >>> :version => '1.4.3' > > >>> config.gem 'ts-delayed-delta', > >>> :lib => 'thinking_sphinx/deltas/delayed_delta', > >>> :version => '>=1.1.1', > >>> :source => 'http://gemcutter.org' > > >>> In my Rakefile I have: > >>> require 'thinking_sphinx/tasks' > >>> require 'thinking_sphinx/deltas/delayed_delta/tasks' > > >>> I can get the 'rake ts:dd' task running. But when I try rake ts:start > >>> --trace, I get: > >>> ** Invoke ts:start (first_time) > >>> ** Invoke thinking_sphinx:start (first_time) > >>> ** Invoke thinking_sphinx:app_env (first_time) > >>> ** Execute thinking_sphinx:app_env > >>> ** Invoke environment (first_time) > >>> ** Execute environment > >>> ** Execute thinking_sphinx:start > >>> rake aborted! > >>> searchd is already running. > >>> /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-1.4.3/lib/thinking_sphinx/ > >>> tasks.rb:35 > >>> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:205:in `call' > >>> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:205:in > >>> `execute' > >>> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:200:in `each' > >>> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:200:in > >>> `execute' > >>> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:158:in > >>> `invoke_with_call_chain' > >>> /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' > >>> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:151:in > >>> `invoke_with_call_chain' > >>> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:176:in > >>> `invoke_prerequisites' > >>> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:174:in `each' > >>> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:174:in > >>> `invoke_prerequisites' > >>> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:157:in > >>> `invoke_with_call_chain' > >>> /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' > >>> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:151:in > >>> `invoke_with_call_chain' > >>> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:144:in > >>> `invoke' > >>> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:112:in > >>> `invoke_task' > >>> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:90:in > >>> `top_level' > >>> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:90:in > >>> `each' > >>> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:90:in > >>> `top_level' > >>> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:129:in > >>> `standard_exception_handling' > >>> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:84:in > >>> `top_level' > >>> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:62:in > >>> `run' > >>> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:129:in > >>> `standard_exception_handling' > >>> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:59:in > >>> `run' > >>> /usr/lib/ruby/gems/1.8/gems/rake-0.9.2/bin/rake:32 > >>> /usr/bin/rake:19:in `load' > >>> /usr/bin/rake:19 > >>> Tasks: TOP => ts:start => thinking_sphinx:start > > >>> There is no .pid file in the log dir (and no searchd log files > >>> whatsoever), and I can't find searchd actually running anywhere on my > >>> system. In fact, when I try to get thinking sphinx running in another > >>> (older) project, it starts up fine (indicating that searchd isn't > >>> actually running). > > >>> Anybody have any other ideas for what I could look for and/or try to > >>> get up and running again? > > >>> Thanks, > > >>> Simon > > >>> -- > >>> 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 > > 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.
