1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Memcache Errors after server reboot

Discussion in 'Troubleshooting and Problems' started by Steve F, Nov 2, 2015.

  1. Steve F

    Steve F Well-Known Member

    We had a server reboot last night after some configuration changes to the server and are now receiving a ton of memcache errors. For now I've removed the cache options from the config file. I've read a recompile of php solve it for some others but wanting to make sure first.

    Code:
    ErrorException: Memcache::get(): Server localhost (tcp 11211) failed with: Connection refused (111) - library/Zend/Cache/Backend/Memcached.php:180
    
    
    #0 [internal function]: XenForo_Application::handlePhpError(8, 'Memcache::get()...', '/home/pixelexi/...', 180, Array)
    #1 /home/pixelexi/public_html/library/Zend/Cache/Backend/Memcached.php(180): Memcache->get('pe_data_options')
    #2 /home/pixelexi/public_html/library/Zend/Cache/Core.php(303): Zend_Cache_Backend_Memcached->load('pe_data_options', false)
    #3 /home/pixelexi/public_html/library/XenForo/Model/DataRegistry.php(87): Zend_Cache_Core->load('data_options')
    #4 /home/pixelexi/public_html/library/XenForo/Dependencies/Abstract.php(147): XenForo_Model_DataRegistry->getMulti(Array)
    #5 /home/pixelexi/public_html/deferred.php(16): XenForo_Dependencies_Abstract->preLoadData()
    #6 {main}
    
    array(3) {
      ["url"] => string(34) "https://pixelexit.com/deferred.php"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(3) {
        ["_xfRequestUri"] => string(35) "/applicationform/custom-work.2/form"
        ["_xfNoRedirect"] => string(1) "1"
        ["_xfResponseType"] => string(4) "json"
      }
    }
     
  2. MattW

    MattW Well-Known Member

    Is memcached running?

    Code:
    [root@host bxslider]# ps -ef | grep -i memcache
    nobody    7581     1  0 Oct31 ?        00:00:27 /usr/local/bin/memcached -d -m 128 -l 127.0.0.1 -p 11211 -c 2048 -b 2048 -R 200 -t 4 -n 72 -f 1.25 -u nobody -o slab_reassign slab_automove -P /var/run/memcached/memcached1.pid
    root     17584 11038  0 15:28 pts/0    00:00:00 grep --color=auto -i memcache
    [root@host bxslider]#
     
  3. Steve F

    Steve F Well-Known Member

    Doesn't seem like it. So I assume a restart/start would solve it? CentOS WHM/CPanel -

    upload_2015-11-2_10-50-22.png
     
  4. MattW

    MattW Well-Known Member

    This should be fixed now.
     
    Steve F likes this.

Share This Page