[Linux]NetworkManager and the nmcli command return a 'symbol lookup error' in RHEL 7

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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值