In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Today online a test library redis, add auth password verification, I want to restart redis, do not restart does not take effect. No matter what happens, NOAUTH Authentication is required. redis-cli -a 123456 shutdown unexpectedly did not use, in anger, forced shutdown, kill -9 redis pid number.
And then it starts. The requested URL/var/run/redis_6379.pid exists, process is already running or crashed.
Since it was a test library, the data in it was not too important, and the solution was rather crude.
I'll just back up the dump.rdb file to another directory,
Then delete the pid number of (rm -rf /var/run/redis_6379.pid) redis
Start directly [root@localhost6379]# /etc/init.d/redis_6379 start
It's working.
So the question is, what if the data is more important? Just copy the dump.rdb file back?
no kill no die
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.