Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] restart show success but actually failed #374

Open
caibirdme opened this issue Aug 27, 2023 · 1 comment
Open

[bug] restart show success but actually failed #374

caibirdme opened this issue Aug 27, 2023 · 1 comment

Comments

@caibirdme
Copy link

After deleting the binary file(play) and run supervisord -c haha.ini ctl restart play, it still shows play: restarted

[unix_http_server]
file=/home/haha/super.sock

[supervisorctl]
serverurl=unix:///home/haha/super.sock

[program:play]
command=/home/haha/play
autorestart=true
stdout_logfile=/dev/stdout
startsecs=2
stopwaitsecs=10

terminal 1:

play: restarted

terminal 2:

INFO[2023-08-27T17:44:57+08:00] stop process                                  program=play
INFO[2023-08-27T17:44:57+08:00] stop the program                              program=play
INFO[2023-08-27T17:44:57+08:00] send stop signal to program                   program=play signal=SIGTERM
INFO[2023-08-27T17:44:57+08:00] Send signal to program                        program=play signal=terminated
INFO[2023-08-27T17:44:57+08:00] program stopped with status:signal: terminated  program=play
INFO[2023-08-27T17:44:57+08:00] program exited                                program=play
INFO[2023-08-27T17:44:57+08:00] Stopped by user, don't start it again         program=play
DEBU[2023-08-27T17:44:58+08:00] no auth required                             
INFO[2023-08-27T17:44:58+08:00] try to start program                          program=play
INFO[2023-08-27T17:44:58+08:00] fail to start program with error:fork/exec /data/home/ronaldoliu/workspace/play/play: no such file or directory  program=play
INFO[2023-08-27T17:44:58+08:00] fail to start program with error:fork/exec /data/home/ronaldoliu/workspace/play/play: no such file or directory  program=play
ERRO[2023-08-27T17:44:58+08:00] fail to start program with error:fork/exec /data/home/ronaldoliu/workspace/play/play: no such file or directory  program=play
INFO[2023-08-27T17:45:03+08:00] fail to start program with error:fork/exec /data/home/ronaldoliu/workspace/play/play: no such file or directory  program=play
INFO[2023-08-27T17:45:03+08:00] fail to start program with error:fork/exec /data/home/ronaldoliu/workspace/play/play: no such file or directory  program=play
ERRO[2023-08-27T17:45:03+08:00] fail to start program with error:fork/exec /data/home/ronaldoliu/workspace/play/play: no such file or directory  program=play
@cosminardeleanu
Copy link

cosminardeleanu commented Apr 22, 2024

I had a similar issue, and its fixed with this PR #389

Maybe it fixes it for you as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants