|
|
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
5 z9 ~+ ^. t# [6 m: Q$ P2 M) ^' }" P( T8 X
检查过程:
$ H D6 [+ R4 O" s e libvirtd -v
# k2 S5 I. G* 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)5 ?; }; j! i0 J9 ?
2021-08-19 07:00:41.141+0000: 50546: info : hostname: compute018 m6 X2 W ^7 V
2021-08-19 07:00:41.141+0000: 50546: info : virObjectNew:248 : OBJECT_NEW: obj=0x55ac39839730 classname=virAccessManager
, s8 A8 v* P% A% x( ^" X* Q2021-08-19 07:00:41.141+0000: 50546: info : virObjectNew:248 : OBJECT_NEW: obj=0x55ac39829fd0 classname=virAccessManager
4 J P0 v7 [6 U9 e0 N2021-08-19 07:00:41.141+0000: 50546: info : virObjectRef:382 : OBJECT_REF: obj=0x55ac39839730; n3 w* b f8 \' M
2021-08-19 07:00:41.141+0000: 50546: info : virObjectUnref:344 : OBJECT_UNREF: obj=0x55ac39839730
- F5 r% w. V2 p# o2021-08-19 07:00:41.141+0000: 50546: error : virPidFileAcquirePath:422 : Failed to acquire pid file '/var/run/libvirtd.pid': Resource temporarily unavailable& b$ G" {# [+ D/ J. l$ v& j
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStopAll:865 : stopping all netlink event services
5 l0 p+ q" W( T2 K6 w3 B+ R2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service. x7 v8 F8 Z; m8 o
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service- ^; a5 f2 ~2 r' _% C- W5 P
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
' A% V' q+ F y: V+ c2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
# g/ g: i; ^2 ^- w2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service' X- {) t! D6 Q, h/ l3 d7 y1 p
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
! H u& ^ k$ U* O6 {$ D- o8 t4 j2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service0 P4 n% O$ L5 \; v U' Z' h. ?
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
" \# C0 J7 H# D" g7 p3 n7 D. z2 s2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
+ f' n% t# J' T% s2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
3 m# B ^0 @! d1 s$ P3 o7 h2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
: A& [( @2 t3 b, P7 G! Z2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
! H/ e+ R& Z3 G0 P1 b+ z# z2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
5 s4 J$ Y) K. n9 S2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
- h* {7 @2 b8 M: [' m( G2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
7 V2 a+ `5 k& D" S2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
3 ]- [9 \/ j$ R% |% H2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service P* f0 Z+ q3 I& w2 X
2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
; l. T0 }" M" w2 A9 N2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
1 ^" \8 {: N7 V1 U0 ~$ D2021-08-19 07:00:41.141+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service: e% v& w/ V# `7 `8 ?6 W( i
2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
1 n% `& ]0 E5 F3 P3 x1 m1 M2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service1 P, s" o! T: _6 U& A
2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service1 P) M& d$ J0 C$ Z) w- v4 B3 k5 P
2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
) t7 s P- f J- V, @2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
- o% f) }0 n( u) b4 a2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
) \" T/ a4 W# c" I/ Z% S5 M9 _2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service8 [8 y" s! d1 P
2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
9 N& v6 z' k7 H2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service
3 R+ v; i3 I$ j0 w! H; h2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service( h2 q9 ~. @7 L3 n- |6 P; d( x- N
2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service" J; q2 y) N& i& U
2021-08-19 07:00:41.142+0000: 50546: info : virNetlinkEventServiceStop:828 : stopping netlink event service# f, |# P( A( c. ]
, q3 a. B; r+ D8 i; Q$ j6 S4 `3 n5 i% r9 }
发现有错误:
4 ~; T, U, _0 a# y5 \( i* B! t1 E2021-08-19 07:01:35.071+0000: 54621: error : virPidFileAcquirePath:422 : Failed to acquire pid file '/var/run/libvirtd.pid': Resource temporarily unavailable
* `* G0 v4 t1 J3 K; K9 y
- O$ y5 I, w/ X! X4 [" B- v3 Y) X z! V. U9 J
[root@compute01 ~]# cd /var/run/4 M1 b1 w+ k# P/ B
9 c5 S T w; j" C( S[root@compute01 ~]#mv libvirtd.pid libvirtd.pid-old
& P' x) w; k4 ^9 r7 O6 Q* A9 G/ U. b8 d/ W6 Z* V& Y) s% O4 E& _+ m
[root@compute01 run]# systemctl stop libvirtd.service 5 M+ E& X. q6 X2 v
6 \; ~+ t: U% }& m) Z& T
: @. Y7 q& e& }4 S, m/ w7 W[root@compute01 run]# systemctl start libvirtd.service
1 y7 P/ `& l* X, @[root@compute01 run]# systemctl status libvirtd.service
2 z# {1 x; h) l: L# n" H! [% y% l) S1 t● libvirtd.service - Virtualization daemon9 Q; L/ L S+ i' B
Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)
: c0 W' n# l- F2 s. `+ d2 {" B Active: active (running) since Thu 2021-08-19 15:05:12 CST; 4s ago6 Z; E% k6 G, {% J: z! q
Docs: man:libvirtd(8)) y/ H$ ^" F+ e) Q% _7 U
https://libvirt.org
5 N" t& O* l. t [+ f Main PID: 70074 (libvirtd)
. h. u. q: R# p5 S% ?- P Tasks: 19 (limit: 32768)7 r# N2 i2 i) c
Memory: 29.1M3 \2 {; B! h L7 n( D- F; V1 G x
CGroup: /system.slice/libvirtd.service
' h9 H, @1 Z+ r1 a* ?" U ├─70074 /usr/sbin/libvirtd3 s ]' u0 v! Y* p5 s
├─70203 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.con...
2 f) a3 U, M" c2 i └─70204 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.con...3 {) n5 ~ T6 d
Aug 19 15:05:13 compute01 dnsmasq[70203]: started, version 2.76 cachesize 150% W) a% Z0 `( c
Aug 19 15:05:13 compute01 dnsmasq[70203]: compile time options: IPv6 GNU-getopt DBu...fy
& y; }( `: `( ^Aug 19 15:05:13 compute01 dnsmasq-dhcp[70203]: DHCP, IP range 192.168.122.2 -- 192....1h v1 O1 q) u6 g$ L3 ?+ @
Aug 19 15:05:13 compute01 dnsmasq-dhcp[70203]: DHCP, sockets bound exclusively to i...r0
8 U# b2 z' p; ~! d, I: Z' iAug 19 15:05:13 compute01 dnsmasq[70203]: reading /etc/resolv.conf" ?$ {- }$ Q2 r) S3 Z
Aug 19 15:05:13 compute01 dnsmasq[70203]: using nameserver 8.8.8.8#53: b1 G" w3 q2 g5 M' l; x
Aug 19 15:05:13 compute01 dnsmasq[70203]: using nameserver 114.114.114.114#53
2 T2 l4 T: d; W- a3 P, U0 iAug 19 15:05:13 compute01 dnsmasq[70203]: read /etc/hosts - 14 addresses
3 N1 i( Y8 C2 T1 W1 pAug 19 15:05:13 compute01 dnsmasq[70203]: read /var/lib/libvirt/dnsmasq/default.add...es# p4 F9 K1 p! M7 T0 U
Aug 19 15:05:13 compute01 dnsmasq-dhcp[70203]: read /var/lib/libvirt/dnsmasq/defaul...le( \( O2 k; q, L- F& Q* R8 G
Hint: Some lines were ellipsized, use -l to show in full.
: p5 J2 `; p7 Y b
9 O* j& \: A7 L4 q+ @4 W; f7 B, g9 k
( N# I, f* F; i) j- G2 [ |
|