Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

ovs-ofctl error: failed to open socket (Permission denied)

Hi. I created a Mininet topology with three hosts, an OpenFlow switch and a remote controller (following an OpenFlow tutorial over from mininet.org), like this:

sudo mn --topo single,3 --mac --switch ovsk --controller remote

I need to check the flow table of the switch (s1), even though i know its empty, so I type in the command:

ovs-ofctl show s1

but I get the error:

ovs-ofctl: /var/run/openvswitch/s1.mgmt: faile to open socket (Permission denied)

How do I resolve this? I am following this tutorial: https://github.com/mininet/openflow-tutorial/wiki/Learn-Development-Tools

Thanks in advance!