Open vSwitch database connection failure after rebooting

Srinidhi Srinivasaraghavan picture Srinidhi Srinivasaraghavan · Feb 13, 2015 · Viewed 35.9k times · Source

Each time after installing Open vSwitch successfully and rebooting, I get the following error. ovs-vsctl: unix:/usr/local/var/run/openvswitch/db.sock: database connection failed (no such file or directory). Does anyone know why the db.sock file goes missing?

Answer

Lucio Correia picture Lucio Correia · Oct 29, 2015

On a Fedora 22 this worked for me:

sudo /usr/share/openvswitch/scripts/ovs-ctl start