Comment #12 on issue 278 by [email protected]: Memcached 1.4.13 segfaults (error 4) when SASL enabled
http://code.google.com/p/memcached/issues/detail?id=278

I am running on the same system I built on. There were no SASL libraries existing when I installed on this box. Here are the steps I performed to install memcached:


FTP these files to the box as mylogin

put libevent-2.0.16-stable.tar.gz
put memcached-1.4.13.tar.gz

SSH to the box and run the following commands as root

cd ~mylogin

tar -zxvf libevent-2.0.16-stable.tar.gz
cd libevent-2.0.16-stable
./configure --prefix=/usr/local
make
make install

cd ..

ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5
yum install cyrus-sasl-devel-2.1.22

tar -zxvf memcached-1.4.13
cd memcached-1.4.13
./configure --enable-sasl
make
make install

saslpasswd2 -a memcached -c memcached
memcached         //Enter password
memcached   //Validate password

chmod 660 /etc/sasldb2

Start memcached with SASL:

memcached -d -u nobody -m 1024 -p 11211 -S


Reply via email to