Discussion:
[uWSGI] !! UNABLE to load uWSGI plugin: ./python_plugin.so: cannot open shared object file: No such file or directory !!!
David Montgomery
2015-09-30 06:10:01 UTC
Permalink
Hi,

How do I resolve this error?
I am on ubuntu 14.04 using python 2x

here is how I install: UWSGI_EMBED_PLUGINS=msgpack pip install
uwsgi==2.0.5.1

/usr/local/bin/uwsgi --yaml /var/uwsgi.graphite.yaml
[uWSGI] getting YAML configuration from /var/uwsgi.graphite.yaml
open("./python_plugin.so"): No such file or directory [core/utils.c line
3653]
!!! UNABLE to load uWSGI plugin: ./python_plugin.so: cannot open shared
object file: No such file or directory !!!
*** Starting uWSGI 2.0.5.1 (64bit) on [Wed Sep 30 02:07:09 2015] ***
compiled with version: 4.8.4 on 30 September 2015 01:43:24
os: Linux-3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015
nodename: do-monitor-sf-development-20150930053552
machine: x86_64
clock source: unix
detected number of CPU cores: 1
current working directory: /etc/supervisor/conf.d
writing pidfile to /var/run/graphite.pid
detected binary path: /usr/local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
Roberto De Ioris
2015-09-30 07:12:10 UTC
Permalink
Post by David Montgomery
Hi,
How do I resolve this error?
I am on ubuntu 14.04 using python 2x
here is how I install: UWSGI_EMBED_PLUGINS=msgpack pip install
uwsgi==2.0.5.1
/usr/local/bin/uwsgi --yaml /var/uwsgi.graphite.yaml
[uWSGI] getting YAML configuration from /var/uwsgi.graphite.yaml
open("./python_plugin.so"): No such file or directory [core/utils.c line
3653]
!!! UNABLE to load uWSGI plugin: ./python_plugin.so: cannot open shared
object file: No such file or directory !!!
*** Starting uWSGI 2.0.5.1 (64bit) on [Wed Sep 30 02:07:09 2015] ***
compiled with version: 4.8.4 on 30 September 2015 01:43:24
os: Linux-3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015
nodename: do-monitor-sf-development-20150930053552
machine: x86_64
clock source: unix
detected number of CPU cores: 1
current working directory: /etc/supervisor/conf.d
writing pidfile to /var/run/graphite.pid
detected binary path: /usr/local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
_______________________________________________
uWSGI mailing list
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
remove plugin=python from your config.

When instaling via pip the python plugin is embedded in the binary
--
Roberto De Ioris
http://unbit.com
Loading...