私はトラブルApacheがRailsは+ Dalli memcacheの宝石:DalliError:
DalliError: No server available
を訴えて続けているので、自分のサーバー上で私のRailsプロジェクトをセットアップを持っていますこんにちは。
私はubuntuマシンにmemcached
をインストールしましたが、それでも動作しません。私のレールプロジェクトはまた、environments/production.rbにconfig.cache_store = :dalli_store, 'localhost:11211', { :namespace => "production" }
を持っています。どのように私はこれをデバッグするでしょうか?
私のログには、各要求の前に示しています11211へ
localhost:11211 failed (count: 6)
DalliError: No server available
のtelnet:
[email protected]:/usr/local/www/production/current/log# telnet localhost 11211
Trying 127.0.1.1...
telnet: Unable to connect to remote host: Connection refused
をあなたがmemcachedを開始するために実行されていますか? – PinnyM