[ovs-discuss] OVS configure problem| ovs-vsctl database connection failed (No such file or directory)

Gurucharan Shetty shettyg at nicira.com
Wed Mar 25 17:49:05 UTC 2015


Run 'find / -name ovs-vsctl'. Do you see two of them?

On Wed, Mar 25, 2015 at 1:38 AM,  <jacywang at mail.ustc.edu.cn> wrote:
> Hello, everyone.
>
> I'm new to OVS, and I installed OVS2.3.1 in my ubuntu12.04LTS system. I
> followed all the instructions in
> https://github.com/openvswitch/ovs/blob/master/INSTALL.Debian.md. But the
> problem is the server is working with var/run/openvswitch/db.sock
> by default(as following)
>
> root at mininet:/home/mininet# ps -ef | grep ovs
> root      2867     1  0 16:07 ?        00:00:00 ovsdb-server: monitoring pid
> 2868     (healthy)
> root      2868  2867  0 16:07 ?        00:00:00 ovsdb-server
> /etc/openvswitch/conf.db -vconsole:emer -vsyslog:err -vfile:info
> --remote=punix:/var/run/openvswitch/db.sock
> --private-key=db:Open_vSwitch,SSL,private_key
> --certificate=db:Open_vSwitch,SSL,certificate
> --bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert --no-chdir
> --log-file=/var/log/openvswitch/ovsdb-server.log
> --pidfile=/var/run/openvswitch/ovsdb-server.pid --detach --monitor
> root      2872     1  0 16:07 ?        00:00:00 ovs-vswitchd: monitoring pid
> 2873 (healthy)
> root      2873  2872  0 16:07 ?        00:00:00 ovs-vswitchd
> unix:/var/run/openvswitch/db.sock -vconsole:emer -vsyslog:err -vfile:info
> --mlockall --no-chdir --log-file=/var/log/openvswitch/ovs-vswitchd.log
> --pidfile=/var/run/openvswitch/ovs-vswitchd.pid --detach --monitor
>
> while ovs-vsctl command is always trying to connect with
> /usr/local/var/run/openvswitch/db.sock, thus raising the following error:
> root at mininet:/home/mininet# ovs-vsctl show
> ovs-vsctl: unix:/usr/local/var/run/openvswitch/db.sock: database connection
> failed (No such file or directory)
>
> Does anyone know how to configure this?
>
> Thanks.
>
> Jacy
> 2015.3.25
>
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>



More information about the discuss mailing list