memcached - Rails + Dalli memcache gem: DalliError: No server available -


hi i'm having trouble setting rails project on server because apache keeps complaining

dallierror: no server available.

i installed memcached on ubuntu machine, still doesn't work. rails project has config.cache_store = :dalli_store, 'localhost:11211', { :namespace => "production" } in environments/production.rb. how debug this?

my log shows before each request:

localhost:11211 failed (count: 6) dallierror: no server available 

telnet 11211:

    root@s2:/usr/local/www/production/current/log# telnet localhost 11211     trying 127.0.1.1...     telnet: unable connect remote host: connection refused 

i had same problem. first installed memcached gem gem install memcached , got error "dallierror: no server available"

then installed memcached doing sudo apt-get install memcached. works fine now.


Comments

Popular posts from this blog

design - Custom Styling Qt Quick Controls -

Unable to remove the www from url on https using .htaccess -