Memcached is not launching

6,488

first make sure you have the memcache user

id memcached

you have an error in your config.. looks like a dos line breaks.. Run the following command over the memcache sysconfig script

dos2unix /etc/sysconfig/memcached
Share:
6,488

Related videos on Youtube

Petrus
Author by

Petrus

Updated on September 17, 2022

Comments

  • Petrus
    Petrus almost 2 years

    I just installed memcached and the memcache pecl extension. Now randomly I cannot get it to start. When I run service memcached start I get this:

    Starting memcached: chown: `memcached\r': invalid user
     to switch toe user memcached
     [FAILED]
    

    What is going on? As far as I know, I performed the installation correctly. In fact, it was running fine but must have randomly stopped...? Im running RedHat x86_64 es5.

    EDIT: maybe I am doing this wrong. What command do I need to run to check if memcached is running?

  • Spechal
    Spechal over 11 years
    dos2unix resolved my problem