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

易陆发现论坛

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

error : virPidFileAcquirePath:422 : Failed to acquire pid file .....: Resource t

[复制链接]
发表于 2021-8-19 15:01:51 | 显示全部楼层 |阅读模式

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

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

x
libvirtd: 2021-08-19 06:57:01.967+0000: 34519: error : virPidFileAcquirePath:422 : Failed to acquire pid file '/var/run/libvirtd.pid': Resource temporarily unavailable! z+ a* @7 X% p/ N! Q( G* X
& N0 r, z$ u& Z. G
检查过程:
1 Y% P8 d4 w" O/ a9 w. K libvirtd -v
: S, M+ b! A- q% X& G2021-08-19 07:00:41.141+0000: 50546: info : libvirt version: 4.5.0, package: 36.el7_9.5 (CentOS BuildSystem <http://bugs.centos.org>, 2021-04-28-13:32:22, x86-01.bsys.centos.org)
& H- O: ^1 A, [" r# k0 b. b2021-08-19 07:00:41.141+0000: 50546: info : hostname: compute01
: c$ ]1 e7 X0 A6 {2021-08-19 07:00:41.141+0000: 50546: info : virObjectNew:248 : OBJECT_NEW: obj=0x55ac39839730 classname=virAccessManager$ }$ T8 m! ]0 k* C! ]) m, C
2021-08-19 07:00:41.141+0000: 50546: info : virObjectNew:248 : OBJECT_NEW: obj=0x55ac39829fd0 classname=virAccessManager
7 Z+ j5 s  I3 K9 p; N2 P) }& {2021-08-19 07:00:41.141+0000: 50546: info : virObjectRef:382 : OBJECT_REF: obj=0x55ac39839730+ `+ W% q% T0 A" D4 k* `7 u
2021-08-19 07:00:41.141+0000: 50546: info : virObjectUnref:344 : OBJECT_UNREF: obj=0x55ac39839730
; E% }, A" R. ]1 |: @* m' M% G2021-08-19 07:00:41.141+0000: 50546: error : virPidFileAcquirePath:422 : Failed to acquire pid file '/var/run/libvirtd.pid': Resource temporarily unavailable; f% }/ r0 X8 h& [/ i
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStopAll:865 : stopping all netlink event services, Q( S) {, G  ]' e
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service* ~, N4 s# \5 l, |$ `
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service- K6 Q5 e' d3 @( n2 _8 ^6 c
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service9 h( E- ~& H/ I, t
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
( H+ ?& x0 L3 c2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
5 c; q! R5 d" Z9 r2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service: G6 J/ E! ~4 w( R) a) e
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service6 X; ?$ }7 M- h
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
2 B# W2 P3 S3 ]8 X  Z2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service& ~# `' j- N* U3 ?
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
. R' Z6 b/ k% a: O) r! y% v2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service& Q9 r5 [: C. X9 \- q9 R
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
4 P7 m2 g' a% r# c( v% H2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service0 i' }2 P$ w1 p9 \8 E
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service' s  b- s8 `. p) o; M
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
# p+ i3 y$ L2 ~- p/ v- U3 l2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
6 E% G! A0 k# i2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service! L& K+ v5 X9 u: u5 Y4 `
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
+ t' ~& v5 V( T9 X$ e* e2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service- p6 ~2 Q: x: d. @
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
/ Y" Y( E& k  \  p  c  O* K2 k2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service3 I$ |( |: Q' H! Y- _4 {
2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service* @, X8 Y, w8 C; F
2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
; w$ e9 H4 O- }  _3 d# r  O) M& j2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service! @8 G9 V& B/ F
2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
1 u$ ?) L9 q- n3 x' r7 O# W  p) a2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
/ Z% u: s, V0 Q2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service5 O7 J/ ?4 J" \- z' m% Q0 [
2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
  @9 S' E' A4 I  y0 i& T2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service) h) T6 \# b0 A% Z1 C! {; [
