• wp-admin login failed with the following screen

    This page isn’t working
    teeplus.info is currently unable to handle this request.
    HTTP ERROR 500

    When I check wp-content/debug.log, there is a lot of errors similar to the following in wp-content/debug.log

    [18-Aug-2018 03:55:23 UTC] PHP Notice: Redis::select(): send of 23 bytes failed with errno=32 Broken pipe in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 352
    [18-Aug-2018 03:55:23 UTC] protocol error, got ‘ ‘ as reply type byte

    [18-Aug-2018 03:55:23 UTC] PHP Notice: Redis::select(): send of 23 bytes failed with errno=32 Broken pipe in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 352
    [18-Aug-2018 03:55:23 UTC] PHP Notice: Redis::get(): send of 65 bytes failed with errno=32 Broken pipe in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 86
    [18-Aug-2018 03:55:23 UTC] PHP Fatal error: Uncaught RedisException: protocol error, got ‘3’ as reply type byte
    in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php:86
    Stack trace:
    #0 /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php(86): Redis->get(‘w3tc_teeplus.in…’)
    #1 /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Base.php(96): W3TC\Cache_Redis->get_with_old(‘0optionsallopti…’, ”)
    #2 /var/www/rocketstack/wp-content/plugins/w3-total-cache/ObjectCache_WpObjectCache_Regular.php(157): W3TC\Cache_Base->get(‘0optionsallopti…’)
    #3 /var/www/rocketstack/wp-content/plugins/w3-total-cache/ObjectCache_WpObjectCache.php(36): W3TC\ObjectCache_WpObjectCache_Regular->get(‘alloptions’, ‘options’, false, NULL)
    #4 /var/www/rocketstack/wp-content/object-cache.php(52): W3TC\ObjectCache_WpObjectCache->get(‘alloptions’, ‘options’, false, NULL)
    #5 /var/www/rocketstack/wp-includes/option.php(190): wp_cache_get(‘alloptions’, ‘options’)
    #6 /var/www/rocketstack/wp-includes/functions.php(1369): wp_load_alloptions( in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 86

    [18-Aug-2018 03:59:24 UTC] PHP Notice: Redis::select(): send of 23 bytes failed with errno=32 Broken pipe in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 352
    [18-Aug-2018 03:59:24 UTC] protocol error, got ‘e’ as reply type byte

    [18-Aug-2018 03:59:24 UTC] PHP Notice: Redis::select(): send of 23 bytes failed with errno=32 Broken pipe in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 352
    [18-Aug-2018 03:59:24 UTC] protocol error, got ‘ ‘ as reply type byte

    [18-Aug-2018 03:59:24 UTC] PHP Notice: Redis::select(): send of 23 bytes failed with errno=32 Broken pipe in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 352
    [18-Aug-2018 03:59:24 UTC] protocol error, got ‘g’ as reply type byte

    [18-Aug-2018 03:59:24 UTC] PHP Notice: Redis::select(): send of 23 bytes failed with errno=32 Broken pipe in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 352
    [18-Aug-2018 03:59:24 UTC] protocol error, got ‘p’ as reply type byte

    [18-Aug-2018 03:59:24 UTC] PHP Notice: Redis::select(): send of 23 bytes failed with errno=32 Broken pipe in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 352
    [18-Aug-2018 03:59:24 UTC] protocol error, got ‘0’ as reply type byte

    [18-Aug-2018 03:59:24 UTC] PHP Notice: Redis::select(): send of 23 bytes failed with errno=32 Broken pipe in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 352
    [18-Aug-2018 03:59:24 UTC] PHP Notice: Redis::get(): send of 57 bytes failed with errno=32 Broken pipe in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 219
    [18-Aug-2018 03:59:24 UTC] PHP Fatal error: Uncaught RedisException: protocol error, got ‘i’ as reply type byte
    in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php:219
    Stack trace:
    #0 /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php(219): Redis->get(‘w3tc_0_object__…’)
    #1 /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php(61): W3TC\Cache_Redis->_get_key_version(”)
    #2 /var/www/rocketstack/wp-content/plugins/w3-total-cache/ObjectCache_WpObjectCache_Regular.php(284): W3TC\Cache_Redis->set(‘0defaultis_blog…’, Array, 180)
    #3 /var/www/rocketstack/wp-content/plugins/w3-total-cache/ObjectCache_WpObjectCache.php(50): W3TC\ObjectCache_WpObjectCache_Regular->set(‘is_blog_install…’, true, ‘default’, 0)
    #4 /var/www/rocketstack/wp-content/object-cache.php(67): W3TC\ObjectCache_WpObjectCache->set(‘is_blog_install…’, true, ‘default’, 0)
    #5 /var/www/rocketstack/wp-includes/functions.php(1379): wp_cache_set(‘is_blog_install…’, true)
    #6 /var/www/rocketstack/wp-includes/load.php(540): is_blog_inst in /var/www/rocketstack/wp-content/plugins/w3-total-cache/Cache_Redis.php on line 219

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • bgdstr

    (@bogdanstratulat)

    Thank you for contacting our support team. Based on the error message that you have provided it looks like the Redis server is not listening on that port or the port is being used by another service. Please check on that server as everything should be working as expected.

    Thread Starter nghiahuynh

    (@nghiahuynh)

    Yes the redis server is working properly at port 6379

    root@teeplus:/var/www/rocketstack# service redis status
    ● redis-server.service – Advanced key-value store
    Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled)
    Active: active (running) since Sat 2018-08-18 03:54:17 UTC; 1 weeks 6 days ago
    Docs: https://redis.io/documentation,
    man:redis-server(1)
    Process: 19030 ExecStopPost=/bin/run-parts –verbose /etc/redis/redis-server.post-down.d (code=exited, status=0/SUCCESS)
    Process: 19026 ExecStop=/bin/kill -s TERM $MAINPID (code=exited, status=0/SUCCESS)
    Process: 19020 ExecStop=/bin/run-parts –verbose /etc/redis/redis-server.pre-down.d (code=exited, status=0/SUCCESS)
    Process: 19139 ExecStartPost=/bin/run-parts –verbose /etc/redis/redis-server.post-up.d (code=exited, status=0/SUCCESS)
    Process: 19134 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf (code=exited, status=0/SUCCESS)
    Process: 19130 ExecStartPre=/bin/run-parts –verbose /etc/redis/redis-server.pre-up.d (code=exited, status=0/SUCCESS)
    Main PID: 19138 (redis-server)
    Tasks: 3
    Memory: 153.4M
    CPU: 8h 40min 51.468s
    CGroup: /system.slice/redis-server.service
    └─19138 /usr/bin/redis-server 127.0.0.1:6379

    Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

    You should install php-redis too, if you have not done so.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp-admin login Error 500 when Enable Object cache with redis’ is closed to new replies.