Hi I am trying to run the simple_switch.py.
as given in the tutorial I gave the following command:

PYTHONPATH=. ./bin/ryu-manager ryu/app/simple_switch.py

It starting working and give following

loading app ryu/app/simple_switch.py
loading app ryu.controller.ofp_handler
instantiating app ryu.controller.ofp_handler of OFPHandler
instantiating app ryu/app/simple_switch.py of SimpleSwitch

then halt here for long not giving any other result.

I abnormally terminate it and run again,

 It gives the following:

mininet@mininet-VirtualBox:~/ryu$ PYTHONPATH=. ./bin/ryu-manager
ryu/app/simple_switch.py
loading app ryu/app/simple_switch.py
loading app ryu.controller.ofp_handler
instantiating app ryu.controller.ofp_handler of OFPHandler
instantiating app ryu/app/simple_switch.py of SimpleSwitch
hub: uncaught exception: Traceback (most recent call last):
  File "/home/mininet/ryu/ryu/lib/hub.py", line 52, in _launch
    func(*args, **kwargs)
  File "/home/mininet/ryu/ryu/controller/controller.py", line 71, in __call__
    self.server_loop()
  File "/home/mininet/ryu/ryu/controller/controller.py", line 94, in server_loop
    datapath_connection_factory)
  File "/home/mininet/ryu/ryu/lib/hub.py", line 108, in __init__
    self.server = eventlet.listen(listen_info)
  File "/usr/lib/python2.7/dist-packages/eventlet/convenience.py",
line 38, in listen
    sock.bind(addr)
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 98] Address already in use

I have no idea what is going on. Please give some suggestion.




Best regards,
Goutam
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to