Wenn Start mit dem Supervisor zu rediszieren, wird der Redis-Prozess ausgeführt, aber im Supervisor wird Backoff angezeigt.Start Redis mit Supervisor
[email protected]:~$ sudo supervisorctl -c /etc/conf/supervisor/supervisord.conf
redis BACKOFF Exited too quickly (process log may have details)
im Supervisor-Protokoll, zeigt es unter:
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)
jemand kann mir helfen, danke.
ich es herausfinden, setzen nur daemonize nein und dann redis mit Supervisor starten. – zimmer
Hallo, Können Sie mir sagen, was ist Ihre Konfiguration /etc/conf/supervisor/conf.d/redis_local.conf? Ich kann nicht scheinen, den Pfad zu der /etc/redis/redis.conf zu der ausführbaren Datei zu übergeben und Supervisor erfolgreich zu redistieren. Vielen Dank! – einarc
@einarc, es ist nur redis Konfigurationsdatei und Sie können den Supervisor mit Sudo starten und mit sudo ebenfalls neu starten, vielleicht kann Ihnen das helfen. – zimmer