2010-02-27 2 views
0

내 VPS에 레일 앱을 배포 한 후 스핑크스를 백업하고 실행하는 데 어려움을 겪고 있습니다.캡 배포 도중 스핑크스가 시작되지 않는 것은 무엇입니까?

** [밖으로 :: myapp.com] => 잠금 버전 혼합 : 1.6.4
** [밖으로 :: myapp.com]

특히,이 오류를 발생하고있어 ** [out :: myapp.com] searchd 데몬을 시작하지 못했습니다. /var/www/myapp/releases/20100227224936/log/searchd.log를 확인하십시오.
** [out :: myapp.com] searchd 데몬을 시작하지 못했습니다. 그러나

을 /var/www/myapp/releases/20100227224936/log/searchd.log 확인, 로그 파일이 만들어지지 않습니다!

은 deploy.rb 내가 사용하고 (Updrift 덕분에 :)) 나는 생각 스핑크스 보석을 사용하고

namespace :deploy do 
desc "Restart the app" 
task :restart, :roles => :app do 

# This regen's the config file, stops Sphinx if running, then starts it. 
# No indexing is done, just a restart of the searchd daemon 
# thinking_sphinx.running_start 

# The above does not re-index. If any of your define_index blocks 
# in your models have changed, you will need to perform an index. 
# If these are changing frequently, you can use the following 
# in place of running_start 

    thinking_sphinx.stop 
    thinking_sphinx.index 
    thinking_sphinx.start 

# Restart the app 
run "touch #{current_path}/tmp/restart.txt" 
end 

desc "Cleanup older revisions" 
task :after_deploy do 
cleanup 
end 

end 

, V 1.3.16, 승객 2.2.10입니다. 당신이 가지고있는 생각은 크게 감사 할 것입니다.

감사합니다.

그렉

UPDATE : 몇 가지 더, 내가 유사한 오류가있는 다른 사람의 몇 가지 발견했습니다 검색하는 구글에 추가 - 겉보기 포트 수신 오류와 관련이 here을 예와 [I는 링크 할 수 없습니다 해요 다른 것]. 내 production.sphinx.conf 유사 저 사람이 원인이 될 수있는 어떤 생각을 가지고 있습니까 3312

를 사용하는 sphinx.yml에 지정에도 불구하고, 9312 포트를 사용하고있다? 감사.

나는 IT 군중을 렁해야

답변

관련 문제