A atualização do uwsgi falha

0

Encontrei o seguinte erro ao tentar atualizar uWSGI

● uwsgi.service - LSB: Start/stop uWSGI server instance(s)
    Loaded: loaded (/etc/init.d/uwsgi; bad; vendor preset: enabled)
    Active: failed (Result: exit-code) since Sat 2018-11-03 14:26:38 CET; 6ms ago
      Docs: man:systemd-sysv-generator(8)
  Process: 30852 ExecStart=/etc/init.d/uwsgi start (code=exited, status=1/FAILURE)
    CGroup: /system.slice/uwsgi.service
       ├─ 1273 /usr/bin/uwsgi --ini /usr/share/uwsgi/conf/default.ini --ini /etc/uwsgi/apps-enabled/iredadmin.ini --daemonize /var/log/uwsgi/app/iredadmin.log
       ├─29927 /usr/bin/uwsgi --ini /usr/share/uwsgi/conf/default.ini --ini /etc/uwsgi/apps-enabled/iredadmin.ini --daemonize /var/log/uwsgi/app/iredadmin.log
       ├─29928 /usr/bin/uwsgi --ini /usr/share/uwsgi/conf/default.ini --ini /etc/uwsgi/apps-enabled/iredadmin.ini --daemonize /var/log/uwsgi/app/iredadmin.log
       ├─30205 /bin/sh -c /var/www/html/testwebsite/django_env/bin/uwsgi --emperor /etc/uwsgi/apps-python3
       ├─30207 /var/www/html/testwebsite/django_env/bin/uwsgi --emperor /etc/uwsgi/apps-python3
       ├─30211 /var/www/html/testwebsite/django_env/bin/uwsgi --ini testwebsite.ini
       ├─30222 /var/www/html/testwebsite/django_env/bin/uwsgi --ini testwebsite.ini
       ├─30223 /var/www/html/testwebsite/django_env/bin/uwsgi --ini testwebsite.ini
       ├─30224 /var/www/html/testwebsite/django_env/bin/uwsgi --ini testwebsite.ini
       ├─30225 /var/www/html/testwebsite/django_env/bin/uwsgi --ini testwebsite.ini
       ├─30226 /var/www/html/testwebsite/django_env/bin/uwsgi --ini testwebsite.ini
       ├─30227 /var/www/html/testwebsite/django_env/bin/uwsgi --ini testwebsite.ini
       ├─30228 /var/www/html/testwebsite/django_env/bin/uwsgi --ini testwebsite.ini
       ├─30229 /var/www/html/testwebsite/django_env/bin/uwsgi --ini testwebsite.ini
       ├─30230 /var/www/html/testwebsite/django_env/bin/uwsgi --ini testwebsite.ini
       ├─30231 /var/www/html/testwebsite/django_env/bin/uwsgi --ini testwebsite.ini
       ├─30739 /bin/sh -c /var/www/html/testwebsite/django_env/bin/uwsgi --emperor /etc/uwsgi/apps-python3
       ├─30741 /var/www/html/testwebsite/django_env/bin/uwsgi --emperor /etc/uwsgi/apps-python3
       ├─30746 /var/www/html/testwebsite/django_env/bin/uwsgi --ini testwebsite.ini
       ├─30763 /var/www/html/testwebsite/django_env/bin/uwsgi --ini testwebsite.ini
       ├─30764 /var/www/html/testwebsite/django_env/bin/uwsgi --ini testwebsite.ini
       ├─30765 /var/www/html/testwebsite/django_env/bin/uwsgi --ini testwebsite.ini
       ├─30766 /var/www/html/testwebsite/django_env/bin/uwsgi --ini testwebsite.ini
       ├─30767 /var/www/html/testwebsite/django_env/bin/uwsgi --ini testwebsite.ini
       ├─30768 /var/www/html/testwebsite/django_env/bin/uwsgi --ini testwebsite.ini
       ├─30769 /var/www/html/testwebsite/django_env/bin/uwsgi --ini testwebsite.ini
       ├─30770 /var/www/html/testwebsite/django_env/bin/uwsgi --ini testwebsite.ini
       ├─30771 /var/www/html/testwebsite/django_env/bin/uwsgi --ini testwebsite.ini
       ├─30772 /var/www/html/testwebsite/django_env/bin/uwsgi --ini testwebsite.ini
       ├─31051 /bin/sh -c /var/www/html/testwebsite/django_env/bin/uwsgi --emperor /etc/uwsgi/apps-python3
       ├─31053 /var/www/html/testwebsite/django_env/bin/uwsgi --emperor /etc/uwsgi/apps-python3
       └─31056 /var/www/html/testwebsite/django_env/bin/uwsgi --ini testwebsite.ini

