In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces how to restart redis under linux, which is very detailed and has a certain reference value. Interested friends must finish reading it!
Introduction:
Redis has been added to the etc, when the server starts redis also starts, but can not connect to the redis, all have the following process.
View redis status: systemctl status redis
● redis.service-redis-server
Loaded: loaded (/ usr/lib/systemd/system/redis.service; disabled; vendor preset: disabled)
Active: inactive (dead)
Found that it was not activated.
Check the status after startup: systemctl start redis
[root@VM_0_2_centos /] # systemctl status redis
● redis.service-redis-server
Loaded: loaded (/ usr/lib/systemd/system/redis.service; disabled; vendor preset: disabled)
Active: active (running) since Thu 2019-03-21 08:58:08 CST; 5s ago
Process: 26556 ExecStart=/usr/local/bin/redis-server / usr/local/yangsx/redis/redis-3.0.0/redis.conf (code=exited, status=0/SUCCESS)
Main PID: 26557 (redis-server)
CGroup: / system.slice/redis.service
└─ 26557 / usr/local/bin/redis-server *: 6379
Restart redis:systemctl restart redis.service
The above is all the contents of the article "how to restart redis under linux". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.