[ovs-discuss] Difference seen in OVSDB initialization with & without DPDK

Shankari Vaidyalingam shankari.v.2014 at gmail.com
Tue Jan 6 18:46:13 UTC 2015


Hi

The excerpt below was due to a wrong copy paste of the commands at the
command prompt which gave the error message: "No such file or directory".

The error which I had mentioned in my previous message was:

controller at controller-Latitude-E5440:~openvswitch-2.3.1$ sudo ovsdb-tool
create /usr/local/etc/openvswitch/conf.db vswitchd/vswitch.ovsschema
controller at controller-Latitude-E5440:~openvswitch-2.3.1$ sudo ovsdb-server
/usr/local/etc/openvswitch/conf.db
--remote=punix:/usr/local/var/run/openvswitch/db.sock
--remote=db:Open_vSwitch,Open_vSwitch,manager_options --pidfile --detach
--log-file
2015-01-05T07:11:19Z|00001|vlog|INFO|opened log file
/usr/local/var/log/openvswitch/ovsdb-server.log



controller at controller-Latitude-E5440:~openvswitch-2.3.1$ sudo ovs-vsctl
--no-wait init

 I'm executing here 226
 Can proceed further
 About to connect to the dataabase 239
 ovsdb_idl_is_alive(idl) = 1
 ==== Entering the database section =====
 DBG: s->pstream is NULL
 DBG: s->stream is non NULL
ovs-vsctl: unix:/usr/local/var/run/openvswitch/db.sock: database connection
failed (Connection refused)

Regards
Shankari.V

On Tue, Jan 6, 2015 at 10:27 PM, Ben Pfaff <blp at nicira.com> wrote:

> Here's an excerpt from your "with DPDK" log. It looks like you typoed
> a command and therefore ovsdb-server didn't start.
>
> controller at controller-Latitude-E5440:~openvswitch-2.3.1$
> controller at controller-Latitude-E5440:~openvswitch-2.3.1$ sudo
> ovsdb-server /usr/local/etc/openvswitch/conf.db
> --remote=punix:/usr/local/var/run/openvswitch/db.sock
> --remote=db:Open_vSwitch,Open_vSwitch,manager_options --pidfile
> --detach --log-file
> bash: controller at controller-Latitude-E5440:~openvswitch-2.3.1$: No
> such file or directory
>
> On Mon, Jan 5, 2015 at 4:11 PM, Shankari Vaidyalingam
> <shankari.v.2014 at gmail.com> wrote:
> > Hi,
> >
> > I tried executing the steps for initializing the OVSDB-server and the OVS
> > given in the below link:
> >
> >
> networkstatic.net/installing-and-configuring-openvswitch-on-ubuntu-12-04-precise-pangolin/
> >
> > I'm using Ubuntu Trusty tahr, OVS version 2.3.1
> >
> > I was able to get the OVS working for the build which I compiled without
> > DPDK.
> > But with DPDK_BUILD configured in the Makefile the build produced
> "Database
> > connection refused" error and the OVS was not getting started because of
> > this error. Kindly help me in resolving this issue.
> >
> > Enclosed the logs separately for "without DPDK" build and for "With DPDK"
> > build
> >
> > Regards,
> > Shankari.V
> >
> > _______________________________________________
> > discuss mailing list
> > discuss at openvswitch.org
> > http://openvswitch.org/mailman/listinfo/discuss
> >
>
>
>
> --
> "I don't normally do acked-by's.  I think it's my way of avoiding
> getting blamed when it all blows up."               Andrew Morton
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150107/2046c239/attachment-0002.html>


More information about the discuss mailing list