Failed to Start virt-manager
Symptom
The message "Error polling connection 'qemu:///system': internal error: Socket 6378 can't be handled (max socket is 4095)" is displayed when the Virtual Machine Manager is started.

Key Process and Cause Analysis
The problem is caused by the libvirt-4.5.0 code bug.
Conclusion and Solution
Upgrade the libvirt version to libvirt-4.7.0 or higher, or modify the libvirt-4.5.0 source code and recompile it. This section uses upgrade to libvirt-5.6.0 as an example.
- Install the dependencies.
yum -y install yum-utils rpm-build
- Download the source code RPM package.
wget https://libvirt.org/sources/libvirt-5.6.0-1.fc30.src.rpm
This section uses libvirt-5.6.0 as an example. This bug has been fixed in libvirt-4.7.0.
- Perform the compilation and installation.
- Install the src.rpm source package.
rpm -i libvirt-5.6.0-1.fc30.src.rpm
- Generate an RPM package.
cd /root/rpmbuild/SPECS/ yum-builddep -y libvirt.spec rpmbuild -ba libvirt.spec
- Install the RPM package.
cd /root/rpmbuild/RPMS/aarch64/ yum -y install *.rpm
- Restart the libvirtd service.
systemctl daemon-reload systemctl restart libvirtd
- Install the src.rpm source package.
Parent topic: KVM Virtualization