로그인 문제 해결:
centos에서는 문제가 없는데 debian계열/우분투 (karmic 9.10)에서 1년 이상된 bug의 patch가 아직 반영되지 않었군요. 설치되면 당연히 활성화 되어야할 것이... 수정후(ENABLE_MEMCACHED=yes) 로그인 문제는 사라졌읍니다. windows 2008 서버에서와 유사하게 memcached.exe 서비스가 정지된 상태에서 TC의 config.php에서 memcached를 활성화 하면 로그인되지 않었든 것으로 기억됨니다.
{
Package: memcached
Version: 1.2.2
Tags: patch
memcached should be able to be installed, but not enabled by default. The enclosed patch modifies /etc/init.d/memcached to read /etc/default/ memcached and not startup unless ENABLE_MEMCACHED is yes.
diff -uNrb -x CVS -x '*~' -x '*.o' memcached-1.2.2.orig/debian/ memcached.default memcached-1.2.2/debian/memcached.default --- memcached-1.2.2.orig/debian/memcached.default 1969-12-31 16:00:00.000000000 -0800 +++ memcached-1.2.2/debian/memcached.default 2008-02-24 12:59:00.000000000 -0800
@@ -0,0 +1,2 @@
+# Set this to yes to enable memcached.
+ENABLE_MEMCACHED=no
diff -uNrb -x CVS -x '*~' -x '*.o' memcached-1.2.2.orig/scripts/ memcached-init memcached-1.2.2/scripts/memcached-init --- memcached-1.2.2.orig/scripts/memcached-init 2008-02-24 13:01:45.000000000 -0800 +++ memcached-1.2.2/scripts/memcached-init 2008-02-24 12:56:17.000000000 -0800
@@ -24,11 +24,19 @@
set -e
+# Edit /etc/default/memcached to change this.
+ENABLE_MEMCACHED=no
+test -r /etc/default/memcached && . /etc/default/memcached
+
case "$1" in
start)
echo -n "Starting $DESC: "
+ if [ $ENABLE_MEMCACHED = yes ]; then
start-stop-daemon --start --quiet --exec $DAEMONBOOTSTRAP
echo "$NAME."
+ else
+ echo "$NAME disabled in /etc/default/memcached."
+ fi
;;
stop)
echo -n "Stopping $DESC: "
}