Portal:Wicked/Troubleshooting

跳转到:导航搜索

故障排除

  • 如果您在使用 Wicked 时遇到问题,并想尝试调试它,启用调试输出并重启服务如下,应该是帮助诊断问题的第一步
 # enable debugging, applied to wickedd*.service as well as to wicked.service aka network.service
 sed -e 's/^WICKED_DEBUG=.*/WICKED_DEBUG=all/g' -i /etc/sysconfig/network/config
 # restart the daemons to apply the debug config in the daemons (wickedd* services) 
 systemctl restart wickedd
 # use "--debug all" for direct wicked calls
 wicked --debug all ifup all
  • 如果客户端日志没有指向可能的错误,您可以使用 `journalctl` 自己检查服务日志
 journalctl -b -o short-precise > journal.log
 # an initial grep for "wicked" is a place to start