我正在努力讓獅身人面像在我的VPS上部署一個Rails應用程序後備份並運行。我在做什麼錯誤的獅身人面像無法啓動帽部署期間?
具體而言,我拋出這個錯誤:
** [出:: 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:另外一些更多的Google搜索,我發現一對夫婦的其他人有類似錯誤的 - 看似與端口監聽錯誤,例如here和[我不能鏈接到另一個]。我的production.sphinx.conf同樣使用了端口9312,儘管我在sphinx.yml中指定使用3312.
有沒有人有任何想法可能會導致這種情況?謝謝。
哦,對於沒有遇到IT人羣的人... :) http://www.youtube.com/watch?v=gt9j80Jkc_A – 2010-02-28 00:01:48