[one-users] error:Can't connected to virtual machine through ssh.

Jaime Melis j.melis at fdi.ucm.es
Mon Jun 21 07:53:30 PDT 2010


Hi Ranjith,

there was a problem with the ttylinux image, it wasn't able to boot because
an fsck was forced (read
http://lists.opennebula.org/pipermail/users-opennebula.org/2010-June/002153.htmlfor
more info on the problem).

Could you download the ttylinux image again and give it another try?

regards,
Jaime

On Tue, Jun 1, 2010 at 5:44 PM, ranjith k <ranjithskp at gmail.com> wrote:

> hello.
>
> i was created a ttylinux(image is downloaded from the opennebula site)
> virtual machine using the command,
>     onevm create ttylinux.one
> my ttylinux.one file is like below
> #########################################
> NAME   = ttylinux
> CPU    = 0.1
> MEMORY = 64
> DISK   = [
>   source    = "/srv/cloud/images/ttylinux.img",
>   target    = "hda",
>   readonly = "no" ]
> NIC      = [ NETWORK = "Red LAN" ]
> FEATURES = [ acpi="no" ]
> #This may be useful to debug your VMs (can use also console)
> GRAPHICS = [
>   type = "vnc",
>   listen = "localhost",
>   port = "5902",
>   keymap="es"]
> ##########################################################
>
> after the virtul machine state changed to runn,i was executed the command
> like below.
> onevm show 12|grep IP
> it give the ip address 192.168.2.2
> and i connected to the 192.168.2.2 by typing the command ssh
> root at 192.168.2.2
> but it give an error like below.
> ssh: connect to host 192.168.2.2 port 22: No route to host
>
> please help me to resolve this problem...
> my virtual network red.net  is like below.
>
> NAME = "Red LAN"
> TYPE = RANGED
> BRIDGE = br0
> NETWORK_SIZE     = C
> NETWORK_ADDRESS = 192.168.2.0
>
> i was created bridge on my kvm host by editing the /etc/network/interface
> file like below.
>
> auto br0
> iface br0 inet static
>         address 192.168.2.33
>         network 192.168.2.0
>         netmask 255.255.255.0
>         broadcast 192.168.2.255
>         gateway 192.168.2.1
>         bridge_ports eth0
>         bridge_fd 9
>         bridge_hello 2
>         bridge_maxage 12
>         bridge_stp off
>
> my ONE host ip address is 192.168.2.31 and i can ping to 192.168.2.33(kvm
> host) from 192.168.2.31....
>
> please help me...
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100621/f8ff240b/attachment-0003.htm>


More information about the Users mailing list