Recently, I ran into a problem when starting NetworkManager service in CentOS 7.
I checked the /var/log/message
and it contains the following lines
systemd: Starting Network Manager...
NetworkManager: /usr/sbin/NetworkManager: symbol lookup error: /lib64/libgudev-1.0.so.0: undefined symbol: g_type_class_adjust_private_offset
systemd: NetworkManager.service: main process exited, code=exited, status=127/n/a
systemd: Failed to start Network Manager.
systemd: Unit NetworkManager.service entered failed state.
systemd: NetworkManager.service failed.
I googled the error message, and found the official solution from Redhat. The root cause is as it stated
The RHEL 7.0 release of NetworkManager, NetworkManager-0.9.9.1-13.git20140326.4dba720.el7, is incompatible with the RHEL 7.1 release of systemd, systemd-208-20.el7 or above.
They suggest Update NetworkManager to version 1.0 or above
.
But I found out that only update NetworkManager
won’t solve the problem, you also need to update the libgudev1-devel
package.