2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service' |* k5 O" B; e/ j* A
2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service; p3 Y: q$ ?7 e$ r
2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service3 f; X8 y7 `+ q" e* j7 H6 Y

- L: c/ k1 E' w4 G; U+ @! A4 y8 O
' f! H: I8 `$ r  J2 w发现有错误:
; P/ i) b+ v( V0 P2 O6 c0 j2021-08-19 07:01:35.071+0000: 54621: error : virPidFileAcquirePath:422 : Failed to acquire pid file '/var/run/libvirtd.pid': Resource temporarily unavailable, q9 Q" l8 F, w8 q0 R/ P0 Y
# p; i* o& a2 m! Y

* y' s# f( L8 E$ z5 g7 H[root@compute01 ~]# cd /var/run/1 R9 w. h  o! @& }. j
7 W4 o$ U# H4 H9 w) J$ g& x
[root@compute01 ~]#mv libvirtd.pid libvirtd.pid-old* K8 e$ b3 c9 B  b# G  i6 M
8 I  L. m9 \4 t5 z0 o* k3 t
[root@compute01 run]# systemctl stop libvirtd.service ) q# ]9 C. [5 u* o4 z% p5 J1 k
  b4 P& [4 g0 N# p
5 _$ M: O& W9 d3 A9 U* I
[root@compute01 run]# systemctl start libvirtd.service, S. B8 v7 F; K2 N
[root@compute01 run]# systemctl status libvirtd.service
7 n* i$ @) ]6 @+ a/ T3 n● libvirtd.service - Virtualization daemon/ K& g( K* C( E6 m& S- @4 L) V
   Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)
5 G! S  T- G6 A4 y8 ?4 A7 S" V) D- t   Active: active (running) since Thu 2021-08-19 15:05:12 CST; 4s ago0 ^0 {! T4 Q5 F( p
     Docs: man:libvirtd(8)
