问题描述:

最近服务器上ovs突然崩溃掉,ovs-vsctl查看时:

|00001|reconnect|WARN|unix:/var/run/openvswitch/db.sock: connection attempt failed (No such file or directory)

ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)

解决办法:

先杀掉ovsdb进程,然后重启服务。

sudo killall ovsdb-server

sudo service openvswitch-switch force-reload-kmod