、、、 root@VM-0-5-ubuntu:/home/ubuntu/redis-4.0.11# ps -ef | grep -i redis root 23189 1 0 12:05 ? 00:00:00 redis-server *:6379 root 23249 22790 0 12:05 pts/5 00:00:00 grep --color=auto -i redis
root@VM-0-5-ubuntu:/home/ubuntu/redis-4.0.11# kill 23189 root@VM-0-5-ubuntu:/home/ubuntu/redis-4.0.11# cd src
root@VM-0-5-ubuntu:/home/ubuntu/redis-4.0.11/src# redis-server ../redis.conf 23297:C 15 Jun 12:05:52.164 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 23297:C 15 Jun 12:05:52.164 # Redis version=4.0.11, bits=64, commit=00000000, modified=0, pid=23297, just started 23297:C 15 Jun 12:05:52.164 # Configuration loaded root@VM-0-5-ubuntu:/home/ubuntu/redis-4.0.11/src# 、、、
1
zouri 2020-06-15 14:30:49 +08:00
你如果确认要杀掉的话应该用 kill -9 pid , 如果不加 -9 有可能不被程序捕获到。
|
2
zouri 2020-06-15 14:32:06 +08:00
另外,你发个帖子,为什么排版都不舍得弄一下
|
3
yuzunzhi 2020-06-15 14:35:04 +08:00
还真有人回呀?
我刚才看没人回,我都没好意思问,哪里报错说已经启动了? |
7
AngryPanda 2020-06-15 15:10:47 +08:00
OK 了就没然后了?
|
8
sunmker 2020-06-15 15:14:27 +08:00
栋哥?
|