[ovs-discuss] ovs-vsctl gives run time error: (db.sock: connection failed)

Balaji P Balaji.P at freescale.com
Thu Nov 28 10:19:53 UTC 2013


Hi Vivek,

You can try below:

ovsdb-server /usr/local/etc/openvswitch/conf.db \
--remote=punix:/usr/local/var/run/openvswitch/db.sock \
--pidfile --detach --log-file

Regards,
Balaji.P

From: discuss-bounces at openvswitch.org [mailto:discuss-bounces at openvswitch.org] On Behalf Of Vivek Kumar (EPG)
Sent: Thursday, November 28, 2013 2:25 PM
To: discuss at openvswitch.org
Subject: [ovs-discuss] ovs-vsctl gives run time error: (db.sock: connection failed)

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/openvswitch/db.sock  \
                --remote=db:Open_vSwitch,Open_vSwitch,manager_options \
                                --pidfile --detach


# ./ovs-vsctl --no-wait init
1970-01-01T02:58:37Z|00002|stream_unix|WARN|/home/ramanujp/del_me/openvswitch-1.9.3/var/run/openvswitch/db.sock: connection failed (No )
1970-01-01T02:58:37Z|00003|reconnect|WARN|unix:/home/ramanujp/del_me/openvswitch-1.9.3/var/run/openvswitch/db.sock: connection attempt )
1970-01-01T02:58:38Z|00004|stream_unix|WARN|/home/ramanujp/del_me/openvswitch-1.9.3/var/run/openvswitch/db.sock: connection failed (No )
1970-01-01T02:58:38Z|00005|reconnect|WARN|unix:/home/ramanujp/del_me/openvswitch-1.9.3/var/run/openvswitch/db.sock: connection attempt )
1970-01-01T02:58:40Z|00006|stream_unix|WARN|/home/ramanujp/del_me/openvswitch-1.9.3/var/run/openvswitch/db.sock: connection failed (No )
1970-01-01T02:58:40Z|00007|reconnect|WARN|unix:/home/ramanujp/del_me/openvswitch-1.9.3/var/run/openvswitch/db.sock: connection attempt )
1970-01-01T02:58:44Z|00008|stream_unix|WARN|/home/ramanujp/del_me/openvswitch-1.9.3/var/run/openvswitch/db.sock: connection failed (No )
1970-01-01T02:58:44Z|00009|reconnect|WARN|unix:/home/ramanujp/del_me/openvswitch-1.9.3/var/run/openvswitch/db.sock: connection attempt )
.1970-01-01T02:58:48Z|00010|fatal_signal|WARN|terminating with signal 2 (Interrupt)
/****************************************************************

Thanks,
Vivek

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20131128/10b28ba6/attachment.html>


More information about the discuss mailing list