|
|
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
|
|