Khi bắt đầu khởi động lại với người giám sát, quá trình redis đang chạy, nhưng trong giám sát, nó hiển thị backoff.bắt đầu quay lại với người giám sát
[email protected]:~$ sudo supervisorctl -c /etc/conf/supervisor/supervisord.conf
redis BACKOFF Exited too quickly (process log may have details)
trong nhật ký giám sát, nó cho thấy dưới đây:
2015-06-09 07:09:28,407 CRIT Supervisor running as root (no user in config file)
2015-06-09 07:09:28,407 WARN Included extra file "/etc/conf/supervisor/conf.d/redis_local.conf" during parsing
2015-06-09 07:09:28,407 INFO RPC interface 'supervisor' initialized
2015-06-09 07:09:28,407 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2015-06-09 07:09:28,407 INFO supervisord started with pid 23191
2015-06-09 07:09:29,410 INFO spawned: 'redis' with pid 23332
2015-06-09 07:09:29,416 INFO exited: redis (exit status 0; not expected)
2015-06-09 07:09:30,418 INFO spawned: 'redis' with pid 23334
2015-06-09 07:09:30,425 INFO exited: redis (exit status 0; not expected)
2015-06-09 07:09:32,429 INFO spawned: 'redis' with pid 23336
2015-06-09 07:09:32,434 INFO exited: redis (exit status 0; not expected)
2015-06-09 07:09:36,067 INFO spawned: 'redis' with pid 23342
2015-06-09 07:09:36,072 INFO exited: redis (exit status 0; not expected)
2015-06-09 07:09:37,073 INFO gave up: redis entered FATAL state, too many start retries too quickly
2015-06-09 07:11:04,079 CRIT Supervisor running as root (no user in config file)
2015-06-09 07:11:04,079 WARN Included extra file "/etc/conf/supervisor/conf.d/redis_local.conf" during parsing
2015-06-09 07:11:04,080 INFO RPC interface 'supervisor' initialized
2015-06-09 07:11:04,080 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2015-06-09 07:11:04,080 INFO supervisord started with pid 23191
2015-06-09 07:11:05,083 INFO spawned: 'redis' with pid 23486
2015-06-09 07:11:05,089 INFO exited: redis (exit status 0; not expected)
bất cứ ai có thể giúp tôi, cảm ơn.
Tôi hình dung nó ra, chỉ cần đặt daemonize không và sau đó bắt đầu redis với người giám sát. – zimmer
Xin chào, Bạn có thể cho tôi biết cấu hình /etc/conf/supervisor/conf.d/redis_local.conf của bạn là gì không? Tôi dường như không thể chuyển đường dẫn đến /etc/redis/redis.conf đến tệp thi hành và yêu cầu người giám sát bắt đầu lại thành công. Cảm ơn! – einarc
@einarc, nó chỉ là tập tin cấu hình redis và bạn có thể bắt đầu giám sát với sudo và bắt đầu redis với sudo quá, có lẽ điều này có thể giúp bạn. – zimmer