Nov 03 14:26:37 host systemd[1]: Starting LSB: Start/stop uWSGI server instance(s)...
Nov 03 14:26:37 host uwsgi[30852]:  * Starting app server(s) uwsgi
Nov 03 14:26:38 host uwsgi[30852]:    ...fail!
Nov 03 14:26:38 host systemd[1]: uwsgi.service: Control process exited, code=exited status=1
Nov 03 14:26:38 host systemd[1]: Failed to start LSB: Start/stop uWSGI server instance(s).
Nov 03 14:26:38 host systemd[1]: uwsgi.service: Unit entered failed state.
Nov 03 14:26:38 host systemd[1]: uwsgi.service: Failed with result 'exit-code'.
dpkg: error processing package uwsgi (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 uwsgi

O mais estranho é que o serviço ainda está em execução.

EDITAR: A saída acima é a saída de apt upgrade . A saída de systemctl status uwsgi.service é a mesma. A saída a seguir é de journalctl -xe

Nov 04 14:05:14 mail systemd[1]: Starting LSB: Start/stop uWSGI server instance(s)...
-- Subject: Unit uwsgi.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit uwsgi.service has begun starting up.
Nov 04 14:05:14 mail uwsgi[9468]:  * Starting app server(s) uwsgi
Nov 04 14:05:14 mail uwsgi[9468]:    ...fail!
Nov 04 14:05:14 mail systemd[1]: uwsgi.service: Control process exited, code=exited status=1
Nov 04 14:05:14 mail systemd[1]: Failed to start LSB: Start/stop uWSGI server instance(s).
-- Subject: Unit uwsgi.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit uwsgi.service has failed.
-- 
-- The result is failed.
Nov 04 14:05:14 mail systemd[1]: uwsgi.service: Unit entered failed state.
Nov 04 14:05:14 mail systemd[1]: uwsgi.service: Failed with result 'exit-code'.

EDIT2: saída de journalctl -u uwsgi.service

Nov 03 14:39:04 mail systemd[1]: Starting LSB: Start/stop uWSGI server instance(s)...
Nov 03 14:39:05 mail uwsgi[1053]:  * Starting app server(s) uwsgi
Nov 03 14:39:06 mail uwsgi[1053]:    ...fail!
Nov 03 14:39:06 mail systemd[1]: uwsgi.service: Control process exited, code=exited status=1
Nov 03 14:39:06 mail systemd[1]: Failed to start LSB: Start/stop uWSGI server instance(s).
Nov 03 14:39:06 mail systemd[1]: uwsgi.service: Unit entered failed state.
Nov 03 14:39:06 mail systemd[1]: uwsgi.service: Failed with result 'exit-code'.
Nov 04 14:05:14 mail systemd[1]: Starting LSB: Start/stop uWSGI server instance(s)...
Nov 04 14:05:14 mail uwsgi[9468]:  * Starting app server(s) uwsgi
Nov 04 14:05:14 mail uwsgi[9468]:    ...fail!
Nov 04 14:05:14 mail systemd[1]: uwsgi.service: Control process exited, code=exited status=1
Nov 04 14:05:14 mail systemd[1]: Failed to start LSB: Start/stop uWSGI server instance(s).
Nov 04 14:05:14 mail systemd[1]: uwsgi.service: Unit entered failed state.
Nov 04 14:05:14 mail systemd[1]: uwsgi.service: Failed with result 'exit-code'.
    
por Dr3w Br1ck13 03.11.2018 / 14:34

0 respostas