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

4 hours ago, Muddy Boots said:

What was the result of that ? What firewall is running ? 

Thank you. for that command I get this message "Command not found".

There is no hardware firewall, I use ConfigServer Security & Firewall on whm

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

  • Recently Browsing   0 members

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