ovs-vsctl: unix:/usr/local/var/run/openvswitch/db.sock: database connection failed
2016-05-11 09:41
573 查看
重装好ovs后直接操作一切正常,但是重启虚拟机后会出现:
ovs-vsctl: unix:/usr/local/var/run/openvswitch/db.sock: database connection failed (No such file or directory)
ovs-vsctl exited with code 1
* Error connecting to ovs-db with ovs-vsctl
Make sure that Open vSwitch is installed, that ovsdb-server is running, and that
“ovs-vsctl show” works correctly.
You may wish to try “service openvswitch-switch start”.
无法正确添加ovs
原因是:ovs 需要 the ovsdb, ovs-vswitchd, ovs-vsctl, 但是关机后它们会默认关闭
所以解决方法是每次重新开机都运行(run as root):
ovs-vsctl: unix:/usr/local/var/run/openvswitch/db.sock: database connection failed (No such file or directory)
ovs-vsctl exited with code 1
* Error connecting to ovs-db with ovs-vsctl
Make sure that Open vSwitch is installed, that ovsdb-server is running, and that
“ovs-vsctl show” works correctly.
You may wish to try “service openvswitch-switch start”.
无法正确添加ovs
原因是:ovs 需要 the ovsdb, ovs-vswitchd, ovs-vsctl, 但是关机后它们会默认关闭
所以解决方法是每次重新开机都运行(run as root):
ovsdb-server --remote=punix:/usr/local/var/run/openvswitch/db.sock \ --remote=db:Open_vSwitch,Open_vSwitch,manager_options \ --private-key=db:Open_vSwitch,SSL,private_key \ --certificate=db:Open_vSwitch,SSL,certificate \ --bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert \ --pidfile --detach ovs-vsctl --no-wait init ovs-vswitchd --pidfile --detach
相关文章推荐
- (总结)密码破解之王:Ophcrack彩虹表(Rainbow Tables)原理详解(附:120G彩虹表下载)
- pthread_barrier_init,pthread_barrier_wait简介
- LightOJ 1282 - Leading and Trailing(快速幂取模)
- LightOJ 1236 - Pairs Forming LCM(唯一分解定理)
- Maven Failed
- INSTALL_FAILED_INSUFFICIENT_STORAGE apk安装失败
- Failed to install XXXX.apk on device '5358baa3': timeout
- AS中无法使用AIDL描述文件问题
- HDU2389 Rain on your Parade(HK模版)
- leetcode.220. Contains Duplicate III
- poj-1273 Drainage Ditches(最大流基础题)
- Ext.Panel 面板控件、 Ext.window.Window 窗口控件、 Ext.container.Viewport 布局控件
- APS.NET_MVC5学习笔记- 查询Details和Delete方法
- leetcode 182. Duplicate Emails
- 图像特效---Oilpaint油画滤镜
- 再以Circle类为直接基类,派生出一个Cylinder(圆柱体)类,再增加数据成员h(高),,以及求圆柱表面积的成员函数area和求圆柱体积的成员函数volume,实现需要的成员函数,并设计main
- TensorFlow人工智能入门教程之十三 RCNN 区域卷积网络(视频侦测分析人脸侦测区域检测 )
- http://www.cnblogs.com/kristain/articles/2033566.html
- int main(int argc,char* argv[]),int main(int argc,char** argv)
- HDU 4393 Throw nails