Difference between revisions of "Journalctl -u libvirtd"

From wikieduonline
Jump to navigation Jump to search
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
<code>[[journalctl -r]] -u [[libvirtd]] | grep -i error</code>
+
* <code>[[journalctl -r]] -u [[libvirtd]] | grep -i error</code>
 +
* <code>[[journalctl -f]] -u [[libvirtd]] | grep -i error</code>
  
 +
[[/var/log/libvirt/qemu/]]
  
 +
== Configuration ==
 +
[[/etc/libvirt/libvirtd.conf]]
 +
#log_level = 3
 +
#log_outputs="3:syslog:libvirtd"
 +
== Logs ==
  
<code>libvirtd[14189]: 2019-11-21 15:08:13.035+0000: 14192: error : qemuDomainBlockCommit:17568 : invalid argument: top '/path/to/file/VM_NAME.qcow2' in chain for 'hda' has no backing file</code>
+
=== Error ===
 +
Jun 02 10:18:44 SERVER libvirtd[14155]: 2020-07-02 06:18:44.477+0000: 14157: error : virStorageFileReportBrokenChain:431 : Cannot access storage file '/path/to/file.qcow2' (as uid:64055, gid:116): '''No such file or directory'''
 +
 
 +
Oct 20 00:12:58 SERVER libvirtd[2287]: 2020-10-21 20:12:58.730+0000: 2341: error : virDomainSnapshotDefAssignExternalNames:484 : unsupported configuration: source for disk 'hda' is not a regular file; refusing to generate external snapshot name
 +
 
 +
Sep 29 12:18:58 SERVER libvirtd[3493964]: '''Failed to open file''' '[[/sys/class/]]net/veth764c6e0/operstate': No such file or directory
 +
 
 +
<code>libvirtd[14189]: 2019-11-21 15:08:13.035+0000: 14192: error : qemuDomainBlockCommit:17568 : invalid argument: top '/path/to/file/VM_NAME.qcow2' in chain for 'hda' '''has no backing file'''</code>
  
 
  Jul 01 20:29:54 XXXX libvirtd[2243]: 2020-07-01 16:29:54.441+0000: 3788: error : qemuDomainObjBeginJobInternal:4945 : Timed out during operation: '''cannot acquire state change lock''' (held by [[remoteDispatchDomainBlockJobAbort]])
 
  Jul 01 20:29:54 XXXX libvirtd[2243]: 2020-07-01 16:29:54.441+0000: 3788: error : qemuDomainObjBeginJobInternal:4945 : Timed out during operation: '''cannot acquire state change lock''' (held by [[remoteDispatchDomainBlockJobAbort]])
  
 +
libvirtd[14155]: 2020-07-21 07:20:59.032+0000: 14155: error : qemuMonitorIO:719 : internal error: '''End of file from qemu monitor'''
 +
 +
Sep 15 19:28:32 XXX libvirtd[2287]: 2020-09-15 15:28:32.969+0000: 2342: error : qemuMonitorJSONCheckError:392 : internal error: unable to execute QEMU command 'transaction': Could not write [[qcow2]] header: [[No space left on device]]
 +
 +
=== Warning ===
 +
Aug 09 10:45:23 XXX libvirtd[14155]: 2020-08-09 06:45:23.902+0000: 14160: warning : qemuDomainObjBeginJobInternal:4933 : Cannot start job (modify, none) for domain YOUR_VM_NAM<E; current job is (modify, none) owned by (14159 [[remoteDispatchDomainBlockJobAbort]], 0 <null>) for (38551s, 0s)
 +
 +
== Others ==
 +
Sep 29 12:56:15 SERVER systemd[1]: [[libvirtd.service]]: Found left-over process 272973 ([[dnsmasq]]) in control group while starting unit. Ignoring.
  
 
== Related commands ==
 
== Related commands ==
* <code>[[systemctl]]</code>
+
* <code>[[journalctl -u libvirtd]]</code>
 
+
* [[Libvirt error messages in journald]]
  
 
== See also ==
 
== See also ==
 +
* {{virsh}}
 
* {{libvirtd}}
 
* {{libvirtd}}
 
* {{KVM}}
 
* {{KVM}}

Latest revision as of 06:27, 22 October 2020

/var/log/libvirt/qemu/

Configuration[edit]

/etc/libvirt/libvirtd.conf
#log_level = 3
#log_outputs="3:syslog:libvirtd"

Logs[edit]

Error[edit]

Jun 02 10:18:44 SERVER libvirtd[14155]: 2020-07-02 06:18:44.477+0000: 14157: error : virStorageFileReportBrokenChain:431 : Cannot access storage file '/path/to/file.qcow2' (as uid:64055, gid:116): No such file or directory
Oct 20 00:12:58 SERVER libvirtd[2287]: 2020-10-21 20:12:58.730+0000: 2341: error : virDomainSnapshotDefAssignExternalNames:484 : unsupported configuration: source for disk 'hda' is not a regular file; refusing to generate external snapshot name
Sep 29 12:18:58 SERVER libvirtd[3493964]: Failed to open file '/sys/class/net/veth764c6e0/operstate': No such file or directory

libvirtd[14189]: 2019-11-21 15:08:13.035+0000: 14192: error : qemuDomainBlockCommit:17568 : invalid argument: top '/path/to/file/VM_NAME.qcow2' in chain for 'hda' has no backing file

Jul 01 20:29:54 XXXX libvirtd[2243]: 2020-07-01 16:29:54.441+0000: 3788: error : qemuDomainObjBeginJobInternal:4945 : Timed out during operation: cannot acquire state change lock (held by remoteDispatchDomainBlockJobAbort)
libvirtd[14155]: 2020-07-21 07:20:59.032+0000: 14155: error : qemuMonitorIO:719 : internal error: End of file from qemu monitor
Sep 15 19:28:32 XXX libvirtd[2287]: 2020-09-15 15:28:32.969+0000: 2342: error : qemuMonitorJSONCheckError:392 : internal error: unable to execute QEMU command 'transaction': Could not write qcow2 header: No space left on device

Warning[edit]

Aug 09 10:45:23 XXX libvirtd[14155]: 2020-08-09 06:45:23.902+0000: 14160: warning : qemuDomainObjBeginJobInternal:4933 : Cannot start job (modify, none) for domain YOUR_VM_NAM<E; current job is (modify, none) owned by (14159 remoteDispatchDomainBlockJobAbort, 0 <null>) for (38551s, 0s)

Others[edit]

Sep 29 12:56:15 SERVER systemd[1]: libvirtd.service: Found left-over process 272973 (dnsmasq) in control group while starting unit. Ignoring.

Related commands[edit]

See also[edit]

Advertising: