News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Memcache Error: memcache_connect Connection refused

Started by spiros, May 11, 2018, 06:25:40 AM

Previous topic - Next topic

spiros

I see 1000s of these error in error log. Memcache not working OK?

memcache_connect(): Server 127.0.0.1 (tcp 11211, udp 0) failed with: Connection refused (111)Apply Filter: Only show the errors from this file File:
forum/Sources/Load.php
Line: 2883

drewactual

it likely isn't working..

you can either draft and implement a crom for the service to start, or, you have to manually start it each time you restart the server.  it drives me nuts too.

on my apache machine running centos7x i ssh and use:
memcached -d -m 512 -l 127.0.0.1 -p 11211 -u nobody

and it's good until next shutdown restart.

Chen Zhen


You can also try using a different accelerator.
Install one of the other supported ones if need be.

My SMF Mods & Plug-Ins

WebDev

"Either you repeat the same conventional doctrines everybody is saying, or else you say something true, and it will sound like it's from Neptune." - Noam Chomsky

spiros

For CentOS 7

To tell the service to start at reboot:
systemctl enable memcached

Advertisement: