Jump to content

Recommended Posts

Posted (edited)

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
Posted

The redis instance is not able to be connected to by our software in this instance, which is something you would really need to contact your hosting company about

Posted

Thank you. Restart did not change anything, the error is still there.

And it appears the port is open. I have no idea what else might be causing ipb not to be able to communicate to redis.

Screenshot 2021-12-12 213052.png

Posted
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

Posted

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

 

Posted

I think the problem might be that php.ini is not loading redis.so

I added 
extension=redis.so

to my php.info in /opt/cpanel/ea-php74/root/etc/php.ini

rebooted apache php fpm, but still running phpinfo() does not list redis.so

  • Recently Browsing   0 members

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