Hi,

Can you verify there is no any other process using OpenFlow port?

To use multiple controller in mininet, you need to create two controller
object in mininet script.
ref: https://github.com/mininet/mininet/blob/master/examples/controllers.py

https://github.com/mininet/mininet/blob/master/examples/controllers2.py
<https://github.com/mininet/mininet/blob/master/examples/controllers2.py>


--Yi


2017-05-16 3:50 GMT-07:00 <tanvir.ulhu...@data61.csiro.au>:

> Hi Yi
>
>
>
> ​Thanks for your update. I have also noticed that I have to declare remote
> controller to ryu using mininet topology. But, previously, six months back,
> I did not face this type of problem. Ryu was working perfectly without this
> type of declaration.
>
>
> to start mininet topology, I use the following,
>
> sudo python filename.py
>
>
> 1. do you know how I can get rid of this problem?
>
> 2. if I want to use multiple controller in the same mininet topology, how
> I have to declare?
>
>
>
>
> Thanks,
>
> -Tanvir
>
>
>
>
>
> ------------------------------
> *From:* Yi Tseng <a86487...@gmail.com>
> *Sent:* Tuesday, 16 May 2017 4:45 PM
> *To:* Ul Huque, Tanvir (Data61, Eveleigh ATP)
> *Cc:* ryu-devel
> *Subject:* Re: [Ryu-devel] ryu controller does not start
>
> Hi
>
> The default controller is enabled, it will use port 665(3)3, and you can't
> start Ryu controller.
>
> To disable it, just set the remote controller.
>
> May I ask how you start your mininet topology?
>
> --Yi
>
> 2017-05-15 15:02 GMT-07:00 <tanvir.ulhu...@data61.csiro.au>:
>
>> Hi
>>
>>
>> Thanks for your reply :)
>>
>> No.
>> 1. Why i have to disable it ?
>> 2. How can i do it ?
>>
>> Thanks
>>
>> Sent from OWA on Android
>> ------------------------------
>> *From:* Yi Tseng <a86487...@gmail.com>
>> *Sent:* Tuesday, 16 May 2017 4:05:24 AM
>>
>> *To:* Ul Huque, Tanvir (Data61, Eveleigh ATP)
>> *Cc:* ryu-devel
>> *Subject:* Re: [Ryu-devel] ryu controller does not start
>>
>> Sorry for late reply,
>>
>> have you disabled the default controller from mininet ?
>>
>> 2017-05-08 15:06 GMT-07:00 <tanvir.ulhu...@data61.csiro.au>:
>>
>>> Yes. But why ?
>>>
>>> Thanks,
>>> - Tanvir
>>>
>>> Sent from OWA on Android
>>> ------------------------------
>>> *From:* Yi Tseng <a86487...@gmail.com>
>>> *Sent:* Tuesday, 9 May 2017 6:52:33 AM
>>> *To:* Ul Huque, Tanvir (Data61, Eveleigh ATP)
>>> *Cc:* ryu-devel
>>>
>>> *Subject:* Re: [Ryu-devel] ryu controller does not start
>>>
>>> Hi,
>>>
>>> Are you also using mininet?
>>>
>>> --Yi
>>>
>>> 2017-05-07 22:15 GMT-07:00 <tanvir.ulhu...@data61.csiro.au>:
>>>
>>>> Hi Fujimoto
>>>>
>>>>
>>>> unfortunately, it is working in my laptop. I think the problem is in
>>>> OS. Because I am using ubuntu 16.04. Let me see to downgrade it.
>>>>
>>>>
>>>> Thanks
>>>>
>>>> -Tanvir
>>>> ------------------------------
>>>> *From:* Fujimoto Satoshi <satoshi.fujimo...@gmail.com>
>>>> *Sent:* Monday, 8 May 2017 3:02 PM
>>>> *To:* Ul Huque, Tanvir (Data61, Eveleigh ATP);
>>>> ryu-devel@lists.sourceforge.net
>>>> *Subject:* Re: [Ryu-devel] ryu controller does not start
>>>>
>>>>
>>>> Hi, Tanvir
>>>>
>>>>
>>>> It seems to that there is another process using port 6653 or 6633.
>>>> Please run:
>>>>
>>>>         netstat -nltp | grep 6633
>>>>
>>>>         netstat -nltp | grep 6653
>>>> to see what process is using the port.
>>>>
>>>> Thanks,
>>>> Fujimoto
>>>>
>>>>
>>>> On 2017年05月04日 15:52, tanvir.ulhu...@data61.csiro.au wrote:
>>>>
>>>>
>>>> Hi All
>>>>
>>>>
>>>> Whenever I run Ryu, I get the following error message,
>>>>
>>>>
>>>> hub: uncaught exception: Traceback (most recent call last):
>>>>   File "/usr/local/lib/python2.7/dist-packages/ryu/lib/hub.py", line
>>>> 54, in _launch
>>>>     return func(*args, **kwargs)
>>>>   File 
>>>> "/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py",
>>>> line 120, in server_loop
>>>>     datapath_connection_factory)
>>>>   File "/usr/local/lib/python2.7/dist-packages/ryu/lib/hub.py", line
>>>> 117, in __init__
>>>>     self.server = eventlet.listen(listen_info)
>>>>   File "/usr/local/lib/python2.7/dist-packages/eventlet/convenience.py",
>>>> line 43, in listen
>>>>     sock.bind(addr)
>>>>   File "/usr/lib/python2.7/socket.py", line 224, in meth
>>>>     return getattr(self._sock,name)(*args)
>>>> error: [Errno 98] Address already in use
>>>>
>>>>
>>>>
>>>> I know that it looks like a common.  Now to get rid of that problem, I
>>>> used the following command,
>>>>
>>>> tanvir@tanvir-Latitude-E7450:~/ryu/ryu/app$ ps -ef | grep ryu
>>>> tanvir    5804  2851  0 16:48 pts/10   00:00:00 grep --color=auto ryu
>>>> tanvir@tanvir-Latitude-E7450:~/ryu/ryu/app$
>>>>
>>>> But, still I am getting the same error message. Could you please help
>>>> me to get rid of this problem?​
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Check out the vibrant tech community on one of the world's most
>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Ryu-devel mailing 
>>>> listRyu-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/ryu-devel
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------
>>>> ------------------
>>>> Check out the vibrant tech community on one of the world's most
>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>> _______________________________________________
>>>> Ryu-devel mailing list
>>>> Ryu-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>>>
>>>>
>>>
>>>
>>> --
>>> Yi Tseng (a.k.a Takeshi)
>>> Taiwan National Chiao Tung University
>>> Department of Computer Science
>>> W2CNLab
>>>
>>> https://takeshi.tw
>>>
>>
>>
>>
>> --
>> Yi Tseng (a.k.a Takeshi)
>> Taiwan National Chiao Tung University
>> Department of Computer Science
>> W2CNLab
>>
>> https://takeshi.tw
>>
>
>
>
> --
> Yi Tseng (a.k.a Takeshi)
> Taiwan National Chiao Tung University
> Department of Computer Science
> W2CNLab
>
> https://takeshi.tw
>



-- 
Yi Tseng (a.k.a Takeshi)
Taiwan National Chiao Tung University
Department of Computer Science
W2CNLab

https://takeshi.tw
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to