show your systemd file . looks like an issue there
On Monday, July 2, 2018 at 7:13:44 PM UTC-4, Anirudh Jain wrote:
-- On Monday, July 2, 2018 at 7:13:44 PM UTC-4, Anirudh Jain wrote:
I am getting the following error on running the command :-"sudo journalctl -u gunicorn"Error is :-Jul 02 20:05:35 ip-172-31-40-226 systemd[1]: Started gunicorn daemon.Jul 02 20:05:35 ip-172-31-40-226 systemd[1]: gunicorn.service: Main process exited, code=exited, status=200/CHDIRJul 02 20:05:35 ip-172-31-40-226 systemd[1]: gunicorn.service: Unit entered failed state.Jul 02 20:05:35 ip-172-31-40-226 systemd[1]: gunicorn.service: Failed with result 'exit-code'.Jul 02 20:44:45 ip-172-31-40-226 systemd[1]: Started gunicorn daemon.Jul 02 20:44:45 ip-172-31-40-226 systemd[1]: gunicorn.service: Main process exited, code=exited, status=203/EXECJul 02 20:44:45 ip-172-31-40-226 systemd[1]: gunicorn.service: Unit entered failed state.Jul 02 20:44:45 ip-172-31-40-226 systemd[1]: gunicorn.service: Failed with result 'exit-code'.before running this command, I had saved the file gunicorn.service and run the following commands :-sudo systemctl daemon-reload sudo systemctl start gunicorn sudo systemctl enable gunicornCommand "sudo systemctl status gunicorn" also gave the eror as :-gunicorn.service - gunicorn daemonLoaded: loaded (/etc/systemd/system/gunicorn.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2018-07-02 23:09:49 UTC; 16s agoMain PID: 3671 (code=exited, status=203/EXEC)Jul 02 23:09:49 ip-172-31-40-226 systemd[1]: Started gunicorn daemon.Jul 02 23:09:49 ip-172-31-40-226 systemd[1]: gunicorn.service: Main process exited, code=exited, status=203/EXECJul 02 23:09:49 ip-172-31-40-226 systemd[1]: gunicorn.service: Unit entered failed state.Jul 02 23:09:49 ip-172-31-40-226 systemd[1]: gunicorn.service: Failed with result 'exit-code'.Can anyone please tell me what is exactly the error and how to resolve it?Thank you.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a164dd88-8810-4ca8-ba4c-4f5b1bd2a14e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment