Discussion:
[pox-dev] You may have another controller running.
nibble nibble
2013-07-16 21:26:03 UTC
Permalink
Hi all,

When I am trying to start pox controller:

./pox.py samples.pretty_log forwarding.l2_learning


I got the error:
*POX 0.2.0 (carp) / Copyright 2011-2013 James McCauley, et al.
[core ] POX 0.2.0 (carp) is up.
[openflow.of_01 ] Error 98 while binding socket: Address already in
use
[openflow.of_01 ] You may have another controller running.
[openflow.of_01 ] Use openflow.of_01 --port=<port> to run POX on
another port.*


I am almost sure there is no other controller running, I even tried:

sudo killall controller
sudo mn -c

but they did not work
also using --port or port did not work. I got:
This component does not have a parameter named 'port'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/attachments/20130716/c84bd7c6/attachment.htm>
nibble nibble
2013-07-16 21:36:19 UTC
Permalink
Actually for --port, I got :
*POX 0.2.0 (carp) / Copyright 2011-2013 James McCauley, et al.
[core ] POX 0.2.0 (carp) is up.

*
and nothing else and controller is not working(installing rules ..)
Post by nibble nibble
Hi all,
./pox.py samples.pretty_log forwarding.l2_learning
*POX 0.2.0 (carp) / Copyright 2011-2013 James McCauley, et al.
[core ] POX 0.2.0 (carp) is up.
[openflow.of_01 ] Error 98 while binding socket: Address already
in use
[openflow.of_01 ] You may have another controller running.
[openflow.of_01 ] Use openflow.of_01 --port=<port> to run POX on
another port.*
sudo killall controller
sudo mn -c
but they did not work
This component does not have a parameter named 'port'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/attachments/20130716/3d226c70/attachment.htm>
Saurabh Agarwal
2013-07-16 21:42:38 UTC
Permalink
Try this:
sudo fuser -k 6633/tcp
It should kill all processes associated with the port 6633
Post by nibble nibble
*POX 0.2.0 (carp) / Copyright 2011-2013 James McCauley, et al.
[core ] POX 0.2.0 (carp) is up.
*
and nothing else and controller is not working(installing rules ..)
Post by nibble nibble
Hi all,
./pox.py samples.pretty_log forwarding.l2_learning
*POX 0.2.0 (carp) / Copyright 2011-2013 James McCauley, et al.
[core ] POX 0.2.0 (carp) is up.
[openflow.of_01 ] Error 98 while binding socket: Address already
in use
[openflow.of_01 ] You may have another controller running.
[openflow.of_01 ] Use openflow.of_01 --port=<port> to run POX on
another port.*
sudo killall controller
sudo mn -c
but they did not work
This component does not have a parameter named 'port'
--
Saurabh Agarwal
Department of Computer Science and Engineering
IIT Kharagpur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/attachments/20130716/1532f4a0/attachment.htm>
Murphy McCauley
2013-07-16 23:05:17 UTC
Permalink
You need to specify an alternate port and you need to instruct your switches to connect to that port instead of the original.

For example, to run on port 6634 instead of the default 6633 using Mininet, you might use commandlines like...

./pox.py openflow.of_01 --port=6634 forwarding.l2_learning

and

mn --controller=remote,ip=192.168.56.1,port=6634

-- Murphy
Post by nibble nibble
POX 0.2.0 (carp) / Copyright 2011-2013 James McCauley, et al.
[core ] POX 0.2.0 (carp) is up.
and nothing else and controller is not working(installing rules ..)
Hi all,
./pox.py samples.pretty_log forwarding.l2_learning
POX 0.2.0 (carp) / Copyright 2011-2013 James McCauley, et al.
[core ] POX 0.2.0 (carp) is up.
[openflow.of_01 ] Error 98 while binding socket: Address already in use
[openflow.of_01 ] You may have another controller running.
[openflow.of_01 ] Use openflow.of_01 --port=<port> to run POX on another port.
sudo killall controller
sudo mn -c
but they did not work
This component does not have a parameter named 'port'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/attachments/20130716/2c231bfa/attachment.htm>
Saurabh Agarwal
2013-07-16 21:42:38 UTC
Permalink
Try this:
sudo fuser -k 6633/tcp
It should kill all processes associated with the port 6633
Post by nibble nibble
*POX 0.2.0 (carp) / Copyright 2011-2013 James McCauley, et al.
[core ] POX 0.2.0 (carp) is up.
*
and nothing else and controller is not working(installing rules ..)
Post by nibble nibble
Hi all,
./pox.py samples.pretty_log forwarding.l2_learning
*POX 0.2.0 (carp) / Copyright 2011-2013 James McCauley, et al.
[core ] POX 0.2.0 (carp) is up.
[openflow.of_01 ] Error 98 while binding socket: Address already
in use
[openflow.of_01 ] You may have another controller running.
[openflow.of_01 ] Use openflow.of_01 --port=<port> to run POX on
another port.*
sudo killall controller
sudo mn -c
but they did not work
This component does not have a parameter named 'port'
--
Saurabh Agarwal
Department of Computer Science and Engineering
IIT Kharagpur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/attachments/20130716/1532f4a0/attachment-0002.htm>
Murphy McCauley
2013-07-16 23:05:17 UTC
Permalink
You need to specify an alternate port and you need to instruct your switches to connect to that port instead of the original.

