|
|
楼主 |
发表于 2022-6-12 11:40:49
|
显示全部楼层
gnocchi-api open("/usr/lib64/uwsgi/python_plugin.so"): No such file o
[root@controller uwsgi]# gnocchi-api
) i1 c7 p* i. ~% l# w# W2 Sopen("/usr/lib64/uwsgi/python_plugin.so"): No such file or directory [core/utils.c line 3724]- X% `2 @2 x8 [* q4 Y4 z
!!! UNABLE to load uWSGI plugin: /usr/lib64/uwsgi/python_plugin.so: cannot open shared object file: No such file or directory !!!
; g" d: E; i, {1 {7 i; n$ r# S/usr/sbin/uwsgi: unrecognized option '--wsgi'! J+ @' \' z; t7 K2 n6 z' j: U, p
getopt_long() error
1 |% V- z5 n# u$ @2 W+ G5 f1 A
( s7 S: M" N( [" \5 Z因不太懂代码,只好做软连接解决问题:. H+ m4 f6 @* t( p
做一个软连接:
. ]& ?; F$ D+ h, V$ u2 C+ Rln -fs /usr/lib64/uwsgi/python3_plugin.so /usr/lib64/uwsgi/python_plugin.so
+ T" C' |; u: b4 e! z0 M$ S2 Y; V; j
- W$ g2 c; ?7 x; ^2 B' G
- W7 M: t# @- h1 B9 @5 c, s; w再次执行:. _; U5 I- X6 ~. j, T: X
[root@controller uwsgi]# gnocchi-api
+ L7 o N! w9 D# R7 q*** Starting uWSGI 2.0.18 (64bit) on [Sun Jun 12 11:48:28 2022] ***
0 n4 f2 h( j3 S; Ccompiled with version: 8.3.1 20190507 (Red Hat 8.3.1-4) on 27 January 2020 10:45:00: t4 ^7 C8 T+ I# G! F
os: Linux-4.18.0-383.el8.x86_64 #1 SMP Wed Apr 20 15:38:08 UTC 2022
, h; R3 c U( y3 Pnodename: controller$ Y# s! R* v- z' ]
machine: x86_64! k( j# M1 O- G% c" b" Q6 O# G
clock source: unix
8 X( Y8 Y. J1 M7 q4 t1 e1 ^pcre jit disabled/ C4 y' D* _8 v- V" ]1 J! C* j
detected number of CPU cores: 8& a: t+ i, w4 @* c6 w$ U
current working directory: /usr/lib64/uwsgi# ]3 v' }0 z i' J6 B' d
detected binary path: /usr/sbin/uwsgi( T1 i3 i' ?$ U' _9 \# X0 F9 g
uWSGI running as root, you can use --uid/--gid/--chroot options
1 e7 b4 i2 c1 u/ m8 Y2 g5 S8 J' H/ B+ Q, j*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
$ y5 K, b6 w3 ~3 f5 uchdir() to // S, ^ G6 L7 Y/ K" x
your processes number limit is 63102
b8 M/ q2 l* F, u9 N7 syour memory page size is 4096 bytes, F1 K: X/ R, d+ I/ [) B& k
detected max file descriptor number: 1000007 D' J2 J a/ ~3 M
lock engine: pthread robust mutexes- d& P1 q$ |2 V( X7 M; A2 D5 l
thunder lock: enabled
: y! T1 s' M; m9 ?probably another instance of uWSGI is running on the same address (0.0.0.0:8041).: i" I4 U! }1 \0 Y. e; ~
bind(): Address already in use [core/socket.c line 769]
( T) Y# G" s3 `% H1 o D& s7 j$ V1 y& s8 `+ v, \8 H, k+ t1 K5 F
问题解决。1 H; G& J* G5 g1 Q& I, x
|
|