Solved. Something funky with /var/run on my system. Eg shows in ls as blue text on green background. -- apparently not a regular directory.
Anyhow, created dir /var/run/memcached then chown to nobody. Now -P works properly. Thanks for the help, Larry On Aug 5, 1:51 pm, LarryK <[email protected]> wrote: > Thanks, I did think of that too. I had changed the permissions to o+w > -- > drwxr-xrwx 10 root root 4096 Aug 5 17:36 /var/run > > On Aug 5, 1:28 pm, Trond Norbye <[email protected]> wrote: > > > > > 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? > > > Seehttp://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. > > > Seehttp://www.dev411.com/wiki/Memcached_startup_files_for_Red_Hat_(RHEL) > > > > Is the perl work-around the way to go? > > > > Thanks, > > > > Larry
