In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
There are three web servers doing Load Balancer, and one of them is connected to redis abnormally, and the error message is as follows:
Predis Fatal Error : No sentinel server available for autodiscovery.
Looking forward, I found that there is a warning message in PHP:
PHP Warning[2]: stream_socket_client() has been disabled for security reasons
Because the program is using PHP's predis library, the connection is TCP connection, to use PHP's built-in stream_socket_client function, if the php.ini configuration file disable stream_socket_client data in disable_functions, it will cause the program to not connect to redis. After modifying the configuration file, the error disappears.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.