找回密码
 注册
查看: 2206|回复: 1

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

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2021-8-19 15:01:51 | 显示全部楼层 |阅读模式
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
, I, w" N8 Y( d5 D, W4 s( T
" t. E" v9 t: G; a" G. q检查过程:4 P0 ?2 u9 T  d+ i7 q
libvirtd -v
) j6 P! C3 _# b, m5 Z0 i& m2021-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)" k& d. M( v/ h  a
2021-08-19 07:00:41.141+0000: 50546: info : hostname: compute01
( R4 q. n) F+ x8 Y- o- C2021-08-19 07:00:41.141+0000: 50546: info : virObjectNew:248 : OBJECT_NEW: obj=0x55ac39839730 classname=virAccessManager
) p9 o1 |- n/ J4 @2021-08-19 07:00:41.141+0000: 50546: info : virObjectNew:248 : OBJECT_NEW: obj=0x55ac39829fd0 classname=virAccessManager: p2 e+ ~0 ]% W7 E2 G: n
2021-08-19 07:00:41.141+0000: 50546: info : virObjectRef:382 : OBJECT_REF: obj=0x55ac39839730* M# Y9 _0 A: x5 P( T
2021-08-19 07:00:41.141+0000: 50546: info : virObjectUnref:344 : OBJECT_UNREF: obj=0x55ac398397309 e( b6 m- B- f, {  ]. B
2021-08-19 07:00:41.141+0000: 50546: error : virPidFileAcquirePath:422 : Failed to acquire pid file '/var/run/libvirtd.pid': Resource temporarily unavailable
4 _3 x0 K" n* R* ~6 @) S0 S2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStopAll:865 : stopping all netlink event services2 a7 d* E, A% p8 h
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service0 Z5 s0 Z1 w' u+ o( k
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
6 F5 F0 k( Z, v7 m2 {$ h& A! d2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
8 Y: \' q& u) y' y: w, V. J2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service4 N9 v3 j; V, a. u1 J; S2 k1 A
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
2 E9 s5 @* U3 l5 H# s; q( _$ b2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
+ S8 N/ m, w1 F2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service  Q5 _+ b% k5 `3 a+ K' T
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service. {. t  |/ g: M/ a* M. h1 S
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
* j# r1 q: f5 ~  v) I! y2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
7 ^# [! x( w6 s1 F7 V$ m( ]2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service0 e; {, b; V. E
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service, m$ R0 U. K# V/ K% F
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
9 G- x7 m0 \. D6 F' s! ~2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service, R( @% ~" A# _
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service) b+ f, S* H- X% Y& y; d
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service$ S% Y" I  E  B- s
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service! x/ d( x5 h6 x5 i! r5 Q* [
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service# v0 ?! O& l, R
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service$ Y+ u# R  d' J; R
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service% Y: G) I! F* y: V( w
2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
+ `5 f/ P. r. u, g2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
2 R7 z! a4 l, U2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service; f2 Y9 u7 }) a3 P7 p' P2 i4 ^
2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
% o7 p1 y7 F4 S2 q7 U, |2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service3 w0 Z* Y) k- o- u
2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service$ f) F# _0 g! K/ b: t
2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
5 d7 X, h" h! }6 O* D! u7 S2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service' b# o& r, p, E' p( k8 C
2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service# q: }0 [% T6 m8 \4 e$ J% s
2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
2 h# o* y! T. j/ Q0 e2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
- \9 y  z# o5 ?* \5 p2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service# m: I& D4 s( |) u, l* P

! |5 _5 p3 Z- }* n! X
1 c2 A2 c. u/ p发现有错误:3 l) q6 e  T, n: u# b; G9 H' J
2021-08-19 07:01:35.071+0000: 54621: error : virPidFileAcquirePath:422 : Failed to acquire pid file '/var/run/libvirtd.pid': Resource temporarily unavailable" }0 z: z" J* W' Q3 w; }6 c1 d
/ d1 e  G5 H- N+ m$ ^- V
7 b; a- S5 D5 v: ~
[root@compute01 ~]# cd /var/run/
2 ^7 N5 s+ ~* s
. w! r$ H& c7 ]: l$ H[root@compute01 ~]#mv libvirtd.pid libvirtd.pid-old
& y9 K* A; E9 T, b( B& ?7 r* c9 P
[root@compute01 run]# systemctl stop libvirtd.service + m& [/ y  g0 H7 O/ a# N8 Q

9 B9 k1 W2 j$ A& ^! v
! K7 n$ S) o+ M' u$ p: O[root@compute01 run]# systemctl start libvirtd.service1 s6 X+ w8 @% x' H8 X2 u
[root@compute01 run]# systemctl status libvirtd.service' a9 M2 m# V/ q& K
● libvirtd.service - Virtualization daemon
3 Y$ O) W7 U, J* d$ V$ C$ d   Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)- g! }9 y$ k/ I+ H  l
   Active: active (running) since Thu 2021-08-19 15:05:12 CST; 4s ago
9 f; U  @5 W8 C) x0 X; {     Docs: man:libvirtd(8)
- ]: j* K2 x& T           https://libvirt.org
. M; a. [( W# |4 a1 ^. M7 @ Main PID: 70074 (libvirtd)9 ?+ e5 R! K6 S  `- n; T6 Q
    Tasks: 19 (limit: 32768)
4 F% E: F) }1 {& ~! _   Memory: 29.1M
: `1 E. ~9 `4 x; f" X2 @1 L- e   CGroup: /system.slice/libvirtd.service: Z# v" Z, \) D
           ├─70074 /usr/sbin/libvirtd
