Answer the question
In order to leave comments, you need to log in
Problems with /run/user/ on ubuntu server?
I am developing a website on Ubuntu 14.04 server (django+uwsgi+nginx).
Run uwsgi with systemd, here is my-uwsgi.ini :
[uwsgi]
chdir = /home/my-user/project/example_project
module = example_project.wsgi
home = /home/my-user/project/virtual
master = true
processes = 10
socket = /home/my-user/project/example_project/example.sock
chown-socket = my-user:www-data
chmod-socket = 664
vacuum = true
uid = www-data
gid = www-data
daemonize = /home/my-user/project/logs/example_uwsgi.log
Unit]
Description=uWSGI Emperor service
[Service]
ExecStartPre=/bin/bash -c 'chown my-user:www-data /home/my-user/project/conf/my_uwsgi.ini'
ExecStart=/usr/local/bin/uwsgi --emperor /home/my-user/project/conf/
Restart=always
KillSignal=SIGQUIT
Type=notify
NotifyAccess=all
[Install]
WantedBy=multi-user.target
journalctl -e
:Failed to create cgroup name=systemd:/user/1000.user: No such file or directory
uWSGI running as root, you can use --uid/--gid/--chroot options
S*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
./manage.py runserver 0.0.0.0:8000
everything. Unable to save /run/user/1000/gvfs/sftp:host=MY_HOST,user=my-user/FILE_URL
Error: Отказано в доступе
/run/user/
empty. Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question