On Jun 14, 2013, at 9:48 AM, Arturo Martín wrote: > I have tried that, but the problem keeps.
I am wondering if this is somehow an IPv6 problem. Can you: 1) send the output of "netstat -na" 2) Try "./pox.py openflow.of_01 --address=w.x.y.z" where w.x.y.z is the IPv4 address of the local interface you want POX to listen on? > This command only change the port in wich POX listen? How I can after > changing that an forwarding.l2_learning program? I think the answer you're looking for is that you just add it on to the commandline: ./pox.py openflow.of_01 --port=7890 forwarding.l2_learning > Many thanks Murphy. > > > 2013/6/7 Murphy McCauley <[email protected]> > 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. > > > > > -- > Arturo.
