Translated message

A translation of this page exists in English.

为什么 'NetworkManager-wait-online.service' 启动失败并带有错误 'code=exited, status=2/INVALIDARGUMENT' ?

Solution In Progress - Updated -

Issue

    Jan  5 11:36:58 localhost nm-online: Error: Could not create NMClient object: Timeout was reached.
    Jan  5 11:36:58 localhost systemd: NetworkManager-wait-online.service: main process exited, code=exited, status=2/INVALIDARGUMENT
    Jan  5 11:36:58 localhost systemd: Failed to start Network Manager Wait Online.
    Jan  5 11:36:58 localhost systemd: Unit NetworkManager-wait-online.service entered failed state.
    Jan  5 11:36:58 localhost systemd: NetworkManager-wait-online.service failed.
    Jan  5 11:36:58 localhost systemd: Starting LSB: Bring up/down networking...
    Jan  5 11:41:58 localhost systemd: network.service start operation timed out. Terminating.
    Jan  5 11:41:58 localhost systemd: Failed to start LSB: Bring up/down networking.
    Jan  5 11:41:58 localhost systemd: Unit network.service entered failed state.
    Jan  5 11:41:58 localhost systemd: network.service failed.
  • 如果设置了 NM_CONTROLLED=no,则不会发生相同的问题。
  • 在将内核升级到最新的 RHEL 7.3 版本的 kernel-3.10.0-514.2.2.el7 后开始出现这个问题,使用较旧的 kernel-3.10.0-327.el7 引导系统不会发现这个问题,系统可以正常引导。

Environment

  • kernel-3.10.0-514.2.2.el7
  • NetworkManager-1.4.0-13.el7_3.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content