LarryK wrote:
Hi,
I just did a fresh build and install of libevent-1.4.12-stable and
memcached-1.4.0 on a 64bit centos
When I start memcached with
# /usr/local/bin/memcached -d -P /var/run/memcached.pid -u nobody -m
3 127.0.0.1 -p 11211
no pid file is created. It seems there was a bug about this awhile
ago, is it fixed?
See http://lists.danga.com/pipermail/memcached/2005-January/001124.html
Do nobody have write access to /var/run ??? memcached is running as
nobody when the file is created.
Cheers,
Trond
There's also a work-around that uses a perl script to startup
memcached and save the pid. See
http://www.dev411.com/wiki/Memcached_startup_files_for_Red_Hat_(RHEL)
Is the perl work-around the way to go?
Thanks,
Larry