Re: [Vserver] Vserver guest os' and virtual interfaces ?
On Fri, Jul 22, 2005 at 10:51:34PM +0200, Brian Ipsen wrote: > Hi, > > On emore question from me (I'm trying to catch up - the more I know, the > more I'm able to help others ;-)): > > I tried to build a vserver using: > > # ./vserver-build --force -m yum -n dns-int1 --hostname ns2-int.domain.dk > --netdev=eth0:0 --interface=192.168.3.27 --netmask=255.255.255.0 -- -d wbel4 you certainly do not want to specify eth0:0 which isn't an interface but at best an alias ... if you want to get an alias (why would you need it for? ... ah ifconfig, I see :) then better use something like: --interface hansi=eth0:192.168.3.27/24 HTH, Herbert > Fine, I try to start the server: > > # vserver dns-int1 start > Cannot find device "eth0:0" > Starting system logger:[ OK ] > > Hmmm... Stopping it, then: > > # vserver dns-int1 stop > Shutting down system logger: [ OK ] > Starting killall: [ OK ] > A timeout occured while waiting for the vserver to finish and it was > killed by sending a SIGKILL signal. Please investigate the reasons > and/or increase the timeout in apps/vshelper/sync-timeout. > Cannot find device "eth0:0" > > Okay... Seems strange with the interface... Let's see: > > # ifconfig eth0:0 > eth0:0Link encap:Ethernet HWaddr 00:03:47:78:2F:D1 > inet addr:192.168.3.27 Bcast:192.168.3.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > > It's there... Any special reason for the guest OS not being able to find/use > this interface ?? > > Regards, > /Brian > ___ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] How to build first vserver ?
On Fri, Jul 22, 2005 at 11:02:52PM +0200, Brian Ipsen wrote: > Hi, > > > Sorry, just catching up on the ML. . . > > > > You can use the how-to written for CentOS, another RHEL clone: > > > > http://linux-vserver.org/CentOS_HowTo > > Hmm.. The minimum-list, that the page refers to, looks quite big... Sure, > that all those packages are needed ? > > "eject" and "setserial" could probably be omitted - maybe also several > others yes, but I guess as with most distros there are weird dependancies across the packages .. like for example that basesystem needs cpio and cpio won't do without setserial :) or like fileutils require automount and automount will drag in eject ... well you get the idea In general it would be a great thing if folks really good with a distro (or distributors) could do some kind of linux-vserver dependancy graph, which would allow to fix or ignore certain dependancies for vserver guests (saving a lot of space and trouble) without causing the tiniest update to drag in the 'missing' 350MB you carefully avoided in the first place ... best, Herbert > Otherwise a good link :-) > > /Brian > ___ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] V_xxxx not running ?
On Fri, Jul 22, 2005 at 07:31:25PM +0200, Brian Ipsen wrote: > Hi, > > > > After upgrading to v2.0-rc8.1 and installing utils 0.30.208 I get > > > this error dusing startup of my server: > > > > > > Starting v_httpd: exec --ip eth0 /etc/init.d/httpd start > > > /usr/lib/util-vserver/vsysvwrapper: line 44: exec: --: > > invalid option > > > > > > Any idea what is going wrong ?? > > > > sounds like a bug in 0.30.208, IIRC, the v_* helpers were > > considered for removal or so .. maybe they have been removed > > and your old ones do not work with the new tools ... didn't > > get to check it yet but will do so soon ... > > I haven't considered that option myself - I'm so used to having the > "wrapper" scripts ;-) > > In general, I think it could be a good idea to have a chapter in the INSTALL > file regarding upgrading from previous versions (especially if there are > changes, which requires "reverting" back to to old init.d script and > removing the wrapper scipts)... well, while I consider it an excellent idea to remove the v_ssh wrapper (as it just causes trouble anyway) I consider the other v_* wrappers or the idea of a general wrappertool (which might work for all kind of scripts and tools) a good idea ... best, Herbert > Regards, > Brian ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] How to build first vserver ?
Sorry, if it doesn't say this somewhere else - that is the list of rpms installed when you just choose minimal during a normal install of the OS. Obviously, not all of them are needed and can be adjusted by each user. This gives the opposite approach from Enrico's option, which only installs 5 packages or something like that. Kevin Brian Ipsen wrote: Hi, Sorry, just catching up on the ML. . . You can use the how-to written for CentOS, another RHEL clone: http://linux-vserver.org/CentOS_HowTo Hmm.. The minimum-list, that the page refers to, looks quite big... Sure, that all those packages are needed ? "eject" and "setserial" could probably be omitted - maybe also several others Otherwise a good link :-) /Brian ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
RE: [Vserver] How to build first vserver ?
Hi, > Sorry, just catching up on the ML. . . > > You can use the how-to written for CentOS, another RHEL clone: > > http://linux-vserver.org/CentOS_HowTo Hmm.. The minimum-list, that the page refers to, looks quite big... Sure, that all those packages are needed ? "eject" and "setserial" could probably be omitted - maybe also several others Otherwise a good link :-) /Brian ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Vserver guest os' and virtual interfaces ?
Hi, On emore question from me (I'm trying to catch up - the more I know, the more I'm able to help others ;-)): I tried to build a vserver using: # ./vserver-build --force -m yum -n dns-int1 --hostname ns2-int.domain.dk --netdev=eth0:0 --interface=192.168.3.27 --netmask=255.255.255.0 -- -d wbel4 Fine, I try to start the server: # vserver dns-int1 start Cannot find device "eth0:0" Starting system logger:[ OK ] Hmmm... Stopping it, then: # vserver dns-int1 stop Shutting down system logger: [ OK ] Starting killall: [ OK ] A timeout occured while waiting for the vserver to finish and it was killed by sending a SIGKILL signal. Please investigate the reasons and/or increase the timeout in apps/vshelper/sync-timeout. Cannot find device "eth0:0" Okay... Seems strange with the interface... Let's see: # ifconfig eth0:0 eth0:0Link encap:Ethernet HWaddr 00:03:47:78:2F:D1 inet addr:192.168.3.27 Bcast:192.168.3.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 It's there... Any special reason for the guest OS not being able to find/use this interface ?? Regards, /Brian ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] How to build first vserver ?
Brian, Sorry, just catching up on the ML. . . You can use the how-to written for CentOS, another RHEL clone: http://linux-vserver.org/CentOS_HowTo Enjoy, Kevin [EMAIL PROTECTED] wrote: Date: Tue, 19 Jul 2005 11:45:43 +0200 From: Brian Ipsen <[EMAIL PROTECTED]> Subject: [Vserver] How to build first vserver ? To: Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" Hi, I've been surfing a bit around in search of a guide on how to set up/build the first vserver - but haven't been able to locate one... My "base" vserver is up and running (with the vserver kernel) - the problem is creating a virtual server... I'm running WhiteBox Enterprise Linux 4 (a RHEL clone), but have difficulties figuring out how to create the distribution stuff - and where does it pick the RPM packages from ?? Any hints, links, instructions etc are appreciated ... /Brian ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
RE: [Vserver] V_xxxx not running ?
Hi, > > After upgrading to v2.0-rc8.1 and installing utils 0.30.208 I get > > this error dusing startup of my server: > > > > Starting v_httpd: exec --ip eth0 /etc/init.d/httpd start > > /usr/lib/util-vserver/vsysvwrapper: line 44: exec: --: > invalid option > > > > Any idea what is going wrong ?? > > sounds like a bug in 0.30.208, IIRC, the v_* helpers were > considered for removal or so .. maybe they have been removed > and your old ones do not work with the new tools ... didn't > get to check it yet but will do so soon ... I haven't considered that option myself - I'm so used to having the "wrapper" scripts ;-) In general, I think it could be a good idea to have a chapter in the INSTALL file regarding upgrading from previous versions (especially if there are changes, which requires "reverting" back to to old init.d script and removing the wrapper scipts)... Regards, Brian ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] V_xxxx not running ?
On Fri, Jul 22, 2005 at 04:01:41PM +0200, Brian Ipsen wrote: > Hi, > > After upgrading to v2.0-rc8.1 and installing utils 0.30.208 I get this > error dusing startup of my server: > > Starting v_httpd: exec --ip eth0 /etc/init.d/httpd start > /usr/lib/util-vserver/vsysvwrapper: line 44: exec: --: invalid option > > Any idea what is going wrong ?? sounds like a bug in 0.30.208, IIRC, the v_* helpers were considered for removal or so .. maybe they have been removed and your old ones do not work with the new tools ... didn't get to check it yet but will do so soon ... HTH, Herbert > Regards, > /Brian > ___ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] V_xxxx not running ?
Hi, After upgrading to v2.0-rc8.1 and installing utils 0.30.208 I get this error dusing startup of my server: Starting v_httpd: exec --ip eth0 /etc/init.d/httpd start /usr/lib/util-vserver/vsysvwrapper: line 44: exec: --: invalid option Any idea what is going wrong ?? Regards, /Brian ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Problems building util-vserver-0.30.207 Debian woody
Hello On Wed, Jul 20, 2005 at 09:20:34PM +0200, Herbert Poetzl wrote: > On Wed, Jul 20, 2005 at 08:45:26PM +0200, Ola Lundqvist wrote: > > Hello > > > > My suggestion is not to use dietlibc and thus change the build . > > dependencies I think it will work then . > > you didn't look at the errors, did you? Yes but obviously not enough. > or do you really believe that not using dietlibc will > magically provide a c99 compliant c/c++ compiler? I thought the problem was lack of c99 compiler in combination with dietlibc as I have successfully ported to woody before I started to use dietlibc. Anyway sarge is considered stable now. On the other hand I know that it is a pain to upgrade lot of hosts without too much downtime. Vserver hosts are not that hard as they tend to have just vservers on it and they do not need to be rebooted (unless kernel is updated, which is not needed). Regards, // Ola > best, > Herbert > > > Regards, > > > > // Ola > > > > On Mon, Jul 11, 2005 at 03:47:43PM +0930, Mike O'Connor wrote: > > > Hi All > > > > > > I have been unable to compile any of the beta util-vserver tools for > > > Debian woody even after back porting from unstable a number of packages > > > > > > I back ported the following packages > > > nasm_0.98.38-1.2_i386.deb > > > dietlibc_0.29-2_i386.deb > > > dietlibc-dev_0.29-2_i386.deb > > > libbeecrypt6-dev_4.1.2-1_i386.deb > > > libbeecrypt6_4.1.2-1_i386.deb > > > > > > The url > > > http://www.pineview.net/~mike/util-vserver/debian-build-problems-0.30.207.txt, > > > show a full build log. > > > > > > These seemed of intrest to me: > > > checking whether gcc and cc understand -c and -o together... yes > > > checking whether g++ is a C++ compiler... no > > > configure: WARNING: *** some programs will not be built because a C++ > > > compiler is lacking > > > checking whether gcc is a C99 compiler... no > > > configure: WARNING: *** some programs will not be built because system > > > is lacking a C99 compiler > > > checking whether to enable dietlibc... yes (autodetected, 0.29) > > > checking whether dietlibc supports C99... skipped (compiler does not > > > support C99) > > > configure: > > > > > > util-vserver 0.30.207 > > > > > > Features: > > >CC: gcc, 2.95.4 > > > CXX: g++, 2.95.4 > > > CPPFLAGS: '' > > >CFLAGS: '-g -O2 -Wall -pedantic -W' > > > CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W' > > >build/host: i686-pc-linux-gnu/i686-pc-linux-gnu > > > Use dietlibc: yes > > >Build C++ programs: no (affected: vbuild, vcheck) > > >Build C99 programs: no (affected: vunify, vcopy, vhashify, vdlimit) > > >Available APIs: compat,v11,v13,fscompat,net,oldproc,olduts > > > ext2fs Source: e2fsprogs > > > syscall(2) invocation: alternative > > > vserver(2) syscall#: 273/default > > > > > > Paths: > > >prefix: /usr/local > > > sysconf-Directory: ${prefix}/etc > > > cfg-Directory: ${prefix}/etc/vservers > > > initrd-Directory: $(sysconfdir)/init.d > > >pkgstate-Directory: ${prefix}/var/run/vservers > > > Kernelheaders: > > > /lib/modules/2.6.11.6-smp-vs.1.9.5/build/include > > > vserver-Rootdir: /vservers > > > > > > The build errors seemed to be mostly about parsing errors. > > > > > > Any ideas would be great. > > > > > > > > > Thanks > > > Mike > > > ___ > > > Vserver mailing list > > > Vserver@list.linux-vserver.org > > > http://list.linux-vserver.org/mailman/listinfo/vserver > > > > > > > -- > > - Ola Lundqvist --- > > / [EMAIL PROTECTED] Annebergsslingan 37 \ > > | [EMAIL PROTECTED] 654 65 KARLSTAD | > > | +46 (0)54-10 14 30 +46 (0)70-332 1551 | > > | http://www.opal.dhs.org UIN/icq: 4912500 | > > \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / > > --- > > ___ > > Vserver mailing list > > Vserver@list.linux-vserver.org > > http://list.linux-vserver.org/mailman/listinfo/vserver > ___ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver > -- - Ola Lundqvist --- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 654 65 KARLSTAD | | +46 (0)54-10 14 30 +46 (0)70-332 1551 | | http://www.opal.dhs.org UIN/icq: 4912500 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --