Jump to content

Redis error


Recommended Posts

Redis is installed and was working fine for some time. Recently I dibbled it for testing but now when I try to enable it again I get this error:

"Caching is not working correctly. You may need to use another data storage method, or adjust the configuration of the data storage method you are using below."

My constants.php looks like this

\define( 'REDIS_ENABLED', false ); //I also get the same error with this set to true
\define( 'STORE_METHOD', 'Redis' );
\define( 'STORE_CONFIG', '[]' );
\define( 'CACHE_METHOD', 'Redis' );
\define( 'REDIS_CONFIG', '{"server":"localhost","port":6379,"password":""}' );
\define( 'CACHE_PAGE_TIMEOUT', 600 );
\define( 'SUITE_UNIQUE_KEY', '3037643970' );
\define( 'OUTPUT_CACHE_METHOD', 'Redis' ); // Store guest pages in Redis

When I run redis-cli ping the server responds with PONG

The clients area has the updated access to the server. Will be great if someone can check. Thank you.

 

 

Edited by virap
Link to comment
Share on other sites

I checked the redis-cli info server command and this is what it shows


[root@server ~]# redis-cli info server
# Server
redis_version:3.2.12
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:b2d74fe5fff7657d
redis_mode:standalone
os:Linux 2.6.32-754.27.1.el6.x86_64 x86_64
arch_bits:64
multiplexing_api:epoll
gcc_version:4.4.7
process_id:29904
run_id:652b802f45607d6a5f18bc2f07337f5ed7e8c233
tcp_port:6379
uptime_in_seconds:431917
uptime_in_days:4
hz:10
lru_clock:12008923
executable:/usr/bin/redis-server
config_file:/etc/redis.conf

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...