找回密码
 注册
查看: 2861|回复: 0

登录openstack 控制节点时报错net_mlx5: cannot load glue library

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2020-12-13 13:28:53 | 显示全部楼层 |阅读模式
net_mlx5: cannot load glue library: libibverbs.so.1: cannot open shared object file: No such file or directory/ j2 ~3 D0 G7 y, X3 b# N5 b6 v) B+ s
net_mlx5: cannot initialize PMD due to missing run-time dependency on rdma-core libraries (libibverbs, libmlx5)
( K; R2 N; B! i4 {PMD: net_mlx4: cannot load glue library: libibverbs.so.1: cannot open shared object file: No such file or directory
% C, A( F# I/ |& fPMD: net_mlx4: cannot initialize PMD due to missing run-time dependency on rdma-core libraries (libibverbs, libmlx4)  ]% O  V+ y" i8 t& O
net_mlx5: cannot load glue library: libibverbs.so.1: cannot open shared object file: No such file or directory
1 t& w4 Y0 L9 ], c( p5 {! hnet_mlx5: cannot initialize PMD due to missing run-time dependency on rdma-core libraries (libibverbs, libmlx5)4 r4 B6 P+ B9 K2 g$ n4 q
PMD: net_mlx4: cannot load glue library: libibverbs.so.1: cannot open shared object file: No such file or directory
/ z: c& i+ k/ \6 ^- lPMD: net_mlx4: cannot initialize PMD due to missing run-time dependency on rdma-core libraries (libibverbs, libmlx4)
2 F2 r) h. Q9 k" g
  }6 k, y7 W2 J& l! p. Q) [6 |3 v) b! O1 ^; |0 c
解决办法:' h, H6 }, W; y& u* m0 H
yum install libibverbs -y
- p- `9 L5 c* B; M6 P% vLoaded plugins: fastestmirror
- W) M# Z# n, p! CLoading mirror speeds from cached hostfile$ ]2 c0 N5 c- N3 D. h  h
* base: mirrors.ustc.edu.cn
1 s) J$ w' C1 K% i7 w1 ]# m+ C * elrepo: mirror.rackspace.com/ \+ n3 l. I7 L! O) s0 z
* extras: mirrors.163.com
( Q; z# q  N, v3 V * updates: mirrors.ustc.edu.cn
5 {) M1 F: B& n7 u$ g/ \( \+ [base                                                                                                                                        | 3.6 kB  00:00:00     , h# X0 k/ \( k  B" U* j, q
centos-openstack-queens                                                                                                                     | 3.0 kB  00:00:00     " c/ ?* D: d' }6 q) g
elrepo                                                                                                                                      | 3.0 kB  00:00:00     # G9 F; g7 k6 e6 ], A, y; O
extras                                                                                                                                      | 2.9 kB  00:00:00     4 k- |: C. }9 x5 j4 K* p6 J; ~2 q. ]% w
updates                                                                                                                                     | 2.9 kB  00:00:00     $ K2 J$ |, [. \; r& x8 E
updates/7/x86_64/primary_db                                                                                                                 | 3.7 MB  00:00:00     
0 Y9 f5 A1 ~2 ]Resolving Dependencies1 k+ T: O, g) a6 U
--> Running transaction check
- s+ b* ~+ [' \. U0 x; Y' V, M---> Package libibverbs.x86_64 0:22.4-5.el7 will be installed
) I6 c8 ^$ [  G+ z7 |--> Processing Dependency: rdma-core(x86-64) = 22.4-5.el7 for package: libibverbs-22.4-5.el7.x86_64# m+ ~8 g4 i: v$ V& g9 h5 n
--> Running transaction check# ~; I5 k( A) E3 \# I; ?3 D$ Z! S
---> Package rdma-core.x86_64 0:22.4-5.el7 will be installed; v2 b0 ^- D7 ~/ o
--> Processing Dependency: pciutils for package: rdma-core-22.4-5.el7.x86_64, ^9 D, |4 y/ e# T
--> Running transaction check
* l! G5 T+ k0 F7 q* J1 w---> Package pciutils.x86_64 0:3.5.1-3.el7 will be installed
2 V; m$ t6 Y1 R* v' |* u( l3 q# l--> Finished Dependency Resolution
+ z- u4 Y, j" t8 d) VDependencies Resolved
4 c2 o7 T6 i$ j+ o===================================================================================================================================================================+ ~& |4 K7 [  S. G% H/ z
Package                                  Arch                                 Version                                    Repository                          Size
. R: ]+ c5 {; j: ~8 I5 y- g===================================================================================================================================================================
2 ~$ M6 e* D" z  r2 j- \Installing:" z2 O$ e# [6 ?
libibverbs                               x86_64                               22.4-5.el7                                 base                               268 k" [3 v+ T& N" e) S& c1 l' h
Installing for dependencies:
8 B6 W0 |8 I! E9 a4 u$ I4 X% `1 K pciutils                                 x86_64                               3.5.1-3.el7                                base                                93 k
  D  s0 W6 b9 N/ [7 G' B: K: L2 a+ ] rdma-core                                x86_64                               22.4-5.el7                                 base                                51 k: R; W4 g, ^% N% Z( [; z
Transaction Summary
6 e. Z. y- }8 m/ o' J" ^===================================================================================================================================================================
3 r1 O# M0 e; w1 cInstall  1 Package (+2 Dependent packages)
# Y/ p$ y1 O/ X$ A+ m1 CTotal download size: 413 k; M' K- C/ R$ V. _0 J
Installed size: 1.0 M
! d1 H& a( s. h' j: TDownloading packages:8 e) O( s+ A3 t# ^0 _
(1/3): rdma-core-22.4-5.el7.x86_64.rpm                                                                                                      |  51 kB  00:00:00     # [1 o/ \% h. B/ O8 s) Q+ L
(2/3): pciutils-3.5.1-3.el7.x86_64.rpm                                                                                                      |  93 kB  00:00:00     ' \$ J$ V, [- X3 m$ P" R1 V
(3/3): libibverbs-22.4-5.el7.x86_64.rpm                                                                                                     | 268 kB  00:00:00     
. M. v# P% s8 S. G, W! J+ ?4 [-------------------------------------------------------------------------------------------------------------------------------------------------------------------
$ l2 T1 r3 y/ w* o( M4 l% [Total                                                                                                                              575 kB/s | 413 kB  00:00:00     
; u; j/ U% ]  f. T: J6 h: TRunning transaction check
6 X& i1 D6 Q4 S; RRunning transaction test
/ R6 _5 \, p$ P3 x, JTransaction test succeeded" h& y+ a' L+ O0 H7 F  p
Running transaction
3 M$ }( r& g  G4 l, G& @, K  Installing : pciutils-3.5.1-3.el7.x86_64                                                                                                                     1/3 , i; N6 P  ^7 r# V" @
  Installing : rdma-core-22.4-5.el7.x86_64                                                                                                                     2/3 8 D+ O! a4 c% N) F- X$ h* P
  Installing : libibverbs-22.4-5.el7.x86_64                                                                                                                    3/3 6 c# `  E4 K5 N3 j7 I
  Verifying  : rdma-core-22.4-5.el7.x86_64                                                                                                                     1/3
0 B# n6 [( L6 l+ U" L6 `  Verifying  : libibverbs-22.4-5.el7.x86_64                                                                                                                    2/3 , p) t6 d: I5 Y7 ]  U0 ^2 F
  Verifying  : pciutils-3.5.1-3.el7.x86_64                                                                                                                     3/3
9 `6 ~) E! Z. A3 zInstalled:" v  Y6 R, K" C- ]- S: @1 m: |
  libibverbs.x86_64 0:22.4-5.el7                                                                                                                                   " U% f, l% a0 V. T% X$ v$ Y
Dependency Installed:
% S# M$ z  K$ H  pciutils.x86_64 0:3.5.1-3.el7                                                    rdma-core.x86_64 0:22.4-5.el7                                                   
- b5 q4 W6 M% X5 ^Complete!$ _4 [) ^/ G& V; i# ^( e

. z) }8 P+ N; P3 s0 [0 f再次登录,不在提示,问题解决。+ z3 b% O( h! c! E/ X+ z) ?  F
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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