Hi Lori, It is working, as you suggested Thanks for the help. Thanks, Vivek
-----Original Message----- From: Lori Jakab [mailto:[email protected]] Sent: Thursday, November 28, 2013 3:08 PM To: Vivek Kumar (EPG); [email protected] Subject: Re: [ovs-discuss] ovs-vsctl gives run time error: (db.sock: connection failed) On 11/28/13 11:29 AM, Lori Jakab wrote: > Vivek, > > On 11/28/13 10:55 AM, Vivek Kumar (EPG) wrote: >> Hi All, >> We are trying to start OVS binaries in following order: >> >> 1. " openvswitch.ko" and "brcompat.ko" module are already inserted >> 2. Now, when we try to execute "*ovs-vsctl"***command it >> says***"...**.*db.sock: connection failed" >> >> Detailed log attached below. Are we missing something here? >> /******************************************************************** >> ********** >> >> *ovsdb-tool create* >> /home/ramanujp/del_me/openvswitch-1.9.3/etc/openvswitch/*conf.db* >> vswitchd/vswitch.ovsschema >> *./ovsdb-server* >> --remote=punix:/home/ramanujp/del_me/openvswitch-1.9.3/etc/openvswitc >> h/*db.sock* >> \ >> --remote=db:Open_vSwitch,Open_vSwitch,manager_options \ --pidfile >> --detach > > *Did you specify a '--prefix'*option to ./configure? db.sock should be > created in $PREFIX/var/run/openvswitch/db.sock, so if your prefix is > /home/ramanujp/del_me/openvswitch-1.9.3 you shoudl set punix to > /home/ramanujp/del_me/openvswitch-1.9.3/var/run/openvswitch/db.sock. > If you did not specify a --prefix option, try > /usr/local/var/run/openvswitch/db.sock Or, you can call ovs-vsctl with the "--db" option to specify a non-default database location. Either way, you can see in "man ovs-vsctl" which is the default DB path ovs-vsctl expects. -Lori _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