% m& C& u! H& f5 y8 C+ U           https://libvirt.org5 J6 ~3 w* Z& C- x7 e2 t& d' }
Main PID: 70074 (libvirtd)  q7 P) ?" q: s2 Z3 C
    Tasks: 19 (limit: 32768)- S2 G$ M$ P3 Z+ a6 N2 J
   Memory: 29.1M2 _+ a& [7 z1 u/ F
   CGroup: /system.slice/libvirtd.service
5 n0 P% K  n* B6 D9 O           ├─70074 /usr/sbin/libvirtd
, q6 q/ b# b$ s           ├─70203 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.con.... ?8 f& b0 t0 |. `, Y2 E8 C  L
           └─70204 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.con...
/ M: r5 d# U1 u! ~Aug 19 15:05:13 compute01 dnsmasq[70203]: started, version 2.76 cachesize 150
4 F6 e3 M; p. F3 n5 Z- IAug 19 15:05:13 compute01 dnsmasq[70203]: compile time options: IPv6 GNU-getopt DBu...fy% D9 O' H0 q. O3 A8 ]
Aug 19 15:05:13 compute01 dnsmasq-dhcp[70203]: DHCP, IP range 192.168.122.2 -- 192....1h
3 r; q8 s( U( p: MAug 19 15:05:13 compute01 dnsmasq-dhcp[70203]: DHCP, sockets bound exclusively to i...r0
( F, h8 D: ^  [0 L& {/ MAug 19 15:05:13 compute01 dnsmasq[70203]: reading /etc/resolv.conf8 m2 i1 E  K" W: L: x; ~- Y; x
Aug 19 15:05:13 compute01 dnsmasq[70203]: using nameserver 8.8.8.8#53# Z- z+ `9 C. p0 u: d  l
Aug 19 15:05:13 compute01 dnsmasq[70203]: using nameserver 114.114.114.114#53
& W3 F7 D& r( a* s' R8 J/ e' IAug 19 15:05:13 compute01 dnsmasq[70203]: read /etc/hosts - 14 addresses
' S# e( C* N* s; a1 FAug 19 15:05:13 compute01 dnsmasq[70203]: read /var/lib/libvirt/dnsmasq/default.add...es
# ^3 s/ |! _# ^2 @3 qAug 19 15:05:13 compute01 dnsmasq-dhcp[70203]: read /var/lib/libvirt/dnsmasq/defaul...le* ?# _  \4 y( g" p; ?
Hint: Some lines were ellipsized, use -l to show in full.8 T+ W/ o+ o  g' x! k8 R

6 `/ w0 @  _  I+ {8 b* V7 r+ ^* g( R; q" P2 l. W2 ?; r$ e$ w
 楼主| 发表于 2021-8-19 15:08:43 | 显示全部楼层
检查libvirt+ N* ?, v' w$ n+ V# x6 F3 F

; {1 r% I/ `; B2 c6 j8 L2 `& R! ~0 m[root@compute01 run]# libvirtd -v/ j0 ]: q" g* q+ c) U) [
2021-08-19 07:06:20.600+0000: 75490: info : libvirt version: 4.5.0, package: 36.el7_9.5 (CentOS BuildSystem <http://bugs.centos.org>, 2021-04-28-13:32:22, x86-01.bsys.centos.org)( `  Y0 {; }! g5 L! l# y8 y8 ]
2021-08-19 07:06:20.600+0000: 75490: info : hostname: compute01
4 I" h% p$ _1 T! X2021-08-19 07:06:20.600+0000: 75490: info : virObjectNew:248 : OBJECT_NEW: obj=0x556a44dad730 classname=virAccessManager4 f  Q5 d4 P0 f% u2 Q4 b+ v
2021-08-19 07:06:20.601+0000: 75490: info : virObjectNew:248 : OBJECT_NEW: obj=0x556a44d9dfd0 classname=virAccessManager2 I. \, m4 c7 ~+ F2 |* `5 a% s
2021-08-19 07:06:20.601+0000: 75490: info : virObjectRef:382 : OBJECT_REF: obj=0x556a44dad730
8 w& g" A9 T2 `4 w' c4 c; t2021-08-19 07:06:20.601+0000: 75490: info : virObjectUnref:344 : OBJECT_UNREF: obj=0x556a44dad730
+ W6 D7 j- r! ~7 V( Y. }- q. I$ J2021-08-19 07:06:20.601+0000: 75490: error : virPidFileAcquirePath:422 : Failed to acquire pid file '/var/run/libvirtd.pid': Resource temporarily unavailable
% w* s7 G& ]( H2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStopAll:865 : stopping all netlink event services
! I/ I* l$ K" R3 H2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service( P: |7 J' e/ A/ R
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service' _7 X' P* w' z' _/ c
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
4 V7 \1 l) ]9 _/ d6 O6 z2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
9 Y  K2 s: c9 e& o; _1 U5 U; |2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
# R3 R! s7 W! {0 T% }$ g9 {9 A2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service4 Q" z: c/ M/ M) P! e9 m- [" v
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
4 \, [! T# U* b, o6 ^6 w2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service& i7 E$ F. I! s1 {
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service' N  s' K- |5 i* f6 x
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service3 ]# l" t6 Z/ H+ E& |* H* f/ {
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
6 O1 K$ f! o7 H" Y+ A) B8 v2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service& N/ j: H7 w6 e5 ]- v' f! `
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
% Q, t" D  P0 \5 k' w% p1 Q2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service- k; @1 i  K% `. L
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service& {& u: A0 ~; o: u8 t6 g
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
6 f. F- ?+ q5 \; F2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service: L& v. k& J7 y; ^/ H: M1 s+ C
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
  p  }- [  Y. H/ f2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service& c. n9 U' D4 N  D' \
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
* w# q9 ]8 K; G3 v9 `: I4 y2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service) D- M5 J$ f& d: T$ a
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
) A# A$ }2 k8 I. Q2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service' b  e. m7 y# X' a, L
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service0 ~# L( o0 O3 y* K' t  @
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service/ d; ]; f  y8 n" N7 `- p$ I
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
! |, i/ d0 j! [) g2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service; V: W: o6 T, N; K
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service7 K* @; L3 T, j5 C  p/ H0 t4 S
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service1 k+ \7 _0 R' q1 K* J4 T
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
) r) G0 M2 G( f& L; I2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service. u. n3 Z- q6 W6 p% B* ?
2021-08-19 07:06:20.602+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

如有购买积分卡请联系497906712

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

GMT+8, 2021-10-28 16:49 , Processed in 0.043850 second(s), 22 queries .

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

© 2012-2022 Comsenz Inc.

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