About this list Date view Thread view Subject view Author view Attachment view

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Mon 22 Aug 2005 - 17:59:02 BST


On Mon, Aug 22, 2005 at 06:05:35PM +0200, mess-mate wrote:
> Herbert Poetzl <herbert_at_13thfloor.at> wrote:
> | On Mon, Aug 22, 2005 at 11:44:04AM +0200, mess-mate wrote:
> | > Hi everyone,
> | > on the boot i've this error about starting vservers:
> | > Starting the virtual servers
> | > Starting the virtual server deb-etch
> | > Server deb-etch is not running
> | > /usr/lib/util-vserver/legacy/vserver: line 523: ulimit: max user
> | > processes: cannot modify limit: Invalid argument
> | > ipv4root is now 192.168.1.10
> | > Host name is now deb-etch
> | > Domain name is now
> | > New security context is 49152
> | > Setted in my /etc/vservers/deb-etch.conf:
> | > ULIMIT="-H -u 1000"
> | >
> | > Did i something wrong ?
> |
> | actually a bunch of things ... but your issue
> | is most likely caused by the broken config ...
> |
> | did you create that with newvserver?
>
> NO.. with a dbootstrap.

hmm, and where does the /etc/vservers/deb-etch.conf
come from?

> | try ULIMIT="-HS -u 1000" and make sure that
> | your host allows for -u 1000 ...
> |
> | you should also change the following:
> |
> | - use a static context id (49152 is dynamic)
> | - do not use the legacy config files unless
> | it is a legacy guest (you will lose a lot
> | of features this way)
> |
> Created yet an other 'etch' vserver with this command:
> "vserver etch build -m debootstrap -- -d etch -m
> ftp://ftp.debian.org/debian/ -- --resolve-deps "

ah, valueable information, so passing options after
a second '--' to the debootstrap _is_ possible ...
good to know ...

> It created a dir 'etch' in /etc/vservers and a dir 'etch' in my
> vservers root-dir.
> vservers etch start
> Starting system log daemon: syslogd.
> Starting kernel log daemon: klogd.
> Starting internet superserver: inetd.
> Starting periodic command scheduler: cron.
>
> No more that previous output but stil
> 49153 in /var/run/vservers.rev

echo 42 >/etc/vservers/etch/context will fix that
(please do so after a vserver etch stop)

> Strange, i've no more ifconfig output but can with no problem
> connecting to the outside.( internet/lan)
> A route give me:
> 192.168.1.0 * 255.255.255.0 U 0 0
> 0 *
> default * 0.0.0.0 UG 0 0
> 0 *
>
> The router is not displayed ???

you most likely want to add an interface config for
your guest, e.g. something like in the examples ...

vserver etch build -m debootstrap --interface hansi=eth0:192.168.0.2/24 --hostname=hansi.ist.org --context 42 -- -d etch -m ftp://ftp.debian.org/debian/ -- --resolve-deps

> and netstat:
> unix 2 [ ] DGRAM 7721 /dev/log
>
> ssh worked also.
>
> >From my host i can access everything in the server/etch directory,
> change/copy/remove... is this normal ?

yes, that's pretty normal, I guess ...
(what would you expect?)

HTH,
Herbert

> mess-mate
> --
> Lord, what fools these mortals be!
> -- William Shakespeare, "A Midsummer-Night's Dream"
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 22 Aug 2005 - 17:59:32 BST by hypermail 2.1.3