找回密码
 注册
查看: 2207|回复: 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 unavailable0 l9 w8 _( s1 w4 u7 @2 ]
) x/ G. ]9 a3 C' Q5 j2 S  d" l$ G
检查过程:
% A4 z7 s9 t- a1 R libvirtd -v
  Y- y8 E- ]9 E. T1 z2021-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)
- e, M4 h8 e( w2 A5 b2021-08-19 07:00:41.141+0000: 50546: info : hostname: compute01
! G" n# S: N$ C7 a9 B: b2021-08-19 07:00:41.141+0000: 50546: info : virObjectNew:248 : OBJECT_NEW: obj=0x55ac39839730 classname=virAccessManager
; _) Q. D2 y  {6 o% |2021-08-19 07:00:41.141+0000: 50546: info : virObjectNew:248 : OBJECT_NEW: obj=0x55ac39829fd0 classname=virAccessManager. D) {. k( p; F/ ^& J9 \9 A
2021-08-19 07:00:41.141+0000: 50546: info : virObjectRef:382 : OBJECT_REF: obj=0x55ac39839730
$ p$ n+ w  y* n) P2021-08-19 07:00:41.141+0000: 50546: info : virObjectUnref:344 : OBJECT_UNREF: obj=0x55ac39839730
4 q- g) i  V, j( f2 F  {4 g- U2021-08-19 07:00:41.141+0000: 50546: error : virPidFileAcquirePath:422 : Failed to acquire pid file '/var/run/libvirtd.pid': Resource temporarily unavailable
; K9 b# r3 [, u0 ~1 D# X! o- ~2 M2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStopAll:865 : stopping all netlink event services
+ {" T- n- Z' A2 F) E7 ^2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service. y4 U1 e* c! `7 X
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service$ G& `# z# Q* r
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service1 |, Q- q; ^/ q8 g5 A" \8 }
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service) ^( A+ a: o4 s$ y, n
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
, p6 L) ?5 \) p2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
9 R7 l# q) h% D# K$ N2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service+ S' s* e9 w% N6 y9 M* L
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service3 ^3 o: Y$ f- Y, Z1 W7 d1 f0 x/ e; d( r
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service, b+ b* {; M6 g& t: x
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
# U, ^/ m5 P" T' y8 m. D2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service0 c' c% I& T/ u! P( @/ _1 |, _
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
) _$ J& j8 [1 ]$ a% i" t9 l( q2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service$ ?3 B3 v# T* s. g. o! i3 n
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service8 w5 k6 ]8 y* h% z$ U
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
! ]% m2 R# Q: G: `' U2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service$ }/ \: U4 D7 t8 [+ b
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service! R1 c4 R& P" [; {$ k# _
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
- e* A' j% h" a) ?+ {7 J" ?! g( s2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
% ?  Q7 V& M5 n" M4 L2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service1 \6 j. w$ Z' G5 x- l( w
2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
( i  v6 N8 K* O2 Z( x2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
! D$ b& D: ]1 j. T' h& U) n6 B; H2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service9 U. N) r. X8 \7 S5 n8 t% n; C2 `
2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service6 [* S" Q; E+ u
2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
& t5 Z2 I1 C! [. M9 N2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service8 p* d) ^0 Y3 Z9 ]7 ?7 c
2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service+ }8 E% p" ~  z! s7 C' E4 r
2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service. Y2 J$ z8 u9 [3 ^1 U& h
2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
3 Z( N, V$ f. T6 v9 ]2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service; F" r! V$ B% c2 {* x$ _# Y1 m. m
2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
% J" ?# G5 @% |9 ^; B9 b5 M/ h* R. G2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
* D, R5 g8 V& s$ c8 f) j$ X
# g# y- t, N! r7 K. x1 j( u8 N1 [( s9 ^9 y8 t. c
发现有错误:
* ~' i; h! ]" @0 S! W1 w6 k2021-08-19 07:01:35.071+0000: 54621: error : virPidFileAcquirePath:422 : Failed to acquire pid file '/var/run/libvirtd.pid': Resource temporarily unavailable
' N; r9 a8 H1 F8 V" |. q- Y+ W
! v4 q6 \- k1 ~& R; Z4 m$ v
8 p* m7 O- z  e* I, i$ C" y[root@compute01 ~]# cd /var/run/
+ k# V. f0 q# Y# B. P( q6 i
! A* ~  \" v; K, g. Y[root@compute01 ~]#mv libvirtd.pid libvirtd.pid-old: D% {/ R% A7 c% [2 t& n
) Q% G  L$ S! W& V1 l* w
[root@compute01 run]# systemctl stop libvirtd.service
/ W* R: f* T5 [4 c& q5 o8 Q
0 t$ ^' M) j' D  l
/ k, A" k4 W6 x( L/ @[root@compute01 run]# systemctl start libvirtd.service0 v) b& E5 A1 L+ Y
[root@compute01 run]# systemctl status libvirtd.service
1 z! Y* W' q/ O. b' A● libvirtd.service - Virtualization daemon
% u, U3 L, l/ O6 {7 m   Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)
2 x( P* k9 ~: W4 W+ @& k; e# C   Active: active (running) since Thu 2021-08-19 15:05:12 CST; 4s ago  z4 n. f1 E, W) X  I2 Q+ \
     Docs: man:libvirtd(8)
1 O& u& t5 {# F8 j% v# f           https://libvirt.org& u$ Y" J, m1 N+ Q2 u/ X
Main PID: 70074 (libvirtd)
4 N5 G- K; }& ?3 d! E    Tasks: 19 (limit: 32768)" Q- a) _9 M% ~3 w# q1 O
   Memory: 29.1M) H/ z2 U/ y: F  V4 r/ J. A
   CGroup: /system.slice/libvirtd.service# a/ H+ S" [5 c" o5 n0 [  d
           ├─70074 /usr/sbin/libvirtd2 b8 e8 S% B# J# O2 N% R! D4 e
           ├─70203 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.con...
+ ^5 H" X* V  _. @6 H0 X" u5 _. b           └─70204 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.con.... W' ^4 k  [/ W9 Z- q6 ]2 M
Aug 19 15:05:13 compute01 dnsmasq[70203]: started, version 2.76 cachesize 1507 w3 S' o  M% L- U9 t6 k
Aug 19 15:05:13 compute01 dnsmasq[70203]: compile time options: IPv6 GNU-getopt DBu...fy+ N( _" v, d$ f; P( j# l7 f8 g
Aug 19 15:05:13 compute01 dnsmasq-dhcp[70203]: DHCP, IP range 192.168.122.2 -- 192....1h
6 J# f* e1 s, w+ GAug 19 15:05:13 compute01 dnsmasq-dhcp[70203]: DHCP, sockets bound exclusively to i...r0, _4 Q. b4 t  W/ s* H/ X
Aug 19 15:05:13 compute01 dnsmasq[70203]: reading /etc/resolv.conf
3 E. f1 I) S. H/ @, MAug 19 15:05:13 compute01 dnsmasq[70203]: using nameserver 8.8.8.8#53
% |6 ^% @" E) z- z1 GAug 19 15:05:13 compute01 dnsmasq[70203]: using nameserver 114.114.114.114#53
  l/ t# f9 b- ~) `) ?. ^$ u, S4 P! b" @Aug 19 15:05:13 compute01 dnsmasq[70203]: read /etc/hosts - 14 addresses
+ ^& x/ e- g) o% w2 T; W8 A/ CAug 19 15:05:13 compute01 dnsmasq[70203]: read /var/lib/libvirt/dnsmasq/default.add...es- N, r: c$ j& |0 C$ V. \  E
Aug 19 15:05:13 compute01 dnsmasq-dhcp[70203]: read /var/lib/libvirt/dnsmasq/defaul...le
: k1 t2 `; {6 ^) CHint: Some lines were ellipsized, use -l to show in full.
  C0 i9 O7 t( U5 k: b( O& l" c7 M" \
3 G- m' m+ w! E

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2021-8-19 15:08:43 | 显示全部楼层
检查libvirt
( O, U. D1 s( \" N2 f  i  g- `/ ^8 z8 v0 T8 f4 q7 k# f
[root@compute01 run]# libvirtd -v" _1 V0 @  N* S& b, y, f' Q# D& o
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)8 ^3 J7 I" M# D) g# T0 q4 J) n
2021-08-19 07:06:20.600+0000: 75490: info : hostname: compute01
" F! D9 Y3 f% \" s$ N- A. u2021-08-19 07:06:20.600+0000: 75490: info : virObjectNew:248 : OBJECT_NEW: obj=0x556a44dad730 classname=virAccessManager
) |) i4 f  N5 d6 k2021-08-19 07:06:20.601+0000: 75490: info : virObjectNew:248 : OBJECT_NEW: obj=0x556a44d9dfd0 classname=virAccessManager# ?2 p1 b1 \. d
2021-08-19 07:06:20.601+0000: 75490: info : virObjectRef:382 : OBJECT_REF: obj=0x556a44dad730
+ y8 N" b8 B2 d4 N3 h1 \2021-08-19 07:06:20.601+0000: 75490: info : virObjectUnref:344 : OBJECT_UNREF: obj=0x556a44dad730
/ A6 _( M: @1 j& c, p1 W1 E2021-08-19 07:06:20.601+0000: 75490: error : virPidFileAcquirePath:422 : Failed to acquire pid file '/var/run/libvirtd.pid': Resource temporarily unavailable
! I, O( m0 z* z2 e) x2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStopAll:865 : stopping all netlink event services4 z/ J" D% L/ Q! P5 |
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service- K! b; `+ y* S. R6 }, F# Y. v
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service0 H3 o: I8 h! }1 Y, y
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
: b. h$ ~' |+ {7 [6 ]" z3 w7 Y6 ^2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
% O, B1 @! Y+ N2 X& c! B) r2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
5 J) L: R6 h+ a2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
- A1 O4 x* c5 ?6 g0 P  c3 y' O2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service$ F+ A& \+ |( X
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
1 o# `0 B& Z) e3 [7 x/ W7 f) Q! }2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
$ Q" O; _' V! t3 n0 _2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
3 J2 Q4 s- [1 N# {# W2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
: q4 L* ?: T  c8 U) {4 Z, @( b+ {2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
! H: V' F  N$ l7 o$ R2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
; {! g, }$ i  z2 t8 G2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service  f3 f7 [( {1 u" J
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service% d1 L# y  w% {& l
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
. s' b! A% Q9 z! _2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service6 f9 R. t$ \- ?4 C4 \
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
% N) }+ N: X3 V2 ^; p: ]3 [" F: n2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service7 {: G+ a( n% |& y
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service8 F  w- [$ R! j1 P; `
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
2 v( }+ W- E3 @2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
5 b$ S) ^" e. C  A! q* T( S* D2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service- b8 E9 L9 N! R2 s# k
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service# F! n+ W/ B' k5 P- t
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service5 [' a9 [; P. O/ T; z; q: x4 f
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
6 S' Y$ G; h7 p" R% ^7 k" R0 M2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
) a9 w$ P7 Q! L3 y% |2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service- o; m- A2 P* |8 h  B) b
2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
0 B7 B  o5 h. H) g/ T7 U' F: o2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
, H5 ]6 _5 x1 s% ]& K# C! ^2021-08-19 07:06:20.601+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service$ n( B1 I# v4 p6 L: N$ Q! S
2021-08-19 07:06:20.602+0000: 75490: info : virNetlinkEventServiceStop:828 : stopping netlink event service
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 03:50 , Processed in 0.014417 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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