For example, to run on port 6634 instead of the default 6633 using Mininet, you might use commandlines like...

./pox.py openflow.of_01 --port=6634 forwarding.l2_learning

and

mn --controller=remote,ip=192.168.56.1,port=6634

-- Murphy
Post by nibble nibble
POX 0.2.0 (carp) / Copyright 2011-2013 James McCauley, et al.
[core ] POX 0.2.0 (carp) is up.
and nothing else and controller is not working(installing rules ..)
Hi all,
./pox.py samples.pretty_log forwarding.l2_learning
POX 0.2.0 (carp) / Copyright 2011-2013 James McCauley, et al.
[core ] POX 0.2.0 (carp) is up.
[openflow.of_01 ] Error 98 while binding socket: Address already in use
[openflow.of_01 ] You may have another controller running.
[openflow.of_01 ] Use openflow.of_01 --port=<port> to run POX on another port.
sudo killall controller
sudo mn -c
but they did not work
This component does not have a parameter named 'port'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/attachments/20130716/2c231bfa/attachment-0002.htm>
Murphy McCauley
2013-07-16 23:08:04 UTC
Permalink
Post by nibble nibble
Hi all,
./pox.py samples.pretty_log forwarding.l2_learning
POX 0.2.0 (carp) / Copyright 2011-2013 James McCauley, et al.
[core ] POX 0.2.0 (carp) is up.
[openflow.of_01 ] Error 98 while binding socket: Address already in use
[openflow.of_01 ] You may have another controller running.
[openflow.of_01 ] Use openflow.of_01 --port=<port> to run POX on another port.
sudo killall controller
Okay, so you're not running the reference controller. What about another instance of POX?

You may be able to find this by looking at the output from px ax or whatever. Or follow Saurabh Agarwal's suggestion to just kill whatever is listening on port 6633.

-- Murphy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/attachments/20130716/e43f2526/attachment.htm>
nibble nibble
2013-07-16 21:26:03 UTC
Permalink
Hi all,

When I am trying to start pox controller:

./pox.py samples.pretty_log forwarding.l2_learning


I got the error:
*POX 0.2.0 (carp) / Copyright 2011-2013 James McCauley, et al.
[core ] POX 0.2.0 (carp) is up.
[openflow.of_01 ] Error 98 while binding socket: Address already in
use
[openflow.of_01 ] You may have another controller running.
[openflow.of_01 ] Use openflow.of_01 --port=<port> to run POX on
another port.*


I am almost sure there is no other controller running, I even tried:

sudo killall controller
sudo mn -c

but they did not work
also using --port or port did not work. I got:
This component does not have a parameter named 'port'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/attachments/20130716/c84bd7c6/attachment-0002.htm>
nibble nibble
2013-07-16 21:36:19 UTC
Permalink
Actually for --port, I got :
*POX 0.2.0 (carp) / Copyright 2011-2013 James McCauley, et al.
[core ] POX 0.2.0 (carp) is up.

*
and nothing else and controller is not working(installing rules ..)
Post by nibble nibble
Hi all,
./pox.py samples.pretty_log forwarding.l2_learning
*POX 0.2.0 (carp) / Copyright 2011-2013 James McCauley, et al.
[core ] POX 0.2.0 (carp) is up.
[openflow.of_01 ] Error 98 while binding socket: Address already
in use
[openflow.of_01 ] You may have another controller running.
[openflow.of_01 ] Use openflow.of_01 --port=<port> to run POX on
another port.*
sudo killall controller
sudo mn -c
but they did not work
This component does not have a parameter named 'port'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/attachments/20130716/3d226c70/attachment-0002.htm>
Murphy McCauley
2013-07-16 23:08:04 UTC
Permalink
Post by nibble nibble
Hi all,
./pox.py samples.pretty_log forwarding.l2_learning
POX 0.2.0 (carp) / Copyright 2011-2013 James McCauley, et al.
[core ] POX 0.2.0 (carp) is up.
[openflow.of_01 ] Error 98 while binding socket: Address already in use
[openflow.of_01 ] You may have another controller running.
[openflow.of_01 ] Use openflow.of_01 --port=<port> to run POX on another port.
sudo killall controller
Okay, so you're not running the reference controller. What about another instance of POX?

You may be able to find this by looking at the output from px ax or whatever. Or follow Saurabh Agarwal's suggestion to just kill whatever is listening on port 6633.

-- Murphy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/attachments/20130716/e43f2526/attachment-0002.htm>
Loading...