[Mini-NDN] shutting down controller
Matteo Bertolino
Matteo.Bertolino at eurecom.fr
Mon Oct 24 00:42:54 PDT 2016
sudo tcpkill -9 port 6633
For 30 seconds at least. If it does not work, re-run 2-3 times until it runs.
This error is explored in my guide. For other similar errors :
https://github.com/MatteoBertolino92/NDN-matteo/blob/master/ndncxx_miniNDN_someUseCases:%20nacks%2C%20certificates%2C%20interest%20verification.pdf
Yours, Matteo
Quoting "Ashlesh Gawande (agawande)" <agawande at memphis.edu>:
> Can you try sudo mn --clean?
>
> Ashlesh
>
> On Oct 23, 2016 3:14 PM, sepehr abdous <sepehrabdous1375 at gmail.com> wrote:
> hi I'm new to mini-ndn and when I try to run it I get the following error:
>
> # minindn
> Parse of /usr/local/etc/mini-ndn/default-topology.conf done.
> *** Creating network
> *** Adding controller
> Traceback (most recent call last):
> File "/usr/local/bin/minindn", line 4, in <module>
> __import__('pkg_resources').run_script('Mini-NDN==0.2.0', 'minindn')
> File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
> line 719, in run_script
> self.require(requires)[0].run_script(script_name, ns)
> File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
> line 1504, in run_script
> exec(code, namespace, namespace)
> File
> "/usr/local/lib/python2.7/dist-packages/Mini_NDN-0.2.0-py2.7.egg/EGG-INFO/scripts/minindn", line 400, in
> <module>
> execute(options)
> File
> "/usr/local/lib/python2.7/dist-packages/Mini_NDN-0.2.0-py2.7.egg/EGG-INFO/scripts/minindn", line 282, in
> execute
> net = Mininet(topo,host=NdnHost,link=TCLink)
> File "build/bdist.linux-x86_64/egg/mininet/net.py", line 172, in __init__
> File "build/bdist.linux-x86_64/egg/mininet/net.py", line 500, in build
> File "build/bdist.linux-x86_64/egg/mininet/net.py", line 467, in
> buildFromTopo
> File "build/bdist.linux-x86_64/egg/mininet/net.py", line 283, in
> addController
> File "build/bdist.linux-x86_64/egg/mininet/node.py", line 1554, in
> DefaultController
> File "build/bdist.linux-x86_64/egg/mininet/node.py", line 1376, in __init__
> File "build/bdist.linux-x86_64/egg/mininet/node.py", line 1394, in
> checkListening
> Exception: Please shut down the controller which is running on port 6653:
> Active Internet connections (servers and established)
> tcp 0 0 0.0.0.0:6653<http://0.0.0.0:6653>
> 0.0.0.0:* LISTEN 1262/ovs-testcontro
> tcp 0 0 127.0.0.1:57358<http://127.0.0.1:57358>
> 127.0.0.1:6653<http://127.0.0.1:6653> TIME_WAIT -
> tcp 0 0 127.0.0.1:57360<http://127.0.0.1:57360>
> 127.0.0.1:6653<http://127.0.0.1:6653> TIME_WAIT
>
> can you tell me how can I shutdown controller which is running on port 6653
>
> Thank you
> --
> Sepehr Abdous
> Faculty: abdous at ce.sharif.edu<mailto:abdous at ce.sharif.edu>
> Yahoo mail: sepehrabdous at yahoo.com<mailto:sepehrabdous at yahoo.com>
> Cellphone:+989194030591
> School of computer engineering
> Sharif University of Technology
> Tehran, Iran
>
-------------------------------------------------------------------------------
This message was sent using EURECOM Webmail: http://webmail.eurecom.fr
More information about the Mini-NDN
mailing list