[Mini-NDN] shutting down controller

Ashlesh Gawande (agawande) agawande at memphis.edu
Sun Oct 23 13:36:20 PDT 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20161023/78466fe1/attachment.html>


More information about the Mini-NDN mailing list