我要评分
获取效率
正确性
完整性
易理解

"ovs-ctl command not found" Displayed During OVS Startup

Symptom

When the ovs-ctl start command is run, the message "ovs-ctl command not found" is displayed.

Key Process and Cause Analysis

The tool path is not added to the environment variables.

Conclusion and Solution

  1. Check the Open vSwitch installation path, for example, /usr/local/share.
  2. Configure environment variables.
    $ export PATH=$PATH:/usr/local/share/openvswitch/scripts
  3. Restart the OVS component.
    $ ovs-ctl start