- 积分
- 9464
在线时间 小时
最后登录1970-1-1
|

楼主 |
发表于 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 |
|