I had faced the same issue on Ubuntu 20.04 (web server: apache2).
Returned an error ": ERROR (no such process)"
I had faced the same issue on Ubuntu 20.04 (web server: apache2).
Returned an error ": ERROR (no such process)"
Copyright © 2021 Jogjafile Inc.
There is no process running in your supervisor. If you have any scheduler or queue jobs then you can create a process in the supervisor.
to create a process for the supervisor
sudo nano /etc/supervisor/conf.d/process_name.confyou can change the process_name.conf to your process name.
2 . Enter the process roles in the opened window. here I'm listing an example
There is to logs created by the supervisor
stdout_logfileandstderr_logfileto monitor your processand you can change the program queue-worker to any process name
Enter the command to reread supervisor.
sudo supervisorctl rereadEnter the command to update the supervisor.
sudo supervisorctl updateEnter the command to start the supervisor.
sudo supervisorctl start:queue-workerthe queue-worker is your program name
here is the detailed doc.
https://www.digitalocean.com/community/tutorials/how-to-install-and-manage-supervisor-on-ubuntu-and-debian-vps