---
title: 启动OVS过程提示ovs-ctl command not found的解决方法
description: "输入命令ovs-ctl start，提示“ovs-ctl command not found”。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengcpfs/ecosystemEnable/Docker/kunpengcontainer_06_0041.html
sourcePath: /source/zh/kunpengcpfs/ecosystemEnable/Docker/kunpengcontainer_06_0041.html
indexId: 29e3aefcefb99bd5ee448695b14d4382399373c946cf422f5861c88c207d7b5475
---
# 启动OVS过程提示ovs-ctl command not found的解决方法

#### 问题现象描述

输入命令ovs-ctl start，提示“ovs-ctl command not found”。


#### 关键过程、根本原因分析

未设置工具路径至环境变量。


#### 结论、解决方案及效果

1. 确认Open vSwitch安装路径，例如“/usr/local/share”。
2. 设置环境变量。

```
$ export PATH=$PATH:/usr/local/share/openvswitch/scripts
```


3. 重新启动OVS组件。

```
$ ovs-ctl start
```
