Support » Plugins » [Plugin: W3 Total Cache] Memcached server localhost:11211 is not running problem me too

  • Resolved macaro


    Hi Frederick,.

    now I use WordPress 2.8.5 on CentOS 5.3 httpd from CentOS repository. php & other php default rpm from utterramblings repository.

    rpm -qa php php-pear php-devel httpd-devel

    pecl list
    Installed packages, channel
    Package Version State
    APC 3.0.19 stable
    memcache 2.2.5 stable

    libevent 1.4.2 installed by source.

    ldconfig -v | grep libevent
    ldconfig: Path `/usr/local/lib’ given more than once -> -> -> ->

    Memcached installed 1.4.0 by source.The problem is not in Memcached.

    telnet localhost 11211
    Connected to localhost.localdomain (
    Escape character is ‘^]’.
    set foo 0 0 3
    get foo
    VALUE foo 0 3
    VERSION 1.4.0
    Connection closed by foreign host.

    I’m not understood. why “Database caching is not available. Memcached server localhost:11211 is not running or is non-responsive.” error display for me

    What should I do? I want the suggestion. please help me..

Viewing 3 replies - 1 through 3 (of 3 total)
  • It has forgotten to write. I’m using dedicated server.

    IPTABLES setting
    iptables -P INPUT DROP
    iptables -P OUTPUT ACCEPT
    iptables -P FORWARD DROP

    iptables -A INPUT -i lo -j ACCEPT
    iptables -A OUTPUT -o lo -j ACCEPT

    # all interface 11211(memcached open)
    iptables -A INPUT -p tcp –dport 11211 -j ACCEPT

    Sorry Frederick,.

    It self-solved it Problem. This problem because of SELinux.

    When “localhost:11211 is not running~” message are displayed, it is possible to solve it by the following method if the error of SELinux is displayed in/var/log/message.

    # getsebool httpd_can_network_connect
    httpd_can_network_connect –> off

    if “httpd_can_network_connect –> off” then
    # setsebool -P httpd_can_network_connect 1
    # getsebool httpd_can_network_connect
    httpd_can_network_connect –> on

    Method of settlement in Japanese

    Great! Thanks for the input.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: W3 Total Cache] Memcached server localhost:11211 is not running problem me too’ is closed to new replies.