Skip to main content

Making sure that memcache/memcached starts on reboot

Comments

3 comments

  • Jcats
    There is only one daemon, 'memcached', where memcache is a PHP extension that allows you to connect to the memcached daemon, there is also a memcached PHP extension. The way you are starting memcached, it will not restart when you reboot the server. Run the following:
    kill -9 $(pgrep memcached) systemctl start memcached systemctl enable memcached
    however are you sure memcached is even installed? ea-memcached isn't an actual package as far as I am aware. memcached the daemon is available by default via centos repos. If you run:
    systemctl start memcached
    and see:
    # systemctl start memcached Failed to start memcached.service: Unit not found.
    then run:
    yum clean all yum -y install memcached systemctl start memcached systemctl enable memcached
    This will ensure memcached starts up upon rebooting.
    0
  • Del Drago
    Thank you, sir. That did the trick.
    0

Please sign in to leave a comment.