rpcbind 启动报错

-- The result is dependency.
Dec 25 15:37:52 wuliuyun002 systemd[1]: Job rpcbind.service/start failed with result 'dependency'.
Dec 25 15:37:52 wuliuyun002 polkitd[1213]: Unregistered Authentication Agent for unix-process:3638:1295447 (system bus name :1.80, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Dec 25 15:37:55 wuliuyun002 polkitd[1213]: Registered Authentication Agent for unix-process:3644:1295665 (system bus name :1.81 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, 
Dec 25 15:37:55 wuliuyun002 systemd[1]: rpcbind.socket failed to listen on sockets: Address family not supported by protocol
Dec 25 15:37:55 wuliuyun002 systemd[1]: Failed to listen on RPCbind Server Activation Socket.
-- Subject: Unit rpcbind.socket has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit rpcbind.socket has failed.
-- 
-- The result is failed.
Dec 25 15:37:55 wuliuyun002 systemd[1]: Dependency failed for RPC bind service.
-- Subject: Unit rpcbind.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit rpcbind.service has failed.
-- 
-- The result is dependency.
Dec 25 15:37:55 wuliuyun002 systemd[1]: Job rpcbind.service/start failed with result 'dependency'.
Dec 25 15:37:55 wuliuyun002 polkitd[1213]: Unregistered Authentication Agent for unix-process:3644:1295665 (system bus name :1.81, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)

解决办法

 修改为 0 执行命令sysctl -p  后 启动rpcbind服务即可

原文地址:https://www.cnblogs.com/caonw/p/12097088.html