Submitted by RyanJohnson on Wed, 11/19/2014 - 13:37
Hi,
I've just created a new KVM instance using the kvm-wheezy-gpl image and can't start it .. I'm getting the following error which I'm having difficulty troubleshooting
QEMU waiting for connection on: tcp:127.0.0.1:40000,server
Error: either "dev" is duplicate, or "1500" is a garbage.
/kvm/luna.cloudmin.neubreed.com-eth0.sh: could not launch network script
qemu-system-x86_64: -net tap,vlan=0,script=/kvm/luna.cloudmin.neubreed.com-eth0.
sh: Device 'tap' could not be initialized
On my system the interface is em1 not eth0 if that's a clue?
Status:
Active
Comments
Submitted by JamieCameron on Wed, 11/19/2014 - 16:37 Comment #1
What does that
/kvm/luna.cloudmin.neubreed.com-eth0.sh
script contain on your system?Submitted by RyanJohnson on Wed, 11/19/2014 - 17:06 Comment #2
This is the contents:
#!/bin/sh
echo $1 >/kvm/luna.cloudmin.neubreed.com-eth0.tap
/sbin/brctl addif br0 $1
/bin/ip link set dev $1 up
mtu=\`/bin/ip link | grep br0: | sed -e 's/.\*mtu //; s/ .\*//'\`
if [ "$mtu" != "" ]; then
/bin/ip link set dev $1 mtu $mtu
fi
And my /etc/network/interfaces
# The loopback network interface
auto lo em1 br0
iface lo inet loopback
# The primary network interface
#auto em1
iface em1 inet manual
auto br0
iface br0 inet static
address 103.13.186.85
netmask 255.255.255.248
broadcast 103.13.186.255
network 103.13.186.0
gateway 103.13.186.86
bridge_ports em1
post-up iptables-restore < /etc/iptables.up.rules
Submitted by JamieCameron on Wed, 11/19/2014 - 23:42 Comment #3
That looks OK. Could you also post the contents of the
/kvm/luna.cloudmin.neubreed.com-eth0.tap
file ?Submitted by RyanJohnson on Wed, 11/19/2014 - 23:47 Comment #4
We have : tap0
Submitted by RyanJohnson on Thu, 11/20/2014 - 16:55 Comment #5
Hi Jamie,
Sorry to push but do you have an update for me? Is there a way I can manually get this instance up and running?
Thanks, Ryan
Submitted by JamieCameron on Thu, 11/20/2014 - 20:47 Comment #6
If there any chance I could login to your Cloudmin master system? That would help in debugging this..
Submitted by RyanJohnson on Thu, 11/20/2014 - 21:07 Comment #7
Hi Jamie,
No problem, I'll send it to you.