2
uwsgi.service - uWSGI Emperor service
Loaded: loaded (/etc/systemd/system/uwsgi.service; disabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Sun 2016-05-22 05:46:09 EDT; 5min ago
Process: 6371 ExecStartPre=/usr/bin/bash -c mkdir -p /run/uwsgi; chown user:nginx /run/uwsgi (code=exited, status=1/FAILURE)
May 22 05:46:09 apxyws systemd[1]: Failed to start uWSGI Emperor service.
May 22 05:46:09 apxyws systemd[1]: Unit uwsgi.service entered failed state.
May 22 05:46:09 apxyws systemd[1]: uwsgi.service failed.
May 22 05:46:09 apxyws systemd[1]: uwsgi.service holdoff time over, scheduling restart.
May 22 05:46:09 apxyws systemd[1]: start request repeated too quickly for uwsgi.service
May 22 05:46:09 apxyws systemd[1]: Failed to start uWSGI Emperor service.
May 22 05:46:09 apxyws systemd[1]: Unit uwsgi.service entered failed state.
May 22 05:46:09 apxyws systemd[1]: uwsgi.service failed.
7で起動するuwsgiサービスの失敗を修正する方法を、私はまだこのようなセットアップのもののための初心者、私に似答えが、何を探しています。は、誰もがこのような何かを修正する方法を知っていCentOSの
私はちょうどジャンゴを使用し始め、それが使用して働いていた:
uwsgi --http :8080 --home /root/Env/apxweb --chdir /root/apxweb -w apxweb.wsgi
をしかし、私はnginxのとそれを使用し始めたとき、 uwsgiサービス障害が起動します。
注:nginxサービスが動作しました。私はこれを修正するための正しい方法であれば知らない 、
/usr/bin/bash -c mkdir -p /run/uwsgi; chown root:nginx /run/uwsgi
uwsgiが再び働い:
uwsgi.serviceファイルのExecStartPre行に失敗しているようです。 chownコマンドのユーザーとグループは存在しますか? –
yea @LukeDixonあなたは正しいですが、問題はユーザーの中にあります.Uwsgiは再び働きましたが、badgateway 502、以前は別の間違いがありました。 –