-1
Good night,
I made an attempt to deploy my site in Django language, but without success. The errors that came to me after are presented below.
I appreciate all the help, because I’ve done a lot of research and several corrections, but no positive results.
After making the following check:
sudo systemctl status gunicorn.socket
I get the error below:
Failed to dump process list, ignoring: No such file or directory
● gunicorn.socket - gunicorn socket
Loaded: loaded (/etc/systemd/system/gunicorn.socket; enabled; vendor preset:
enabled)
Active: active (listening) since Thu 2020-03-12 19:56:45 WET; 1min
24s ago
Listen: /run/gunicorn.sock (Stream)
CGroup: /system.slice/gunicorn.socket
Mar 12 19:56:45 cursopython systemd[1]: Listening on gunicorn socket.
After making the following check
sudo systemctl status gunicorn
Error appears below:
● gunicorn.service - gunicorn daemon
Loaded: loaded (/etc/systemd/system/gunicorn.service; disabled; vendor preset
: enabled)
Active: failed (Result: exit-code) since Thu 2020-03-12 19:54:59 W
ET; 5min ago
Main PID: 19701 (code=exited, status=3)
Mar 12 19:54:59 cursopython gunicorn[19701]: django.core.exceptions.ImproperlyCo
nfigured: Error loading MySQLdb module.
Mar 12 19:54:59 cursopython gunicorn[19701]: Did you install mysqlclient?
Mar 12 19:54:59 cursopython gunicorn[19701]: [2020-03-12 19:54:59 +0000] [19727]
[INFO] Worker exiting (pid: 19727)
Mar 12 19:54:59 cursopython gunicorn[19701]: [2020-03-12 19:54:59 +0000] [19701]
[INFO] Shutting down: Master
Mar 12 19:54:59 cursopython gunicorn[19701]: [2020-03-12 19:54:59 +0000] [19701]
[INFO] Reason: Worker failed to boot.
Mar 12 19:54:59 cursopython systemd[1]: gunicorn.service
: Main process exited, code=exited, status=3/NOTIMPLEMENTED
Mar 12 19:54:59 cursopython systemd[1]: gunicorn.service
: Failed with result 'exit-code'.
Mar 12 19:54:59 cursopython systemd[1]: gunicorn.service
: Start request repeated too quickly.
Mar 12 19:54:59 cursopython systemd[1]: gunicorn.service
All help is welcome.
Thank you.