Home Forums Solution suite Ryu SDN starter kit Problem With Ryu

This topic contains 3 replies, has 3 voices, and was last updated by  Srini Seetharaman 5 years, 3 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #964

    Mehmet Can Taş

    Hi there,
    I’m newbie on this world. I installed ova, run commands on the tutorials. When I run the last ryu sh. I got these. I could not understand what is this.
    How I can start mininet switches,

    ubuntu@starterkit:~[02:27]$ cd ~/ryu
    ubuntu@starterkit:~/ryu[02:27] (master)$ ./ryu/app/sdnhub_apps/run_sdnhub_apps.sh
    loading app ryu.app.sdnhub_apps.fileserver
    loading app ryu.app.sdnhub_apps.host_tracker_rest
    loading app ryu.app.rest_topology
    loading app ryu.app.sdnhub_apps.stateless_lb_rest
    loading app ryu.app.sdnhub_apps.tap_rest
    loading app ryu.app.ofctl_rest
    loading app ryu.controller.ofp_handler
    loading app ryu.topology.switches
    loading app ryu.controller.ofp_handler
    instantiating app None of DPSet
    creating context dpset
    creating context wsgi
    instantiating app None of StarterTap
    creating context tap
    instantiating app None of StatelessLB
    creating context stateless_lb
    instantiating app None of HostTracker
    creating context host_tracker
    instantiating app None of L2LearningSwitch
    creating context learning_switch
    instantiating app ryu.app.sdnhub_apps.stateless_lb_rest of StatelessLBRestApi
    instantiating app ryu.controller.ofp_handler of OFPHandler
    instantiating app ryu.app.sdnhub_apps.tap_rest of TapRestApi
    instantiating app ryu.app.rest_topology of TopologyAPI
    instantiating app ryu.app.ofctl_rest of RestStatsApi
    instantiating app ryu.app.sdnhub_apps.host_tracker_rest of HostTrackerRestApi
    instantiating app ryu.topology.switches of Switches
    instantiating app ryu.app.sdnhub_apps.fileserver of WebRestApi
    Traceback (most recent call last):
    File “./bin/ryu-manager”, line 19, in <module>
    File “/home/ubuntu/ryu/ryu/cmd/manager.py”, line 77, in main
    webapp = wsgi.start_service(app_mgr)
    File “/home/ubuntu/ryu/ryu/app/wsgi.py”, line 299, in start_service
    return WSGIServer(instance)
    File “/home/ubuntu/ryu/ryu/app/wsgi.py”, line 290, in __init__
    application, **config)
    File “/home/ubuntu/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
    File “/usr/lib/python2.7/socket.py”, line 224, in meth
    return getattr(self._sock,name)(*args)
    socket.error: [Errno 98] Address already in use
    ubuntu@starterkit:~/ryu[02:28] (master)$ exit


    Srini Seetharaman

    Sorry about my delayed reply. I suspect you already have Ryu running. With the starter-kit VM, Ryu is automatically started on reboot. So, if you want to run Ryu yourself, you need to kill the earlier one.

    You can start mininet using the command:
    $ sudo mn –arp –topo linear,2 –switch ovsk,protocols=OpenFlow13 –controller remote


    Hi, I’am new in this world of SDN too. I’m trying to connect a real openflow switch to the starter kit VM but I could’t. So I would like to know on which port is the controller listen for openflow network devices connections??

    Many thanks, Regards


    Srini Seetharaman

    Hi Orlando, it should be listening at port 6633 on the VM. Are you able to access that?

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.