Can you confirm there's only one searchd process running on that server? When 
you type `ps aux | grep searchd' what's the output?

-- 
Pat

On 24/02/2012, at 10:13 PM, chussenot wrote:

> 
> I can you help to fix this...
> 
> CONFIGURATION
> -----------------
> ngix
> rvm
> ruby 1.9.2p290
> -----------
> configure thinking in Gemfile
> gem 'thinking-sphinx'
> 
> Sphinx 2.0.3-release (r3043)
> ------------
> 
> My index
> 
>  * executing `sphinx:rebuild'
>  * executing "cd /home/deploy/greatlight.eu/current; rake ts:rebuild
> RAILS_ENV=production"
>    servers: ["greatlight.eu"]
> Password:
>    [greatlight.eu] executing command
> ** [out :: greatlight.eu] Stopped search daemon (pid 19589).
> ** [out :: greatlight.eu] Generating Configuration to /home/deploy/
> greatlight.eu/releases/20120224101214/config/production.sphinx.conf
> ** [out :: greatlight.eu] Sphinx 2.0.3-release (r3043)
> ** [out :: greatlight.eu] Copyright (c) 2001-2011, Andrew Aksyonoff
> ** [out :: greatlight.eu] Copyright (c) 2008-2011, Sphinx
> Technologies Inc (http://sphinxsearch.com)
> ** [out :: greatlight.eu]
> ** [out :: greatlight.eu] using config file '/home/deploy/
> greatlight.eu/releases/20120224101214/config/
> production.sphinx.conf'...
> ** [out :: greatlight.eu] indexing index 'travel_core'...
> ** [out :: greatlight.eu] WARNING: collect_hits: mem_limit=0 kb too
> low, increasing to 13568 kb
> ** [out :: greatlight.eu] collected 30 docs, 0.0 MB
> ** [out :: greatlight.eu] sorted 0.0 Mhits, 100.0% done
> ** [out :: greatlight.eu] total 30 docs, 8876 bytes
> ** [out :: greatlight.eu] total 0.052 sec, 169538 bytes/sec, 573.02
> docs/sec
> ** [out :: greatlight.eu] skipping non-plain index 'travel'...
> ** [out :: greatlight.eu] total 3 reads, 0.000 sec, 2.7 kb/call avg,
> 0.0 msec/call avg
> ** [out :: greatlight.eu] total 9 writes, 0.000 sec, 1.8 kb/call avg,
> 0.0 msec/call avg
> ** [out :: greatlight.eu] Started successfully (pid 21780).
> 
> 
> my production log
> 
> 
> ThinkingSphinx::SphinxError (no enabled local indexes to search):
>  app/controllers/searches_controller.rb:8:in `show'
> 
> 
> MODEL
> --------
> 
> class Travel < ActiveRecord::Base
>  #
>  # sphinx search
>  #
>  define_index do
>    indexes :title
>    indexes :description
>  end
> end
> 
> CONTROLLER
> _______
> class SearchesController < ApplicationController
> 
>  def show
>    @results = Travel.search 'Quos'
>    raise @results.inspect
>  end
> 
> end
> 
> 
> Thanks :)
> 
> -- 
> 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.
> 


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