I have a server running CentOs.
I used the guide from http://www.if-not-true-then-false.com/2010/install-memcached-on-centos-fedora-red-hat/ to install it. It says it's installed and everything, but when I type in
# /etc/init.d/memcached start
I get the error:
Starting memcached: chown: 'memcached': Invalid User
to switch toe user memcached
I have googled everywhere and can't find an answer.
Anyone have some advice?
Thank you!
Looks like the memcached user is not available on the system, to confirm you can run:
$ -> id memcached
uid=497(memcached) gid=497(memcached) groups=497(memcached)
If you don't see a similar reponse, then you need to add the user/group:
$ -> groupadd memcached
$ -> useradd -g memcached -d /dev/null -s /sbin/nologin
Now you should see a response similar to:
$ -> id memcached
uid=497(memcached) gid=497(memcached) groups=497(memcached)