Skip to content
English
  • There are no suggestions because the search field is empty.

Memcache service stopped

Original Question or Issue:

Memcache service appears to have stopped last night, triggering the Admin warning “Memcache Server Not Running” and repeated log errors.


Environment:

  • Product - FileCloud Server
  • Version - 23.242
  • Platform - Any

Steps to Reproduce:

  • FileCloud upgrade to v23.242.x (or later)
  • Memcache service on the configured host stops
  • Admin UI displays “Memcache Server Not Running”
  • FileCloud server logs fill with memcache-related errors

Error or Log Message:

ERROR: Failed to set any Memcached connection


Defect or Enhancement Number:

 


Cause:

Legacy configuration was still pointing at a remote IP address via the old TONIDOCLOUD_MEMCACHED_SERVER settings, but that memcached instance was down/unreachable.


Resolution or Workaround:

Switched to the new HA-aware single-node format and pointed at the local daemon:

  • Edit /var/www/html/config/cloudconfig.php

--// Comment out or remove the old lines:

// define("TONIDOCLOUD_MEMCACHED_SERVER", "<server_ip>");

// define("TONIDOCLOUD_MEMCACHED_PORT", <server_port>);



--// Add the new setting:

define("TONIDOCLOUD_MEMCACHED_SERVERS", "<host_ip>:<port>");


  • Restart or reload Apache to pick up the change:


sudo systemctl restart apache2

or

sudo systemctl reload httpd


Once applied, the Admin warning cleared and the “Failed to set any Memcached connection” errors stopped.


Notes: