找回密码
 注册
查看: 983|回复: 1

gnocchi-api open("/usr/lib64/uwsgi/python_plugin.so"): No such file or

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2022-6-12 11:03:05 | 显示全部楼层 |阅读模式
open("/usr/lib64/uwsgi/python_plugin.so"): No such file or directory [core/utils.c line 3724]
' e! ~9 C/ A6 G5 V4 \  ~: q, _5 B, q! ]!!! UNABLE to load uWSGI plugin: /usr/lib64/uwsgi/python_plugin.so: cannot open shared object file: No such file or directory !!!
/ o- b; V" N) t0 @8 |* z/usr/sbin/uwsgi: unrecognized option '--wsgi'
7 O8 q5 }9 J0 c. \; Z5 i2 e0 [  {! Ygetopt_long() error7 R/ P" U$ z, G9 S* j' r" b) T1 Y4 }

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2022-6-12 11:40:49 | 显示全部楼层

gnocchi-api open("/usr/lib64/uwsgi/python_plugin.so"): No such file o

[root@controller uwsgi]# gnocchi-api
) q& g# b6 d; T% Hopen("/usr/lib64/uwsgi/python_plugin.so"): No such file or directory [core/utils.c line 3724]' `4 D8 ^9 R; V  I
!!! UNABLE to load uWSGI plugin: /usr/lib64/uwsgi/python_plugin.so: cannot open shared object file: No such file or directory !!!
: L8 b$ ]1 t, g, w/usr/sbin/uwsgi: unrecognized option '--wsgi'
+ t; u9 `) z3 o. F, ?1 M) Lgetopt_long() error+ V1 n* Z0 @" u7 L* x! s$ n
+ q% J2 M% U( |# u+ p8 E
因不太懂代码,只好做软连接解决问题:
$ m5 D/ Q  n) M5 z% A: o& h做一个软连接:
6 b$ h! A* `% M1 B9 g" v- \% `ln -fs /usr/lib64/uwsgi/python3_plugin.so /usr/lib64/uwsgi/python_plugin.so
+ r9 D, |! Y, Q1 C2 Y( P# @
9 j( m. r  C  e' H8 D6 ^- F' z2 ]( M1 p, `' z
再次执行:, t2 P* F- a, M/ X, o2 I+ F4 M
[root@controller uwsgi]#  gnocchi-api
- ~% ^3 y8 ^% @; x( ?+ y- l8 `6 T*** Starting uWSGI 2.0.18 (64bit) on [Sun Jun 12 11:48:28 2022] ***
" E& Q* h& H0 O! t. zcompiled with version: 8.3.1 20190507 (Red Hat 8.3.1-4) on 27 January 2020 10:45:006 t3 F: H3 h4 O1 g8 V$ z' _
os: Linux-4.18.0-383.el8.x86_64 #1 SMP Wed Apr 20 15:38:08 UTC 2022+ ~1 O! u" D5 G, d1 M
nodename: controller
; M; J6 O6 }9 _' y6 z1 Jmachine: x86_646 {! F; T8 N3 l# l2 I
clock source: unix9 W! g0 P) r: D" y
pcre jit disabled
# W8 O6 }& K+ x) Qdetected number of CPU cores: 8
* j+ B/ `8 ~- R# O# N" @, zcurrent working directory: /usr/lib64/uwsgi8 T% a1 q6 H+ \7 N0 ]5 Z7 k3 _
detected binary path: /usr/sbin/uwsgi% ~/ S7 t" I* _* Q, g
uWSGI running as root, you can use --uid/--gid/--chroot options
& `3 R& A  B/ |$ ^# ~/ z' I) T*** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** * \4 q' a! X1 ^% n3 F
chdir() to /
8 ^. v* h- J, i+ E- L* Jyour processes number limit is 63102
# v) @0 X3 {+ Z# Z6 T% hyour memory page size is 4096 bytes
7 }( W* V! o7 ~" J; fdetected max file descriptor number: 100000$ ?* K7 V( N0 T1 T7 `" l
lock engine: pthread robust mutexes
& c2 z6 i0 e' a  I; A3 j. w1 K! J# ?2 Othunder lock: enabled2 Z. q8 [% x- R6 V) c2 E( P2 G
probably another instance of uWSGI is running on the same address (0.0.0.0:8041).$ _1 g% R8 x* G1 W
bind(): Address already in use [core/socket.c line 769]
. p% e- y4 N1 M- L7 b1 c8 x8 J6 ?% K; }2 f8 r' ]& w4 @* s- f2 J9 }
问题解决。
1 [# k0 `" L# H" m. H5 n- F+ q( _
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 02:19 , Processed in 0.036435 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表