Ubuntu を使用した Bitnami Rails スタックがあります。5 つのシン Web アプリケーション サーバーで Nginx をセットアップしています。ブラウザ経由で Rails アプリにアクセスしようとすると、Nginx がシン サーバーにリクエストを送信しているように見えます。しかし、ブラウザに「内部サーバーエラー」が返されます。
次に、thin.3000.log には次のエントリが含まれます。
>> Thin web server (v1.5.0 codename Knife)
>> Maximum connections set to 1024
>> Listening on 127.0.0.1:3000, CTRL+C to stop
!! Unexpected error while processing request: getaddrinfo: Temporary failure in name resolution
!! Unexpected error while processing request: getaddrinfo: Temporary failure in name resolution
これは何らかの DNS の問題を意味しますか?
これは私の thin.yml です = https://dl.dropbox.com/u/35302780/thin.yml
これは私の nginx.conf です = https://dl.dropbox.com/u/35302780/nginx.conf
そして、これは nginx.conf に含まれる ndeavor.conf です = https://dl.dropbox.com/u/35302780/ndeavor.conf
助けてくれてありがとう!
更新1
Thin をスタンドアロンで実行しただけでも、同じエラーが発生します。
bitnami@linux:/opt/bitnami/projects/ndeavor/current$ thin -e production start
>> Using rack adapter
/opt/bitnami/projects/ndeavor/releases/20130314191109/config/application.rb:3:in `<top (required)>': iconv will be deprecated in the future, use String#encode instead.
[DEVISE] Devise.use_salt_as_remember_token is deprecated and has no effect. Please remove it.
>> Thin web server (v1.5.0 codename Knife)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:3000, CTRL+C to stop
!! Unexpected error while processing request: getaddrinfo: Temporary failure in name resolution