天天看點

A stop job is running for LSB:start and stop redis_6379

問題

linux Reboot時間比較長,發現在關機的時候報了如下錯誤

A stop job is running for LSB:start and stop redis_6379

原因

安裝red4is時,設定requirePass,導緻關閉redis時需要授權,而關閉的腳本中并沒有設定密碼

解決

修改/etc/init.d/redis_6379(stop下紅框中内容,格式:$CLIEXEC -a "password" -p $REDISPORT shutdown)

A stop job is running for LSB:start and stop redis_6379