将设为首页浏览此站
开启辅助访问 天气与日历 收藏本站联系我们切换到窄版

易陆发现论坛

 找回密码
 开始注册
查看: 113|回复: 1
收起左侧

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

[复制链接]
发表于 2022-6-12 11:03:05 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?开始注册

x
open("/usr/lib64/uwsgi/python_plugin.so"): No such file or directory [core/utils.c line 3724]
" v: }, i! Q4 i8 p6 A6 W6 r!!! UNABLE to load uWSGI plugin: /usr/lib64/uwsgi/python_plugin.so: cannot open shared object file: No such file or directory !!!
8 g" q7 F. P. r+ t& n( m/usr/sbin/uwsgi: unrecognized option '--wsgi'; d& F# Q; U& F9 L' `
getopt_long() error8 [2 |$ K+ [$ P" p2 P/ b
 楼主| 发表于 2022-6-12 11:40:49 | 显示全部楼层

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

[root@controller uwsgi]# gnocchi-api
- h8 K* @0 I/ Fopen("/usr/lib64/uwsgi/python_plugin.so"): No such file or directory [core/utils.c line 3724]
' b2 L" _- s- [" l+ \3 n3 D!!! UNABLE to load uWSGI plugin: /usr/lib64/uwsgi/python_plugin.so: cannot open shared object file: No such file or directory !!!
# p6 {( }) `6 S, p3 |! h/usr/sbin/uwsgi: unrecognized option '--wsgi'0 I5 |; N$ A% `9 }5 c; }* k
getopt_long() error
$ _% N7 X# P0 [
# G6 V* V  O4 Q4 [: I因不太懂代码,只好做软连接解决问题:# j- `7 z1 z3 l2 K8 p; R
做一个软连接:
/ S  O3 j7 z1 Wln -fs /usr/lib64/uwsgi/python3_plugin.so /usr/lib64/uwsgi/python_plugin.so 5 y* n% f5 ?- h7 }! E% p" n8 Q

2 D9 }% D, G7 A1 P" C' S. ~6 j1 |8 ?1 E7 x9 l! j& [! X) n
再次执行:8 `& m6 ^; T: A* I$ {! F
[root@controller uwsgi]#  gnocchi-api
  k6 y( B/ n5 J2 d* E5 v5 q  c*** Starting uWSGI 2.0.18 (64bit) on [Sun Jun 12 11:48:28 2022] ***
5 c: d$ k. d3 \3 D6 ?' W$ ~/ dcompiled with version: 8.3.1 20190507 (Red Hat 8.3.1-4) on 27 January 2020 10:45:00
4 E0 f, ^; @3 R5 V" C" R& tos: Linux-4.18.0-383.el8.x86_64 #1 SMP Wed Apr 20 15:38:08 UTC 2022
% p* A$ O: M4 x& Rnodename: controller
& d3 |( J! u2 }. k5 U& S* p& tmachine: x86_64
: `: \$ c0 h* M( I8 b& }/ G1 pclock source: unix: W! ^7 f2 @% j+ p3 B1 g
pcre jit disabled5 ]0 D. A& u$ o. q
detected number of CPU cores: 83 V  j  J2 j. m( @' f" x6 T
current working directory: /usr/lib64/uwsgi4 p) S( f9 d0 k: c* _. c
detected binary path: /usr/sbin/uwsgi+ D( D1 z5 e/ ~" e" L8 u
uWSGI running as root, you can use --uid/--gid/--chroot options) Y$ F& i6 Y7 z& f1 U
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
* U- L5 z! d& xchdir() to /9 ~0 ~3 z" h0 v: N" H( A
your processes number limit is 63102
: W$ P3 o1 q* w* d$ [your memory page size is 4096 bytes7 k% Z' M# y. i. M) i
detected max file descriptor number: 100000
' B2 }$ Q- m3 w& Y+ F6 Klock engine: pthread robust mutexes9 Y5 r; X9 O6 D. ?- N
thunder lock: enabled
$ A( M$ r& o7 Yprobably another instance of uWSGI is running on the same address (0.0.0.0:8041).
  [' a: ~+ ^3 u3 g5 G* F; t( vbind(): Address already in use [core/socket.c line 769], B3 W; ]4 v+ @+ x+ n. T: \1 h

  H8 [+ j! e% d( t问题解决。
% k) g+ j% @; y6 R* _  ~0 P# _" h: f
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

如有购买积分卡请联系497906712

QQ|返回首页|Archiver|手机版|小黑屋|易陆发现 点击这里给我发消息

GMT+8, 2022-7-4 11:49 , Processed in 0.041086 second(s), 23 queries .

Powered by LR.LINUX.cloud bbs168x X3.2 Licensed

© 2012-2022 Comsenz Inc.

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