收到错误
sudo systemctl status gunicorn
出现以下堆栈跟踪:
gunicorn.service - gunicorn daemon
Loaded: loaded (/etc/systemd/system/gunicorn.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2019-07-03 11:20:47 UTC; 2h 56min ago
Process: 9754 ExecStart=/usr/local/bin/gunicorn --workers 3 --bind unix:/home/root/portfolio-project/portfolio.sock portfolio.wsgi:application (code=exited, status=21
Main PID: 9754 (code=exited, status=216/GROUP)
Jul 03 11:20:47 django2-protfolio systemd[1]: Started gunicorn daemon.
Jul 03 11:20:47 django2-protfolio systemd[9754]: gunicorn.service: Failed to determine group credentials: No such process
Jul 03 11:20:47 django2-protfolio systemd[9754]: gunicorn.service: Failed at step GROUP spawning /usr/local/bin/gunicorn: No such process
Jul 03 11:20:47 django2-protfolio systemd[1]: gunicorn.service: Main process exited, code=exited, status=216/GROUP
Jul 03 11:20:47 django2-protfolio systemd[1]: gunicorn.service: Failed with result 'exit-code'.
lines 1-14/14 (END)