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@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@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
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to