FIXED :D

Changed the port numbers for dev/production.

On Dec 15, 9:05 pm, Geoff Wright <[email protected]> wrote:
> Additionally, when I rails c and search via console I get:
>
> ThinkingSphinx::SphinxError: unknown local index 'product_core' in
> search request
>         from /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-2.0.10/lib/
> thinking_sphinx/search.rb:423
>         from /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-2.0.10/lib/
> thinking_sphinx/search.rb:568:in `call'
>         from /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-2.0.10/lib/
> thinking_sphinx/search.rb:568:in `retry_on_stale_index'
>         from /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-2.0.10/lib/
> thinking_sphinx/search.rb:411:in `populate'
>         from /usr/lib/ruby/gems/1.8/gems/thinking-sphinx-2.0.10/lib/
> thinking_sphinx/search.rb:176:in `method_missing'
>         from /usr/lib/ruby/1.8/irb.rb:310:in `output_value'
>         from /usr/lib/ruby/1.8/irb.rb:159:in `eval_input'
>         from /usr/lib/ruby/1.8/irb.rb:271:in `signal_status'
>         from /usr/lib/ruby/1.8/irb.rb:155:in `eval_input'
>         from /usr/lib/ruby/1.8/irb.rb:154:in `eval_input'
>         from /usr/lib/ruby/1.8/irb.rb:71:in `start'
>         from /usr/lib/ruby/1.8/irb.rb:70:in `catch'
>         from /usr/lib/ruby/1.8/irb.rb:70:in `start'
>         from /usr/lib/ruby/gems/1.8/gems/railties-3.0.9/lib/rails/commands/
> console.rb:44:in `start'
>         from /usr/lib/ruby/gems/1.8/gems/railties-3.0.9/lib/rails/commands/
> console.rb:8:in `start'
>         from /usr/lib/ruby/gems/1.8/gems/railties-3.0.9/lib/rails/commands.rb:
> 23
>         from script/rails:6:in `require'
>
> Note: Product is my model...
>
> On Dec 15, 6:40 pm, Geoff Wright <[email protected]> wrote:
>
>
>
>
>
>
>
> > Hey Pat,
>
> > Thanks for all of your help previously. Got an issue that has me
> > stumped, me being a SSH/Linux noob probably isn't helping.
>
> > We've just setup a production server and started the process of moving
> > everything across, that is an interesting experience by itself(!),
> > however, we're having a bit of trouble getting TS to play nice with
> > Sphinx.
>
> > The error I'm getting (after a days worth of battling) is now:
>
> > deploy@serverous:/srv/www/[site]/current$ RAILS_ENV=production rake
> > ts:start
> > Failed to start searchd daemon. Check /srv/www/weartolook.com/releases/
> > 20111215152947/log/searchd.log.
> > Failed to start searchd daemon. Check /srv/www/weartolook.com/releases/
> > 20111215152947/log/searchd.log
> > Failed to start searchd daemon. Check /srv/www/weartolook.com/releases/
> > 20111215152947/log/searchd.log.
> > Failed to start searchd daemon. Check /srv/www/weartolook.com/releases/
> > 20111215152947/log/searchd.log
>
> > Now, why on earth than is giving me that 4 times. I don't know. I've
> > checked that log file, and there's nothing there. Even played around
> > with the log permissions and stuff.
>
> > I've run rake ts:configure, setup my config etc. I can't work out for
> > the life of me whats going on.
>
> > I also can't seem to kill the process. When I kill the process, I can
> > rekill it again and again and searchd has a different PID :/
>
> > We're using TS 2.0.5, Passenger and Ubuntu 10.4 for the server. Rails
> > 3.0.9.
>
> > Do you have any ideas?
>
> > Thanks,
>
> > Geoff

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