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