我正在尝试使用 virt-manager 创建一个 VM。但是我明白了
Error starting network 'default': internal error: Child process (VIR_BRIDGE_NAME=virbr0 /usr/bin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper) unexpected exit status 2:
dnsmasq: failed to bind DHCP server socket: Address already in use
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 65, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 101, in tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 57, in newfn
ret = fn(self, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/object/network.py", line 69, in start
self._backend.create()
File "/usr/lib/python3.9/site-packages/libvirt.py", line 3463, in create
raise libvirtError('virNetworkCreate() failed')
libvirt.libvirtError: internal error: Child process (VIR_BRIDGE_NAME=virbr0 /usr/bin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper) unexpected exit status 2:
dnsmasq: failed to bind DHCP server socket: Address already in use
谁能帮我现在该怎么办。
也检查了
# journalctl -u libvirtd.service
-- Journal begins at Fri 2022-01-07 04:27:05 IST, ends at Sat 2022-01-08 11:10:46 IST. --
Jan 08 10:34:38 gauranga systemd[1]: Started Virtualization daemon.
Jan 08 11:03:20 gauranga dnsmasq[702843]: failed to bind DHCP server socket: Address already in use
Jan 08 11:03:20 gauranga dnsmasq[702843]: FAILED to start up
Jan 08 11:03:20 gauranga libvirtd[699713]: libvirt version: 7.9.0
Jan 08 11:03:20 gauranga libvirtd[699713]: hostname: gauranga
Jan 08 11:03:20 gauranga libvirtd[699713]: internal error: Child process (VIR_BRIDGE_NAME=virbr0 /usr/bin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf>
dnsmasq: failed to bind DHCP server socket: Address already in use
Jan 08 11:03:49 gauranga dnsmasq[702936]: failed to bind DHCP server socket: Address already in use
Jan 08 11:03:49 gauranga dnsmasq[702936]: FAILED to start up
Jan 08 11:03:49 gauranga libvirtd[699713]: internal error: Child process (VIR_BRIDGE_NAME=virbr0 /usr/bin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf>
dnsmasq: failed to bind DHCP server socket: Address already in use
Jan 08 11:04:10 gauranga dnsmasq[703015]: failed to bind DHCP server socket: Address already in use
Jan 08 11:04:10 gauranga dnsmasq[703015]: FAILED to start up
Jan 08 11:04:10 gauranga libvirtd[699713]: internal error: Child process (VIR_BRIDGE_NAME=virbr0 /usr/bin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf>
dnsmasq: failed to bind DHCP server socket: Address already in use