It is much cleaner if you create .deb packages and install those instead of using make and make install. I have been running the git master version of OVS on mininet 2.1 without issues that way. Follow the instructions in the INSTALL.Debian file from the top-level directory in the tree.

HTH,
-Lori

On 11/15/13 5:06 AM, Flavio Castro wrote:

---------- Forwarded message ----------
From: *Flavio Castro* <castro.flavi...@gmail.com <mailto:castro.flavi...@gmail.com>>
Date: 2013/11/15
Subject: Re: [ovs-discuss] Mininet + ovs 2.0
To: Justin Pettit <jpet...@nicira.com <mailto:jpet...@nicira.com>>


Thank you for the help!

So yes, conf.db exists.

And it also does exist two processes called ovsdb-server and ovs-vswitchd.

They are true. But I am still getting this error:
____________________________________________---
2013-1115T03:04:29Z|00001|reconnect|WARN|unix:/usr/local/var/run/openvswitch/db.sock: connection attempt failed (No such file or directory) ovs-vsctl: unix:/usr/local/var/run/openvswitch/db.sock: database connection failed (No such file or directory)
ovs-vsctl exited with code 1
*** Error connecting to ovs-db with ovs-vsctl
Make sure that Open vSwitch is installed, that ovsdb-server is running, and that
"ovs-vsctl show" works correctly.
You may wish to try "service openvswitch-switch start".
_____________________________________________

Thanks again, the problem is not bottering me anymore, but I would like to understand it anyway.


Att,

Flávio Castro Jr.
Aspirante a Engenheiro de Redes de Comunicação
Universidade de Brasilia
0(55)(61) 9511-9999


2013/11/14 Justin Pettit <jpet...@nicira.com <mailto:jpet...@nicira.com>>

    Here are the things I would check on reboot:

            - Does "/usr/local/etc/openvswitch/conf.db" exist?
            - Are ovsdb-server and ovs-vswitchd running?

    Both of those things should be true.  Looking at your workaround,
    you just recreated your database and manually started the daemons.
     Neither of those should be necessary.

    --Justin


    On Nov 14, 2013, at 5:13 PM, Flavio Castro
    <castro.flavi...@gmail.com <mailto:castro.flavi...@gmail.com>> wrote:

    > I guess so. Anyway I kinda solved it, I don't understand how I
    solved.
    >
    > I posted it here.
    
http://networkerjr.wordpress.com/2013/11/14/setting-up-openvswitch-2-0-mininet-2-1/
    >
    > If you can explain to me I will be grateful.
    >
    > Att,
    >
    > Flávio Castro Jr.
    > Aspirante a Engenheiro de Redes de Comunicação
    > Universidade de Brasilia
    > 0(55)(61) 9511-9999
    >
    >
    > 2013/11/14 Jian Qiu <sword...@gmail.com <mailto:sword...@gmail.com>>
    > It seems your ovs services, i.e. ovs-vswitchd, ovs-db, etc, were
    not running. You should start these services before using ovs-vsctl.
    >
    >
    > On Fri, Nov 15, 2013 at 2:07 AM, Flavio Castro
    <castro.flavi...@gmail.com <mailto:castro.flavi...@gmail.com>> wrote:
    > Hi,
    >
    > I am trying to run the OVS on mininet 2.1.
    >
    > I've installed the 1.10 version and it worked fine testing with
    commands such as  sudo mn --topo linear,4 --mac --switch ovsk
    --controller remote
    >
    > After rebooting, any ovs-vsctl commands do not work, they
    apparently never stop. So the mininet can't create any Vswitch.
    >
    > I've tried to update the ovs to version 2.0, but nothing changed.
    >
    > Anyone knows what is going on?
    >
    > Att,
    >
    > Flávio Castro Jr.
    > Aspirante a Engenheiro de Redes de Comunicação
    > Universidade de Brasilia
    > 0(55)(61) 9511-9999
    >
    > _______________________________________________
    > discuss mailing list
    > discuss@openvswitch.org <mailto:discuss@openvswitch.org>
    > http://openvswitch.org/mailman/listinfo/discuss
    >
    >
    >
    > _______________________________________________
    > discuss mailing list
    > discuss@openvswitch.org <mailto:discuss@openvswitch.org>
    > http://openvswitch.org/mailman/listinfo/discuss





_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to