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

Ben Pfaff blp at ovn.org
Thu Sep 22 15:00:56 UTC 2016


On Thu, Sep 22, 2016 at 10:21:04AM +0200, Ashish Kurian wrote:
> After I installed OVS 2.5 on my machine and reboot it, I get this error
> when I try to start OVS. I could fix this by doing the following steps
> after every reboot, but I want to know if I can fix this permanently.
> 
> sudo 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
> 
> sudo ovs-vsctl --no-wait init
> 
> sudo ovs-vswitchd --pidfile --detach

It looks like you configured OVS to use /var/run/openvswitch/db.sock but
you started ovsdb-server to use a different socket name.



More information about the discuss mailing list