Error: either "dev" is duplicate, or "1500" is a garbage.

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

What does that /kvm/luna.cloudmin.neubreed.com-eth0.sh script contain on your system?

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

That looks OK. Could you also post the contents of the /kvm/luna.cloudmin.neubreed.com-eth0.tap file ?

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

If there any chance I could login to your Cloudmin master system? That would help in debugging this..

Hi Jamie,

No problem, I'll send it to you.