'Open vSwitch database connection failure

I recently installed, open vswitch to use it in gns3 but when I open the console on solar PuTTY I get those errors:

2022-03-08T14:19:06Z|00001|fatal_signal|WARN|could not unlink "/var/run/openvswi tch/db.sock" (No such file or directory)

2022-03-08T14:19:06Z|00002|stream_unix|ERR|/var/run/openvswitch/db.sock: binding failed: No such file or directory 2022-03-08T14:19:06Z|00003|ovsdb_jsonrpc_server|ERR|punix:/var/run/openvswitch/d b.sock: listen failed: No such file or directory 2022-03-08T14:19:06Z|00004|fatal_signal|WARN|could not unlink "/var/run/openvswi tch/ovsdb-server.66.ctl" (No such file or directory) 2022-03-08T14:19:06Z|00005|stream_unix|ERR|/var/run/openvswitch/ovsdb-server.66. ctl: binding failed: No such file or directory ovsdb-server: /var/run/openvswitch/ovsdb-server.66.ctl: could not initialize con trol socket (No such file or directory) 2022-03-08T14:19:06Z|00001|fatal_signal|WARN|could not unlink "/var/run/openvswi tch/ovs-vswitchd.68.ctl" (No such file or directory) 2022-03-08T14:19:06Z|00002|stream_unix|ERR|/var/run/openvswitch/ovs-vswitchd.68. ctl: binding failed: No such file or directory ovs-vswitchd: /var/run/openvswitch/ovs-vswitchd.68.ctl: could not initialize con trol socket (No such file or directory) ip: ioctl 0x8913 failed: No such device ip: ioctl 0x8913 failed: No such device ip: ioctl 0x8913 failed: No such device ip: ioctl 0x8913 failed: No such device

and when i tab "ovs-vsctl show" i get this error : ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source