shop@blazer-pc:/home$ uwsgi --plugin python35 -s :0
open("./python35_plugin.so"): No such file or directory [core/utils.c line 3713]
!!! UNABLE to load uWSGI plugin: ./python35_plugin.so: cannot open shared object file: No such file or directory !!!
*** Starting uWSGI 2.0.17 (64bit) on [Wed Jul 4 10:28:42 2018] ***
compiled with version: 5.4.0 20160609 on 21 June 2018 06:45:04
os: Linux-4.15.0-24-generic #26~16.04.1-Ubuntu SMP Fri Jun 15 14:35:08 UTC 2018
nodename: blazer-pc
machine: x86_64
clock source: unix
detected number of CPU cores: 1
current working directory: /home
detected binary path: /usr/local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
*** WARNING: you are running uWSGI without its master process manager ***
your processes number limit is 15552
your memory page size is 4096 bytes
detected max file descriptor number: 1024
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 bound to TCP address :43213 (port auto-assigned) fd 3
Python version: 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609]
*** Python threads support is disabled. You can enable it with --enable-threads ***
Python main interpreter initialized at 0x26664b0
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 72904 bytes (71 KB) for 1 cores
*** Operational MODE: single process ***
*** no app loaded. going in full dynamic mode ***
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI worker 1 (and the only) (pid: 2545, cores: 1)
[uwsgi]
# master
master = true
# maximum number of processes
processes = 10
# the socket (use the full path to be safe)
socket = /tmp/myshop3.sock
# with appropriate permissions - *may* be needed
chmod-socket = 666
# the base directory
chdir = /home/shop/myshop3
# Django's wsgi file
module = myshop3.wsgi
# the virtualenv
home = /home/shop/venv
# clear environment on exit
vacuum = true
# reload uwsgi
touch-reload = /home/shop/myshop3/myshop3/settings.py
touch-reload = /home/shop/myshop3/myshop3/urls.py
blazer@blazer-pc:~$ su root
Пароль:
root@blazer-pc:/home/blazer# whoami
root
root@blazer-pc:/home/blazer# ls -la /snap/pycharm-professional/current/bin/
итого 3633
drwxrwxr-x 2 root root 264 апр 25 14:23 .
drwxrwxr-x 14 root root 323 апр 25 14:23 ..
-rwxr-xr-x 1 root root 221 апр 25 14:21 format.sh
-rwxr-xr-x 1 root root 29648 апр 25 14:21 fsnotifier64
-rw-rw-r-- 1 root root 10911 апр 25 14:21 idea.properties
-rwxr-xr-x 1 root root 272 апр 25 14:21 inspect.sh
-rw-rw-r-- 1 root root 3654864 апр 25 14:21 libyjpagent-linux64.so
-rw-rw-r-- 1 root root 2236 апр 25 14:06 log.xml
-rwxr-xr-x 1 root root 410 апр 25 14:21 printenv.py
-rw-rw-r-- 1 root root 329 апр 25 14:21 pycharm64.vmoptions
-rw-rw-r-- 1 root root 10281 апр 25 14:21 pycharm.png
-rwxr-xr-x 1 root root 6841 апр 25 14:21 pycharm.sh
-rw-rw-r-- 1 root root 337 апр 25 14:21 pycharm.vmoptions
-rwxr-xr-x 1 root root 708 апр 25 14:21 restart.py
root@blazer-pc:/home/blazer# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=1993260k,nr_inodes=498315,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=403944k,mode=755)
/dev/sda1 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=32,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=12027)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
/var/lib/snapd/snaps/core_4206.snap on /snap/core/4206 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/core_4486.snap on /snap/core/4486 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/core_4407.snap on /snap/core/4407 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/pycharm-professional_55.snap on /snap/pycharm-professional/55 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/pycharm-professional_62.snap on /snap/pycharm-professional/62 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/pycharm-professional_64.snap on /snap/pycharm-professional/64 type squashfs (ro,nodev,relatime)
share on /media/sf_share type vboxsf (rw,nodev,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=403944k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
root@blazer-pc:/home/blazer#
uwsgi --emperor /etc/uwsgi/vassals --uid www-data --gid www-data --master
так работает через виртуальное окружение