memcached in freebsd

Evan Martin martine@danga.com
Sun, 10 Aug 2003 01:44:45 -0700


On Sunday, August 10, 2003, at 12:17 AM, Brion Vibber wrote:
> On my FreeBSD 5.1 box I managed to install the above-linked port of 
> memcached 1.1.6. It compiles, installs, and runs, and seems to be 
> willing to _store_ items, but when I try to _retrieve_ something it 
> fails:
>
>  _load_items(): Failed to recieve valid header!

The memcache protocol works over telnet, which is nice for debugging.
Try something like:
% telnet my.host 11211
after connecting, type:
   set test 0 0 5
   hello
and you should get STORED back.
then try
   get test
and see if you get "hello" back.