1, In closing redis Error reporting during service
/etc/init.d/redis_6379 restart Stopping ... (error) NOAUTH Authentication
required. Waitingfor Redis to shutdown ... Waiting for Redis to shutdown ...

2, resolvent
(1) close redis Database password
[root@localhost ~]#redis-cli -p 6379 127.0.0.1:6379> AUTH 123456 OK 127.0.0.1:
6379> config set requirepass (error) ERR Unknown subcommand or wrong number of
argumentsfor 'set'. Try CONFIG HELP. 127.0.0.1:6379> config set requirepass ''
# The key is to change the blank password OK 127.0.0.1:6379> quit [root@localhost ~]#/etc/init.d/redis_6379
restart Stopping ... Redis stopped Starting Redis server... [root@localhost ~]#

(2)kil Kill process

*
I checked to see if the service was still running , Then look at the configuration file , No problem

*
So I thought kill Forced killing redis service , Turn it on again , Tips /var/run/redis_6379.pid The file exists , delete pid file , Restart service , success

*
You can log in , But the code's gone

(3) direct rm delete pid file , You can log in , The code is still there

Technology
©2019-2020 Toolsou All rights reserved,
Hikvision - Embedded software written test questions C Language application 0 The length of array in memory and structure is 0 In depth analysis data structure --- The preorder of binary tree , Middle order , Subsequent traversal How to do it ipad Transfer of medium and super large files to computer elementui Shuttle box el-transfer Display list content text too long 2019 The 10th Blue Bridge Cup C/C++ A Summary after the National Games ( Beijing Tourism summary )unity Shooting games , Implementation of first person camera python of numpy Module detailed explanation and application case Study notes 【STM32】 Digital steering gear Horizontal and vertical linkage pan tilt Vue Used in Element Open for the first time el-dialog Solution for not getting element