Jump to content

memcached server address problem


Recommended Posts

Posted

I installed memcache on my server but when switching to it in ACP I get "You must provide at least one server.".

The server address I entered is : 127.0.0.1:11211

I checked to see if memcache is running with the following command:

ps ax | grep memcached | grep -Ev grep

which returns:

29969 ?        Sl     0:00 /usr/bin/memcached -m 64 -p 11211 -u nobody -l 127.0.0.1

So I am using the correct port. It's also seems to be enabled in PHP, running the following command

php -i | grep memcache

returns:

/etc/php5/cli/conf.d/20-memcached.ini,
memcached
memcached support => enabled
libmemcached version => 1.0.16
memcached.compression_factor => 1.3 => 1.3
memcached.compression_threshold => 2000 => 2000
memcached.compression_type => fastlz => fastlz
memcached.serializer => php => php
memcached.sess_binary => 0 => 0
memcached.sess_connect_timeout => 1000 => 1000
memcached.sess_consistent_hash => 0 => 0
memcached.sess_lock_expire => 0 => 0
memcached.sess_lock_max_wait => 0 => 0
memcached.sess_lock_wait => 150000 => 150000
memcached.sess_locking => 1 => 1
memcached.sess_number_of_replicas => 0 => 0
memcached.sess_prefix => memc.sess.key. => memc.sess.key.
memcached.sess_randomize_replica_read => 0 => 0
memcached.sess_remove_failed => 0 => 0
memcached.sess_sasl_password => no value => no value
memcached.sess_sasl_username => no value => no value
memcached.store_retry_count => 2 => 2
memcached.use_sasl => 0 => 0
Registered save handlers => files user memcached

 

anyone know what the issue might be? Thanks in advance!

Posted

"You must provide at least one server." that sounds like an "inpurt issue". You have actually typed that address and didn't expect the placeholder (which is exactly this address) to work right? Maybe you can attach a screenshot/video clip showing this issue.

Posted
3 hours ago, inkredible said:

"You must provide at least one server." that sounds like an "inpurt issue". You have actually typed that address and didn't expect the placeholder (which is exactly this address) to work right? Maybe you can attach a screenshot/video clip showing this issue.

Wow I really feel stupid now.

it looked like this:

58f65ae90486c_ScreenShot2017-04-18at20_24_29.thumb.png.734b731032355d0569a14fe1a491febe.png

So I thought it was prefilled with the default values. But yep it was just a placeholder (facepalm). Thanks a lot for this! it's working perfectly now :)

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...