# f+ I+ F" [/ |; O! Z           ├─70203 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.con...
. q, u6 I3 o" h6 _& N. T           └─70204 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.con...0 Q! ?$ b0 f# d/ j; l2 I& {2 l
Aug 19 15:05:13 compute01 dnsmasq[70203]: started, version 2.76 cachesize 150
8 U; \" h' `5 q2 gAug 19 15:05:13 compute01 dnsmasq[70203]: compile time options: IPv6 GNU-getopt DBu...fy
" E0 v* b4 Q, ]. L- O& ]Aug 19 15:05:13 compute01 dnsmasq-dhcp[70203]: DHCP, IP range 192.168.122.2 -- 192....1h. J/ k9 c4 ]5 B" l
Aug 19 15:05:13 compute01 dnsmasq-dhcp[70203]: DHCP, sockets bound exclusively to i...r02 N0 H& u* M  e) |7 C
Aug 19 15:05:13 compute01 dnsmasq[70203]: reading /etc/resolv.conf( F0 B$ C+ f* Y; i( m8 i/ V
Aug 19 15:05:13 compute01 dnsmasq[70203]: using nameserver 8.8.8.8#53
! \/ e8 g5 x+ h/ I- I' D: o/ tAug 19 15:05:13 compute01 dnsmasq[70203]: using nameserver 114.114.114.114#53- Z+ S  `( w" c2 q3 c5 k. x' J) @
Aug 19 15:05:13 compute01 dnsmasq[70203]: read /etc/hosts - 14 addresses4 l1 [( n( F* r2 A1 d# f  H
Aug 19 15:05:13 compute01 dnsmasq[70203]: read /var/lib/libvirt/dnsmasq/default.add...es0 K& H1 b/ \" o1 j0 Q3 h7 X1 T
Aug 19 15:05:13 compute01 dnsmasq-dhcp[70203]: read /var/lib/libvirt/dnsmasq/defaul...le
) F) ]4 d1 s* G% h0 J( sHint: Some lines were ellipsized, use -l to show in full.& X9 I9 ?$ l+ w" K3 S' O

1 m2 n  a1 L6 Y. N# E+ D8 |) q5 v( w2 f' Z- v/ Q

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2021-8-19 15:08:43 | 显示全部楼层
检查libvirt
/ U" A6 I- h9 F- e+ o, ~8 U0 T4 t: Z8 J0 v7 r' `
[root@compute01 run]# libvirtd -v' j2 D: A/ W. ?. ~
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)
# i) ?- U- _' i  B- O6 F/ W2021-08-19 07:06:20.600+0000: 75490: info : hostname: compute01
9 N( Y2 \# Q3 b9 |2021-08-19 07:06:20.600+0000: 75490: info : virObjectNew:248 : OBJECT_NEW: obj=0x556a44dad730 classname=virAccessManager
4 M1 |% i8 h7 ?+ U+ q0 L2021-08-19 07:06:20.601+0000: 75490: info : virObjectNew:248 : OBJECT_NEW: obj=0x556a44d9dfd0 classname=virAccessManager9 y8 f& W# J* |
2021-08-19 07:06:20.601+0000: 75490: info : virObjectRef:382 : OBJECT_REF: obj=0x556a44dad730$ j" d' D) Q5 a
2021-08-19 07:06:20.601+0000: 75490: info : virObjectUnref:344 : OBJECT_UNREF: obj=0x556a44dad730
; p' e8 ]+ ], ?; @2021-08-19 07:06:20.601+0000: 75490: error : virPidFileAcquirePath:422 : Failed to acquire pid file '/var/run/libvirtd.pid': Resource temporarily unavailable
7 c' l4 S1 A6 T( b6 X2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStopAll:865 : stopping all netlink event services
! ]( d# X2 G  i$ _# G7 u  n2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
- D2 D* ^) @- s2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
2 V" h8 B  ?( y2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
" o) \8 g3 {# C" X2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service2 h, n3 ]3 e( v( H  c" H$ F1 B" w
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service7 `8 J0 ?+ N. [4 Y
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service' e; _0 D) R' h" y+ `9 O
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service4 d& u2 ?& \1 t' x7 @
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service) f0 |: V5 [% G% \
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service9 r! x' n- ]* C5 a% n# j
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service; }! b$ q0 `$ {
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
0 s: C7 v7 @- Z8 F% f) o& Q2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service: w& ~! o0 X9 T" m! m" m$ p
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
" e5 |% W6 T' G) g4 ]2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service$ x0 v: I  n, W6 L
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
9 G$ J7 ?& W2 p4 U& Z1 m. O6 \6 \2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service0 i8 K1 }+ a/ T1 G! e. _
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service+ {" p- {& Z6 g) g
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
2 s: \" p6 q" [/ s5 q2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service1 f, K1 Q: @) Z4 `6 y" q
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service& ~/ s+ V/ D- J( i+ q! e5 a
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
+ i1 {3 h  I7 `& G3 `& u; w" Q2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service+ N% {; G8 B+ B0 f
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service, H" S! h4 |) K/ |
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service( v" s  |2 h# s: Y* s- M5 i2 s! ~" L& l
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service6 R) s$ J1 w+ v; }  d. S- ]
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
: l3 W$ G/ A) i! G2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service2 a7 [+ |5 a. }
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service! ~: H9 @+ V2 j3 e% U
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service6 D/ `( H9 [' ?1 N( v" A
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service  n' `% R+ f/ X8 Y
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
& \6 U* m. j4 a1 X8 Z2021-08-19 07:06:20.602+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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