Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[mininet-discuss] 回复:mininet start error

dida_327 at sina.com dida_327 at sina.com
Sun Dec 25 06:47:50 PST 2016


I use mn -v debug  for trace infomation:
dida at ubuntu:~/P4/P4factory/p4factory$ sudo mn -v debug*** Setting resource limits*** Creating network*** Adding controller*** c0 : ('ifconfig lo up',)bash: cannot set terminal process group (-1): Inappropriate ioctl for devicebash: no job control in this shell*** c0 : ('echo A | telnet -e A 127.0.0.1 6633',)telnet: Unable to connect to remote host: Connection refusedTelnet escape character is 'A'.Trying 127.0.0.1...bash: line 2: echo: write error: Broken pipe*** Adding hosts:h1 h2 *** Adding switches:
added intf lo:0 to node s1*** s1 : ('ifconfig', 'lo', 'up')bash: cannot set terminal process group (-1): Inappropriate ioctl for devicebash: no job control in this shell*** s1 : ('ifconfig', 'lo')lo        Link encap:Local Loopback            inet addr:127.0.0.1  Mask:255.0.0.0          inet6 addr: ::1/128 Scope:Host          UP LOOPBACK RUNNING  MTU:65536  Metric:1          RX packets:208 errors:0 dropped:0 overruns:0 frame:0          TX packets:208 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:0           RX bytes:15600 (15.6 KB)  TX bytes:15600 (15.6 KB)
*** s1 : ('ifconfig', 'lo')lo        Link encap:Local Loopback            inet addr:127.0.0.1  Mask:255.0.0.0          inet6 addr: ::1/128 Scope:Host          UP LOOPBACK RUNNING  MTU:65536  Metric:1          RX packets:208 errors:0 dropped:0 overruns:0 frame:0          TX packets:208 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:0           RX bytes:15600 (15.6 KB)  TX bytes:15600 (15.6 KB)
*** s1 : ('ifconfig', 'lo')lo        Link encap:Local Loopback            inet addr:127.0.0.1  Mask:255.0.0.0          inet6 addr: ::1/128 Scope:Host          UP LOOPBACK RUNNING  MTU:65536  Metric:1          RX packets:208 errors:0 dropped:0 overruns:0 frame:0          TX packets:208 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:0           RX bytes:15600 (15.6 KB)  TX bytes:15600 (15.6 KB)
s1 *** Adding links:
added intf h1-eth0:0 to node h1moving h1-eth0 into namespace for h1 *** h1 : ('ip link show',)bash: cannot set terminal process group (-1): Inappropriate ioctl for devicebash: no job control in this shell1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN mode DEFAULT group default     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:004: h1-eth0 at if3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000    link/ether fe:54:78:7e:c0:ed brd ff:ff:ff:ff:ff:ff*** h1 : ('ip link show',)1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN mode DEFAULT group default     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:004: h1-eth0 at if3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000    link/ether fe:54:78:7e:c0:ed brd ff:ff:ff:ff:ff:ff*** h1 : ('ip link show',)1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN mode DEFAULT group default     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:004: h1-eth0 at if3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000    link/ether fe:54:78:7e:c0:ed brd ff:ff:ff:ff:ff:ff*** h1 : ('ip link show',)1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN mode DEFAULT group default     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:004: h1-eth0 at if3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000    link/ether fe:54:78:7e:c0:ed brd ff:ff:ff:ff:ff:ff*** gave up after 3 retries

 seems operation on "lo" interface are not permitted, but i exec the mn with "sudo", why ?
----- 原始邮件 -----
发件人:<dida_327 at sina.com>
收件人:"mininet-discuss" <mininet-discuss at lists.stanford.edu>
主题:mininet start error
日期:2016年12月25日 22点40分

I am using mininet with version info "mininet:amd64/trusty 2.1.0-0ubuntu1 uptodate", but it can't start correctlly
dida at ubuntu:~/P4/P4factory/p4factory$ sudo mn [sudo] password for dida: *** Creating network*** Adding controller--------------------------------------------------------------------------------Caught exception. Cleaning up...Exception: Please shut down the controller which is running on port 6633:Active Internet connections (servers and established)tcp        0      0 *:6633                  *:*                     LISTEN      1164/ovs-controllertcp        0      0 localhost:47598         localhost:6633          TIME_WAIT   -               --------------------------------------------------------------------------------*** Removing excess controllers/ofprotocols/ofdatapaths/pings/noxeskillall controller ofprotocol ofdatapath ping nox_core lt-nox_core ovs-openflowd ovs-controller udpbwtest mnexec ivs 2> /dev/nullkillall -9 controller ofprotocol ofdatapath ping nox_core lt-nox_core ovs-openflowd ovs-controller udpbwtest mnexec ivs 2> /dev/nullpkill -9 -f "sudo mnexec"*** Removing junk from /tmprm -f /tmp/vconn* /tmp/vlogs* /tmp/*.out /tmp/*.log*** Removing old X11 tunnels*** Removing excess kernel datapathsps ax | egrep -o 'dp[0-9]+' | sed 's/dp/nl:/'***  Removing OVS datapathsovs-vsctl --timeout=1 list-br*** Removing all links of the pattern foo-ethXip link show | egrep -o '(\w+-eth\w+)'*** Cleanup complete.dida at ubuntu:~/P4/P4factory/p4factory$ 
according to the output, I think it has killed ovs-controller which must be conflict with mininet, so I try it again.but this time it seems link among h1,h2,s1 can't be setup.
dida at ubuntu:~/P4/P4factory/p4factory$ sudo mn*** Creating network*** Adding controller*** Adding hosts:h1 h2 *** Adding switches:s1 *** Adding links:*** gave up after 3 retries
do you know the cause? thanks a lot !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/mininet-discuss/attachments/20161225/7dba947a/attachment-0001.html>


More information about the mininet-discuss mailing list