|
|
楼主 |
发表于 2022-6-12 11:40:49
|
显示全部楼层
gnocchi-api open("/usr/lib64/uwsgi/python_plugin.so"): No such file o
[root@controller uwsgi]# gnocchi-api / d$ Y5 d% [! K* \+ A" ]
open("/usr/lib64/uwsgi/python_plugin.so"): No such file or directory [core/utils.c line 3724]6 _6 M! C1 ? R1 \
!!! UNABLE to load uWSGI plugin: /usr/lib64/uwsgi/python_plugin.so: cannot open shared object file: No such file or directory !!!% M9 T. Q" I& n$ Q2 v- h' o
/usr/sbin/uwsgi: unrecognized option '--wsgi'
4 O( r0 t3 N0 h9 `* Xgetopt_long() error
3 ~' R" G; ^; o# k! _& i3 x+ E* o) ^8 R4 \# _9 o8 i. n+ Y6 O
因不太懂代码,只好做软连接解决问题:
j1 _# f% c3 t$ O9 T+ J# W5 G做一个软连接:/ \: @/ F6 @4 f5 V3 \% ^$ o; ?4 X
ln -fs /usr/lib64/uwsgi/python3_plugin.so /usr/lib64/uwsgi/python_plugin.so " K" }( R* r2 `: ~. g, ?% g( x
& d1 O6 m' j9 F
( S4 a9 J+ I7 n7 z4 w {5 W再次执行:# e8 u1 K, L3 U, L, M$ u
[root@controller uwsgi]# gnocchi-api ! |" p3 \% M2 S1 M
*** Starting uWSGI 2.0.18 (64bit) on [Sun Jun 12 11:48:28 2022] ***
3 @9 R) {5 {0 D* `. E0 @, Dcompiled with version: 8.3.1 20190507 (Red Hat 8.3.1-4) on 27 January 2020 10:45:00
5 M& V( t" z& ]% F3 ~os: Linux-4.18.0-383.el8.x86_64 #1 SMP Wed Apr 20 15:38:08 UTC 2022
* Q( e4 _7 g6 Cnodename: controller
' L' F$ X* m( }0 B) qmachine: x86_64
) G& N* ^. j4 T2 N) u. L2 wclock source: unix
& t' D4 _$ o0 T7 E8 o. W9 y" Bpcre jit disabled
7 Z0 L7 [7 f. E+ ~5 Edetected number of CPU cores: 8$ C% N- a* e6 o5 O9 n8 x
current working directory: /usr/lib64/uwsgi5 ~; A; o2 X5 p( W! b# Y# H0 |
detected binary path: /usr/sbin/uwsgi
+ K8 L5 [2 S$ t; J5 E3 YuWSGI running as root, you can use --uid/--gid/--chroot options
! L7 T2 Y9 v2 _# w" J5 {*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
) O) N: Y7 `9 W& F/ E* Hchdir() to /
0 P7 I* K+ [( C" U" i5 ryour processes number limit is 63102
( m1 U4 M, ?5 Fyour memory page size is 4096 bytes
& i2 m9 L: P) w& g$ h5 ndetected max file descriptor number: 100000
& p( B0 o G$ L1 U) F' T3 j) Qlock engine: pthread robust mutexes8 C0 ~6 F: Z- _8 L7 p) q5 Q
thunder lock: enabled
0 i2 y9 ?; m! N1 yprobably another instance of uWSGI is running on the same address (0.0.0.0:8041).) A, N' Y$ Q# @5 j5 X# Q
bind(): Address already in use [core/socket.c line 769]
5 O N+ O$ a* S1 n% T" \5 L
$ P" V( m1 v; J) h% ]& m# n问题解决。; B# n- n4 B; ~- D
|
|