1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Redis Connection Error After Server Reboot

Discussion in 'Web Hosting' started by lllpumaslll, Mar 10, 2014.

  1. #1
    I rebooted my dedicated server and it seems like Redis stopped working after it restarted. I'm using it on a Magento website.

    I get the following error message:

    There has been an error processing your request

    Connection to Redis failed after 2 failures.

    Trace:
    #0 /home/houstonwheelandtire.com/public_html/lib/Credis/Client.php(362): Credis_Client->connect()
    #1 /home/houstonwheelandtire.com/public_html/lib/Credis/Client.php(447): Credis_Client->connect()
    #2 /home/houstonwheelandtire.com/public_html/lib/Credis/Client.php(440): Credis_Client->call('select', Array)
    #3 /home/houstonwheelandtire.com/public_html/app/code/community/Cm/Cache/Backend/Redis.php(125): Credis_Client->select(0)
    #4 /home/houstonwheelandtire.com/public_html/lib/Zend/Cache.php(153): Cm_Cache_Backend_Redis->
    construct(Array)
    #5 /home/houstonwheelandtire.com/public_html/lib/Zend/Cache.php(94): Zend_Cache::makeBackend('CmCache_Backen...', Array, true, true)
    #6 /home/houstonwheelandtire.com/public_html/app/code/core/Mage/Core/Model/Cache.php(124): Zend_Cache::factory('Varien_Cache_Co...', 'Cm_Cache_Backen...', Array, Array, true, true, true)
    #7 /home/houstonwheelandtire.com/public_html/app/code/core/Mage/Core/Model/Config.php(1348): Mage_Core_Model_Cache->__construct(Array)
    #8 /home/houstonwheelandtire.com/public_html/app/Mage.php(462): Mage_Core_Model_Config->getModelInstance('core/cache', Array)
    #9 /home/houstonwheelandtire.com/public_html/app/code/core/Mage/Core/Model/App.php(401): Mage::getModel('core/cache', Array)
    #10 /home/houstonwheelandtire.com/public_html/app/code/core/Mage/Core/Model/App.php(295): Mage_Core_Model_App->initCache(Array)
    #11 /home/houstonwheelandtire.com/public
    html/app/code/core/Mage/Core/Model/App.php(337): Mage_Core_Model_App->baseInit(Array)
    #12 /home/houstonwheelandtire.com/public_html/app/Mage.php(683): Mage_Core_Model_App->run(Array)
    #13 /home/houstonwheelandtire.com/public_html/index.php(86): Mage::run('', 'store')
    #14 {main}

    Error log record number: 881312249549
     
    lllpumaslll, Mar 10, 2014 IP
  2. djacobs

    djacobs Well-Known Member

    Messages:
    238
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    140
    #2
    I don't really see an error. Look in your other logs for an actual error. Did you set Redis to start with root privileges?
     
    djacobs, Mar 12, 2014 IP