<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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).<div><br></div><div>Or you could just switch which port POX listens to from 6633 to something else...</div><div><a href="https://openflow.stanford.edu/display/ONL/POX+Wiki#POXWiki-HowcanIchangetheOpenFlowportfrom6633">https://openflow.stanford.edu/display/ONL/POX+Wiki#POXWiki-HowcanIchangetheOpenFlowportfrom6633</a></div><div><br></div><div>-- Murphy</div><div><br><div><div>On May 3, 2013, at 9:18 AM, Arturo Martín wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div style="">Hi all,</div><div style=""><br></div><div style="">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: </div>
<div><br></div><div><i>root@host:/home/myuser/pox# ./pox.py forwarding.l2_learning</i></div><div><i>POX 0.1.0 (betta) / Copyright 2011-2013 James McCauley, et al.</i></div><div><i>INFO:core:POX 0.1.0 (betta) is up.</i></div>
<div><i>Task <OpenFlow_01_Task/tid1> caused exception and was de-scheduled</i></div><div><i>Traceback (most recent call last):</i></div><div><i> File "/home/myuser/pox/pox/lib/recoco/recoco.py", line 276, in cycle</i></div>
<div><i> rv = t.execute()</i></div><div><i> File "/home/myuser/pox/pox/lib/recoco/recoco.py", line 94, in execute</i></div><div><i> return self.gen.send(v)</i></div><div><i> File "/home/myuser/pox/pox/openflow/of_01.py", line 842, in run</i></div>
<div><i> listener.bind((self.address, self.port))</i></div><div><i> File "/usr/lib/python2.7/socket.py", line 224, in meth</i></div><div><i> return getattr(self._sock,name)(*args)</i></div><div><i>error: [Errno 98] Address already in use</i></div>
<div><i><br></i></div><div style="">In ubuntu 11.04 shows:</div><div style=""><br></div><div style=""><div><i>root@host:/home/myuser/pox# ./pox.py forwarding.l2_learning</i></div><div><i>POX 0.0.0 / Copyright 2011 James McCauley</i></div>
<div><i>DEBUG:core:POX 0.0.0 going up...</i></div><div><i>DEBUG:core:Running on CPython (2.6.5/Oct 1 2012 22:04:36)</i></div><div><i>INFO:core:POX 0.0.0 is up.</i></div><div><i>This program comes with ABSOLUTELY NO WARRANTY. This program is free software,</i></div>
<div><i>and you are welcome to redistribute it under certain conditions.</i></div><div><i>Type 'help(pox.license)' for details.</i></div><div><i>DEBUG:openflow.of_01:Listening for connections on <a href="http://0.0.0.0:6633/">0.0.0.0:6633</a></i></div>
<div><i>Ready.</i></div><div><i>POX> </i></div><div><i><br></i></div><div style=""><br></div></div><div style="">Please, could you help me with that? Any idea about this happen?</div><div style=""><br></div><div style="">Many thanks in advance.</div>
<div style=""><br></div><div style="">Kind regards.</div><br></div>
</blockquote></div><br></div></body></html>