If it's giving you that same error, it really seems like something else is 
listening.  Can you try something like:

./pox.py openflow.of_01 --port=7890

?

-- Murphy

On Jun 7, 2013, at 9:14 AM, Arturo Martín wrote:

> Hi Murphy,
> 
> I am now sure that there is nothing listen on the 6633 port.
> 
> I have tried to reinstall pox with git clone http://github.com/noxrepo/pox 
> and then, when I invoke pox.py forwarding.l2_learning the system shows the 
> same errors messages. 
> 
> 
> I test this comamnd line in several host and the problem persist.
> 
> 
> Please, could you help me? 
> 
> 
> Many thanks in advance.
> 
> 
> 2013/5/4 Arturo Martín <[email protected]>
> Ok,
> 
> Thanks a lot Murphy. I will try it.
> 
> 
> 2013/5/3 Murphy McCauley <[email protected]>
> It appears that something else is listening on the same port as POX (6633).  
> You can use lsof to find it.  Or just check the process list for likely 
> candidates (other OpenFlow controllers or other instances of POX).
> 
> Or you could just switch which port POX listens to from 6633 to something 
> else...
> https://openflow.stanford.edu/display/ONL/POX+Wiki#POXWiki-HowcanIchangetheOpenFlowportfrom6633
> 
> -- Murphy
> 
> On May 3, 2013, at 9:18 AM, Arturo Martín wrote:
> 
>> Hi all,
>> 
>> I have updated into Ubuntu 12.10 recently and when I run the same program as 
>> into Ubuntu 11.04 (in wich works perfectly) shows the following error: 
>> 
>> root@host:/home/myuser/pox# ./pox.py forwarding.l2_learning
>> POX 0.1.0 (betta) / Copyright 2011-2013 James McCauley, et al.
>> INFO:core:POX 0.1.0 (betta) is up.
>> Task <OpenFlow_01_Task/tid1> caused exception and was de-scheduled
>> Traceback (most recent call last):
>>   File "/home/myuser/pox/pox/lib/recoco/recoco.py", line 276, in cycle
>>     rv = t.execute()
>>   File "/home/myuser/pox/pox/lib/recoco/recoco.py", line 94, in execute
>>     return self.gen.send(v)
>>   File "/home/myuser/pox/pox/openflow/of_01.py", line 842, in run
>>     listener.bind((self.address, self.port))
>>   File "/usr/lib/python2.7/socket.py", line 224, in meth
>>     return getattr(self._sock,name)(*args)
>> error: [Errno 98] Address already in use
>> 
>> In ubuntu 11.04 shows:
>> 
>> root@host:/home/myuser/pox# ./pox.py forwarding.l2_learning
>> POX 0.0.0 / Copyright 2011 James McCauley
>> DEBUG:core:POX 0.0.0 going up...
>> DEBUG:core:Running on CPython (2.6.5/Oct 1 2012 22:04:36)
>> INFO:core:POX 0.0.0 is up.
>> This program comes with ABSOLUTELY NO WARRANTY.  This program is free 
>> software,
>> and you are welcome to redistribute it under certain conditions.
>> Type 'help(pox.license)' for details.
>> DEBUG:openflow.of_01:Listening for connections on 0.0.0.0:6633
>> Ready.
>> POX> 
>> 
>> 
>> Please, could you help me with that? Any idea about this happen?
>> 
>> Many thanks in advance.
>> 
>> Kind regards.
>> 
> 
> 
> 
> 
> -- 
> Arturo.
> 
> 
> 
> -- 
> Arturo.

Reply via email to