Re: [Lxc-users] Cannot see a login console on start

2011-05-24 Thread Roberto
Hi Ulli,

 I have written a setup for LXC on Ubuntu 10.04:

 http://fex.rus.uni-stuttgart.de/lxc-ubuntu


I've just tried your tutorial, but it ends up with the following:

root@my_host:~/bin# ./lxc -b ubuntu
./lxc: cannot determine container ip

Not sure why this happens. Also note that the host is a VirtualBox VM,
not physical hardware. Any idea?

Cheers,

Roberto

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] Cannot see a login console on start

2011-05-24 Thread Ulli Horlacher
On Tue 2011-05-24 (12:25), Roberto wrote:
 Hi Ulli,
 
  I have written a setup for LXC on Ubuntu 10.04:
 
  http://fex.rus.uni-stuttgart.de/lxc-ubuntu
 
 
 I've just tried your tutorial, but it ends up with the following:
 
 root@my_host:~/bin# ./lxc -b ubuntu
 ./lxc: cannot determine container ip

You need a valid DNS record for your container.
My setup does not support DHCP (which ise useless for servers).


-- 
Ullrich Horlacher  Server- und Arbeitsplatzsysteme
Rechenzentrum  E-Mail: horlac...@rus.uni-stuttgart.de
Universitaet Stuttgart Tel:++49-711-685-65868
Allmandring 30 Fax:++49-711-682357
70550 Stuttgart (Germany)  WWW:http://www.rus.uni-stuttgart.de/

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] Cannot see a login console on start

2011-05-24 Thread Serge Hallyn
Quoting Roberto (prof...@gmail.com):
  Not sure exactly what that tutorial is doing.  Didn't see anything
  obviously wrong with it.  You might try verifying it by doing
 
   lxc-create -f /usr/share/doc/lxc/examples/lxc-macvlan.conf -t ubuntu -n u1
   lxc-start -n u1
 
 Except the lxc-ubuntu script is not present on my machine :S

What version is installed?  If you don't have the lxc-ubuntu or
lxc-lucid templates, then get them from the package...  Without an idea
of whether the known-good formulas work, I'll only say that since
lxc-checkconfig shows everything enabled, without looking at the
details, what you're doing should work.

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


[Lxc-users] Cannot see a login console on start

2011-05-23 Thread Roberto
Hi all,

I'm new to LXC and I've been following the following instructions on
how to setup a container:

http://www.phenona.com/blog/using-lxc-linux-containers-in-amazon-ec2/

Unfortunately, it seems I cannot start a container. In fact, after I
run the following:

lxc-start -n vm0

I cannot see any login prompt. I'm trying the procedure on a local VM
running Ubuntu 10.04.

Any help would be very appreciated.

Best regards,

Roberto

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] Cannot see a login console on start

2011-05-23 Thread Serge Hallyn
Quoting Roberto (prof...@gmail.com):
 Hi all,
 
 I'm new to LXC and I've been following the following instructions on
 how to setup a container:
 
 http://www.phenona.com/blog/using-lxc-linux-containers-in-amazon-ec2/
 
 Unfortunately, it seems I cannot start a container. In fact, after I
 run the following:
 
 lxc-start -n vm0
 
 I cannot see any login prompt. I'm trying the procedure on a local VM
 running Ubuntu 10.04.
 
 Any help would be very appreciated.

Not sure exactly what that tutorial is doing.  Didn't see anything
obviously wrong with it.  You might try verifying it by doing

  lxc-create -f /usr/share/doc/lxc/examples/lxc-macvlan.conf -t ubuntu -n u1
  lxc-start -n u1

and see if that is giving you a console.  If not, then perhaps something in
your VM isn't right, for instance no support for multiple devpts.  In fact,
what does

  sudo lxc-config

give you?

-serge

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users