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/CHDIR
Jul 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/EXEC
Jul 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 gunicorn

Command "sudo systemctl status gunicorn" also gave the eror as :-

gunicorn.service - gunicorn daemon
   Loaded: 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 ago
 Main 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/EXEC
Jul 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+unsubscr...@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/f4ed135b-362e-4838-a10a-3b2f2f46de44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to