Re: [Vserver] FC5 Install note.
That's right. You all write such good English that I keep forgetting you all are Germans and have German nicknames. Bertl beats Herb, which is what you'd be stuck with in my country, the USA. Who knows what you'd be called here in Thailand. Maybe Bia (Beer)? On ?., 2006-09-09 at 16:58 +0200, Herbert Poetzl wrote: > On Fri, Sep 08, 2006 at 04:36:38PM -0700, Roderick A. Anderson wrote: > > John Francis Lee wrote: > > >Yes, it's "just" documentation... but I'd never know about Danlle and > > >Bertl's good coding if I hadn't had your help getting it up and running > > >so easily. > > > > > >Thank you Guenther. Thank you Daniel. Thank you Bertl. Thank you > > >Herbert. > > well, you're all welcome! > > > Reference my previous post: I forgot to mention Herbert. > > but actually no need to thank me twice, or is there > some Herbert/Bertl I do not know about? > > > With all the nome-de-plume's floating around I'm keep getting confused > > as to whom is whom. :-) > > sometimes I get confused too ... > > best, > Herbert (Bertl) > > .o( gee another well kept secret demystified :) > > > Rod > > -- > > > > > >On ???., 2006-09-08 at 23:50 +0200, Guenther Fuchs wrote: > > > > > >>Hi there, > > >> > > >>on Friday, September 8, 2006 at 10:39:01 PM there was posted: > > >> > > >>RAA> Who did the Fedora Core 5 Install on the wiki? > > >> > > >>Mmmm - looks like me ;-) > > >> > > >>RAA> Well someone did add it ( yum ) to the exclude line. > > >> > > >>Oh yes - also looks like me. Didn't remeber that. Seems I'm getting > > >>older ;-) > > >> > > >>RAA> Good job Guenther! > > >> > > >>Thanks. But it's "just" documentation. Main cred's are to go to Daniel > > >>and Bertl for doing the codings. > > >> > > > > ___ > > 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 -- John Francis Lee 1/9-10 Thanon Trairat Mueang Chiang Rai 57000 Thailand ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] FC5 Install note.
Yes, it's "just" documentation... but I'd never know about Danlle and Bertl's good coding if I hadn't had your help getting it up and running so easily. Thank you Guenther. Thank you Daniel. Thank you Bertl. Thank you Herbert. On ?., 2006-09-08 at 23:50 +0200, Guenther Fuchs wrote: > Hi there, > > on Friday, September 8, 2006 at 10:39:01 PM there was posted: > > RAA> Who did the Fedora Core 5 Install on the wiki? > > Mmmm - looks like me ;-) > > RAA> Well someone did add it ( yum ) to the exclude line. > > Oh yes - also looks like me. Didn't remeber that. Seems I'm getting > older ;-) > > RAA> Good job Guenther! > > Thanks. But it's "just" documentation. Main cred's are to go to Daniel > and Bertl for doing the codings. > -- John Francis Lee 1/9-10 Thanon Trairat Mueang Chiang Rai 57000 Thailand ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] [OPoll] BME inclusion into next stable release
> OPINION POLL > > > please check (X) all points which apply ... > (according to your opinion) > > [X ] I had no idea about this issue/deficiency > [ ] I did already know about it > > [ X] I'm already using BME (or similar) patches > [ ] I will start using BME patches now > [ ] I do not need/use this 'feature' at all > > [ X] I think this SHOULD get into the next > stable Linux-VServer release because ... > > [ ] I am using it/want to use it > [X ] It's more a bugfix than a feature > [ ] I like the idea of ro --bind mounts > > [ ] I think this should NOT be included into > the next stable release because ... > > [ ] it is not thoroughly tested > [ ] it is not mature enough > [ ] it adds unnecessary code > [ ] it should better be fixed in >the mainline Linux Kernel > > > TIA, > Herbert > > ___ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver -- John Francis Lee 1/9-10 Thanon Trairat Muang Chiang Rai 57000 Thailand ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 4f2a6fd2
Hello, and Happy New Year. I was able to install vserver on a new FC4 system successfully, thanks to the fine tutorial from muh. I have the following error when I try to install my first guest on an existing FC3 system. The kernel is patched, and the 0.30.209 utilities. [EMAIL PROTECTED] ~]# vserver dhcp-dns build -m yum --hostname=dhcp-dns.kic.muangchiangrai.net --interface dhcp-dns=eth1:10.0.0.253/24 -- -d fc3 ... Transaction Listing: Install: glibc.i686 0:2.3.6-0.fc3.1 - updates-released Performing the following to resolve dependencies: Install: basesystem.noarch 0:8.0-4 - base Install: filesystem.i386 0:2.3.0-1 - base Install: glibc-common.i386 0:2.3.6-0.fc3.1 - updates-released Install: libgcc.i386 0:3.4.4-2.fc3 - updates-released Install: setup.noarch 0:2.5.36-1 - base Install: tzdata.noarch 0:2005m-1.fc3 - updates-released Total download size: 21 M warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 4f2a6fd2 public key not available for filesystem-2.3.0-1.i386.rpm How can I satisfy the key requirements that seem to be lacking. Thanks. -- John Francis Lee 1/9-10 Thanon Trairat Muang Chiang Rai 57000 Thailand ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] How do I unify my guests?
On ?., 2005-12-24 at 17:25 +0100, Enrico Scholz wrote: > [EMAIL PROTECTED] (John Francis Lee) writes: > > > I have succeeded in building an FC4 vserver host with several guest > > servers. > > > > I would like to "unify" them, share as many files among them as possible > > via hardlinks. > > > > [EMAIL PROTECTED] ~]# /lib/util-vserver/vunify -nv dhcp-dns > > Failed to initialize unification for this vserver > > > > What do I need to do here? > > 1. I would not use vunify because it requires a reference vserver with >the same software; 'vhashify' does not have this limitation. > >'vunify' is more efficiently in ideal case ('vhashify' over a single >vserver will increase needed space). But this ideal case is difficultly >to reach so that 'vhashify' is more simple to use. > > > 2. for 'vhashify', just do > >| mkdir /etc/vservers/.defaults/apps/vunify/hash /vservers/.hash >| ln -0s /vservers/.hash /etc/vservers/.defaults/apps/vunify/hash/root >--> do this once > >| mkdir /etc/vservers/.../apps/vunify # vhashify reuses vunify > configuration >--> do this for every vserver > > > 3. vserver ... hashify > > > > Enrico > ___ > Vserver mailing list > Vserver@list.linux-vserver.org > http://list.linux-vserver.org/mailman/listinfo/vserver Thank you. With six vservers, my /vservers partition went from ~150,000 to ~80,000 blocks used. -- John Francis Lee 1/9-10 Thanon Trairat Muang Chiang Rai 57000 Thailand ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] How do I unify my guests?
Hello, I have succeeded in building an FC4 vserver host with several guest servers. I would like to "unify" them, share as many files among them as possible via hardlinks. [EMAIL PROTECTED] ~]# /lib/util-vserver/vunify -nv dhcp-dns Failed to initialize unification for this vserver What do I need to do here? Thanks in advance, especially to muh for his very helpful tutorial. -- John Francis Lee 1/9-10 Thanon Trairat Muang Chiang Rai 57000 Thailand ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] two guests mounting a common partition?
Thanks! I'll try it. On ?., 2005-12-21 at 07:41 +0100, eyck wrote: > > Can I have two guest servers mount the same partition? > sure, mount-bind can do that. > mount -o bind,rw /vserver/smbd/home /vserver/httpd/var/www/html from the > master vserver. > -- John Francis Lee 1/9-10 Thanon Trairat Muang Chiang Rai 57000 Thailand ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] two guests mounting a common partition?
Hello, Can I have two guest servers mount the same partition? The idea is to have one smbd server host a partition as /home rw, and an httpd server host the same partition as /var/www/html ro. -- John Francis Lee 1/9-10 Thanon Trairat Muang Chiang Rai 57000 Thailand ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Install from cd's?
Hello, I'm having no success installing a guest server, kernel 2.6.14.3-rc10 and 0.30.209 utilities, using the apt-rpm, yum or skeleton methods. I'll try again next weekend. Can I just use the cd's that I used to install the system? How can i specify the cd's as a source of the software? Thanks for your help. -- John Francis Lee 1/9-10 Thanon Trairat Muang Chiang Rai 57000 Thailand ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] next weekend
Well... i have what I thought was a guest server built but this is the error I get now : [EMAIL PROTECTED] dns]# vserver dns start secure-mount: chdir("/tmp"): No such file or directory /etc/vservers/dns/fstab:2:1: failed to mount fstab-entry find: var/run: No such file or directory fakerunlevel: open("/var/run/utmp"): No such file or directory Failed to start vserver 'dns' I'll have to wait 'til next weekend. Thanks for all your patient help. -- John Francis Lee 1/9-10 Thanon Trairat Muang Chiang Rai 57000 Thailand ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] building first guest vserver
Answering my own post... my shell seems to have helpfully cached the path to the vserver program. Logging off then back in fixed that problem. So now I'm on my way to my next problem :) Thanks again for your help and patience. On ?., 2005-12-05 at 12:53 +0700, John Francis Lee wrote: > Hello again. > > I got a skeleton guest server built and am now trying to start it. > > There were some files that could not be copied from the /proc directory > so I skipped them. > > I had an error message that running vprocunhide seemed to take care of. > > But now... > > [EMAIL PROTECTED] ~]# vserver dns start > secure-mount: chdir("/tmp"): No such file or directory > /usr/local/etc/vservers/dns/fstab:2:1: failed to mount fstab-entry > find: var/run: No such file or directory > fakerunlevel: open("/var/run/utmp"): No such file or directory > Failed to start vserver 'dns' > > ...although I've reompiled and reinstalled the util-vserver utilities > with a -prefix=/ they still seem to be running > on /usr/local/etc/vservers rather than /vservers. > > How can I fix this? > > Thanks again for your help and patience. > -- John Francis Lee 1/9-10 Thanon Trairat Muang Chiang Rai 57000 Thailand ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] building first guest vserver
Hello again. I got a skeleton guest server built and am now trying to start it. There were some files that could not be copied from the /proc directory so I skipped them. I had an error message that running vprocunhide seemed to take care of. But now... [EMAIL PROTECTED] ~]# vserver dns start secure-mount: chdir("/tmp"): No such file or directory /usr/local/etc/vservers/dns/fstab:2:1: failed to mount fstab-entry find: var/run: No such file or directory fakerunlevel: open("/var/run/utmp"): No such file or directory Failed to start vserver 'dns' ...although I've reompiled and reinstalled the util-vserver utilities with a -prefix=/ they still seem to be running on /usr/local/etc/vservers rather than /vservers. How can I fix this? Thanks again for your help and patience. -- John Francis Lee 1/9-10 Thanon Trairat Muang Chiang Rai 57000 Thailand ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Building a vserver 'by hand'
Hello, Since I'm not having any success with vserver build I wonder if someone might outline the steps for building a vserver 'by hand'? Thanks for your patience with my troubles. -- John Francis Lee 1/9-10 Thanon Trairat Muang Chiang Rai 57000 Thailand ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] vserver-build
Hello, I apologize for sending to Herbert Poetzl directly... I meant to address the list. > I'd suggest updating to 2.6.14.2-vs2.0.1-rc3 The latest release I see on the website is : http://www.13thfloor.at/vserver/s_rel26/v2.0/patch-2.6.12.4-vs2.0.diff After diddling around with vserver build for quite awhile I am now to the point where I get the following error : [EMAIL PROTECTED] ~]# vserver dns build -m yum --hostname=dns.kic.muangchiangrai.net --interface eth1:10.0.0.3/24 -- -d fc3 You are using a version of yum which is insecure and broken in chroot related operations; either apply the patches shipped in the 'contrib/' directory of util-vserver, or ask the author of yum to apply them (preferred). In the meantime, 'vyum' will continue with dirty hacks which might not work when the vserver is running and local DOS attacks are possible. Execution will continue in 5 seconds... Exiting on user cancel rm: cannot remove directory `/usr/local/etc/vservers/.defaults/vdirbase/dns/proc': Device or resource busy rm: cannot remove directory `/usr/local/etc/vservers/.defaults/vdirbase/dns/.rpmdb': Device or resource busy The process hangs after the 5 seconds message and then complains about its inability to remove directories thereafter. I remove the /usr/local/etc/vservers/.defaults/vdirbase/dns by hand but it makes no difference. If I remove /vservers/dns as well I get a different error : /vservers/dns/../../../../../../../../../../../..//usr/local/etc/vservers/.defaults/vdirbase/.pkg/dns/yum/cache/base/repomd.xml:1: parser error : Start tag expected, '<' not found This site is a Mirror for: ^ Cannot open/read repomd.xml file for repository: base Error importing repomd.xml from base: Error: could not parse file /vservers/dns/../../../../../../../../../../../..//usr/local/etc/vservers/.defaults/vdirbase/.pkg/dns/yum/cache/base/repomd.xml I have no /usr/local/etc/vservers/.defaults/vdirbase/.pkg/dns/ directory. I think I must have got off on the wrong foot here somehow, so many things are going wrong. -- John Francis Lee 1/9-10 Thanon Trairat Muang Chiang Rai 57000 Thailand ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] vserver-build
Hello, I'm trying to find the documentation on the build options for vserver. I am running LinuxTLE, an FC3 based distribution : Linux 2.6.11.9-vs2.0-rc1 I am running the 30.209 utilities. I am switching from a 2.4 kernel base version and understand that the vserver set up is different. I used to use a perl script to set up vservers on the old system. Thanks. -- John Francis Lee 1/9-10 Thanon Trairat Muang Chiang Rai 57000 Thailand ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] squid
In follow up on my problem... I was editing /etc/squid/squid.conf while the 'real' configuration file had ended up in /usr/local/squid/etc/squid/squid.conf, the difference due to tarball versus earlier rpm installation. Once I, duh, figured this out all my problems went away. Thanks again for all your help. Never did hear from anyone on the suid list. On Wed, 2004-08-18 at 15:20, John Francis Lee wrote: > Thanks all... I have the squid running and it's something to do with my > configuration... connections are being refused but logged. > > Sorry to bother you all. > > Thanks again for the help. > > If only the squid user list was as responsive as you all :) > > On Wed, 2004-08-18 at 13:46, Dariush Pietrzak wrote: > > > I haven't found any reference to squid in the FAQs or in the last year's > > > archives. > > That's because there should be no problem with squid inside vserver, works > > without modifications. Maybe you could post some excerpts from error log? > > Check if it really is listening and stuff... > > ___ > Vserver mailing list > [EMAIL PROTECTED] > http://list.linux-vserver.org/mailman/listinfo/vserver > ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] squid
Thanks all... I have the squid running and it's something to do with my configuration... connections are being refused but logged. Sorry to bother you all. Thanks again for the help. If only the squid user list was as responsive as you all :) On Wed, 2004-08-18 at 13:46, Dariush Pietrzak wrote: > > I haven't found any reference to squid in the FAQs or in the last year's > > archives. > That's because there should be no problem with squid inside vserver, works > without modifications. Maybe you could post some excerpts from error log? > Check if it really is listening and stuff... ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Weekly News (001)
And thank you very much for paper 7! On à., 2004-06-28 at 01:54, Herbert Poetzl wrote: > Hi Community! > > Linux-VServer Weekly News (001) > > previous week (history, what was done): > > - xid-Tagging for nfs mounted filesystems, with an >unmodified nfs server (2.6) > > - first experimental testing of Vserver Disk Limits for >the Linux 2.6 development releases > > - final Linux-Tag Conference preparations, journey >to Karlsruhe (Germany), Conference and Linux-VServer >talk [ref01] > > next week (near future, what is planned): > > - finalizing the disk limits for testing > - cleaning up the include files/dependancies > - adapting the Linux-Tag Paper for the wiki > - getting the Linux-VServer network talk going > > todo list: > > - Linux-VServer Networking (Next Gen) > - Test Suite for Kernel/Tool testing > - Obsoleting Legacy kernel code ... > > > feel free to ask about and/or comment on the topics ... > > best, > Herbert > > PS: I'd like to get some feedback if this kind of > info is appreciated or not ... > > > ref01:http://vserver.13thfloor.at/Stuff/PAPER-07.txt > > > ___________ > Vserver mailing list > [EMAIL PROTECTED] > http://list.linux-vserver.org/mailman/listinfo/vserver -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Weekly News (001)
This is very good. Thank you very much. On à., 2004-06-28 at 01:54, Herbert Poetzl wrote: > Hi Community! > > Linux-VServer Weekly News (001) > > previous week (history, what was done): > > - xid-Tagging for nfs mounted filesystems, with an >unmodified nfs server (2.6) > > - first experimental testing of Vserver Disk Limits for >the Linux 2.6 development releases > > - final Linux-Tag Conference preparations, journey >to Karlsruhe (Germany), Conference and Linux-VServer >talk [ref01] > > next week (near future, what is planned): > > - finalizing the disk limits for testing > - cleaning up the include files/dependancies > - adapting the Linux-Tag Paper for the wiki > - getting the Linux-VServer network talk going > > todo list: > > - Linux-VServer Networking (Next Gen) > - Test Suite for Kernel/Tool testing > - Obsoleting Legacy kernel code ... > > > feel free to ask about and/or comment on the topics ... > > best, > Herbert > > PS: I'd like to get some feedback if this kind of > info is appreciated or not ... > > > ref01:http://vserver.13thfloor.at/Stuff/PAPER-07.txt > > > ___________ > Vserver mailing list > [EMAIL PROTECTED] > http://list.linux-vserver.org/mailman/listinfo/vserver -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] administrative 'host', X on vserver?
Thanks Dariush. On à., 2004-03-08 at 20:21, Dariush Pietrzak wrote: > > Is it possible to break a workstation down into a minimal administrative > > backend component and an X-interfaced frontend vserver? > Yes. > But putting X server inside vserver is not that easy and doesn't make much > sense ( IIRC /dev/kmem is needed for X, and this makes such solution not > that safer then running Xserver on master vserver ). -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] administrative 'host', X on vserver?
I'm looking forward to it, Liam. Thanks. On à., 2004-03-09 at 07:51, Liam Helmer wrote: > Yes, it works fine -> but you have to fine-tune the permissions a lot -> > it ends up requiring most of the admin permissions, /dev/kmem, etc... > > It still makes sense for some applications -> having a separate > filesystem namespace and/or ip space for a desktop can be a great boon > for zero administration environments. I'm almost ready to release a > distribution built around this concept... I'll post more when I actually > have more information up on my site. > > Cheers, > Liam > > On Mon, 2004-03-08 at 05:21, Dariush Pietrzak wrote: > > > Is it possible to break a workstation down into a minimal administrative > > > backend component and an X-interfaced frontend vserver? > > Yes. > > But putting X server inside vserver is not that easy and doesn't make much > > sense ( IIRC /dev/kmem is needed for X, and this makes such solution not > > that safer then running Xserver on master vserver ). > > > > ___________ > Vserver mailing list > [EMAIL PROTECTED] > http://list.linux-vserver.org/mailman/listinfo/vserver -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] administrative 'host', X on vserver?
Hello, Is it possible to break a workstation down into a minimal administrative backend component and an X-interfaced frontend vserver? -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] OVERFLOW 497 1 83e76c0
Hello, I have run vserver sis enter in two separate ssh terminals. Working in one I move to the other and find ... OVERFLOW 497 1 83e76c0 OVERFLOW 497 1 83e3f70 OVERFLOW 497 1 83ed330 OVERFLOW 497 1 83e3bb0 OVERFLOW 497 1 83e8a08 OVERFLOW 497 1 83e88c8 OVERFLOW 497 1 83e8218 These keep appearing. What does this signify? Thanks for your help. -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] errors shutting down things not started
Yes I had commented the same lines in syslog and found a similar solution to halt. Thanks very much for your help. On à., 2004-01-05 at 06:20, Darryl Ross wrote: > Taking Herbert's response a little further by giving solutions. All of > my virtual servers are running RedHat, with very few exceptions, so > these instructions apply to that. Modify for other distros if required. > > >>I still have lots of errors shutting down things that I never explicitly > >>started, the kernel log daemon, and things not mounted in the vserver > >>fstab. > >> > >> > > > >unfortunately this is/was expected, because the > >sysv init scripts of most distributions need some > >reworking to run without errors ... > > > >a) /etc/init.d/syslog usually starts two loggers > > the system logger and the kernel logger > > > > as no vserver has access to kernel logging > > stuff, the startup of the kernel logger will > > fail, which isn't detected by most scripts > > (reporting success on startup) but results in > > an error when the same script tries to stop > > the kernel logger ... > > > > > I normally edit the /etc/init.d/syslog file and comment out the parts > that try to start and stop klogd. Attached is a diff file of the changes > I make to it. > > >b) at shutdown (usually runlevel 6) as final step > > almost every distro does some unmounting and > > hardware stuff (setting hw clock, storing > > random seed, quota, etc) before the actual > > 'reboot' > > > > this will fail, as most operations are not > > allowed, or simply wrong (like unmounting > > everything in /proc/mounts ...) so it is best > > to remove the entire stop script ... > > > > > The easiest way is to move the /etc/init.d/halt file out of the way (as > a backup) and then > > ln -s /bin/true /etc/init.d/halt > > That should remove the error messages. > > HTH > Regards > Darryl > > __ > 25c25 > < KLOGD_OPTIONS="-2" > --- > > # KLOGD_OPTIONS="-2" > 37,39c37,39 > < echo -n $"Starting kernel logger: " > < daemon klogd $KLOGD_OPTIONS > < echo > --- > > # echo -n $"Starting kernel logger: " > > # daemon klogd $KLOGD_OPTIONS > > # echo > 44,46c44,46 > < echo -n $"Shutting down kernel logger: " > < killproc klogd > < echo > --- > > # echo -n $"Shutting down kernel logger: " > > # killproc klogd > > # echo > 56c56 > < status klogd > --- > > # status klogd -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] errors shutting down things not started
Hello, I have used vskel-2.0 to create a skeleton and my firs vserver. Having created vserver I realized that the sysv startup files need attention, and after figuring out that I needed to run vserver sis exec chkconfig --level 2345 off rather than chkconfig --level 2345 off to stop them running when I use vserver sis start I now get : [EMAIL PROTECTED] rc.d]# vserver sis status Server sis is not running [EMAIL PROTECTED] rc.d]# vserver sis start Starting the virtual server sis Server sis is not running ipv4root is now 10.0.0.16 Host name is now sis.kic.muangchiangrai.net Domain name is now New security context is 50 Starting system logger:[ OK ] Starting kernel logger:[ OK ] Starting sshd: [ OK ] Starting crond:[ OK ] Starting atd: I change the listening addresses for sshd in the host and vserver as mentioned in the docs. I also edited : /vserver/sis/etc/rc.d/rc.sysinit and /vserver/sis/etc/inittab and commented out most of both of those files. But when I : [EMAIL PROTECTED] rc.d]# vserver sis stop Stopping the virtual server sis Server sis is running ipv4root is now 10.0.0.16 New security context is 50 Stopping atd: [ OK ] Stopping sshd: [ OK ] Stopping crond:[ OK ] Shutting down kernel logger: [FAILED] Shutting down system logger: [ OK ] Starting killall: [ OK ] Sending all processes the TERM signal... [ OK ] Sending all processes the KILL signal... [ OK ] Saving mixer settings aumix: error opening mixer [FAILED] Syncing hardware clock to system time hwclock is unable to get I/O port access: the iopl(3) call failed. [FAILED] Turning off swap: Not superuser. [FAILED] Turning off quotas: quotaoff: Can't stat() mounted device /dev/hda5: No such file or directory [ OK ] Unmounting file systems: umount2: No such file or directory umount: /vservers: not found umount2: Invalid argument umount: /usr: not mounted umount2: Invalid argument umount: /tmp: not mounted umount2: No such file or directory umount: /opt: not found umount2: Invalid argument umount: /home: not mounted umount2: No such file or directory umount: /boot: not found [FAILED] /vservers: No such file or directory /opt: No such file or directory /boot: No such file or directory No automatic removal. Please use umount /proc No automatic removal. Please use umount /dev/pts No automatic removal. Please use umount /proc No automatic removal. Please use umount /dev/pts No automatic removal. Please use umount /proc No automatic removal. Please use umount /dev/pts /usr/local/sbin/vserver: line 786: 1323 Killed $CHBIND_CMD $SILENT $IPOPT --bcast $IPROOTBCAST $CHCONTEXT_CMD $SILENT $CAPS --secure --ctx $S_CONTEXT $CAPCHROOT_CMD . $STOPCMD sleeping 5 seconds Killing all processes I still have lots of errors shutting down things that I never explicitly started, the kernel log daemon, and things not mounted in the vserver fstab. I'd appreciate any insight into this situation that might be offered. Thanks for all your help thus far. -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] chkconfig
Hello, I've run vskel and created a vserver and attempted to start it. It's clear I should eliminate a lot of the startup scripts in /etc/rc.d/init.d But chkconfig seems to work on THE /etc/rc.d/init.d Do I have to delete all the startup scripts by hand? If so, which ones ought I to keep? Thanks. -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] I've discovered my error
Hello again, I've discovered that attr's are inherited and that it was the existence of 'i' and 't' further up the tree that were making it impossible for me to delete my source directories. Thanks in any case. -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] vservers by hand
Hello, I tried vskel and it seems to work well. I am now trying to remove source directories from [EMAIL PROTECTED] src]# pwd /vservers/.skel/vs00/global/usr/src But I get [EMAIL PROTECTED] src]# rm -f linux rm: cannot remove `linux': Permission denied [EMAIL PROTECTED] src]# ls -l linux lrwxrwxrwx1 root root 12 à.à. 31 17:14 linux -> linux-2.4.23 [EMAIL PROTECTED] src]# ls -ld linux-2.4.23 drwxr-xr-x 16 root root 4096 à.à. 30 18:37 linux-2.4.23 [EMAIL PROTECTED] src]# lsattr -d linux-2.4.23 ---t- linux-2.4.23 Why can't I remove these directories? On à., 2003-12-29 at 22:12, Simon Garner wrote: > On Monday, December 29, 2003 2:43 AM NZT, > John Francis Lee <[EMAIL PROTECTED]> wrote: > > > Hello, > > > > Since I cannot make the newvserver command work I guess I'll try to > > create vservers by hand? > > > > Try VSkel... > > http://www.linux-vserver.org/index.php?page=VSkel > > -Simon > > ___ > Vserver mailing list > [EMAIL PROTECTED] > http://list.linux-vserver.org/mailman/listinfo/vserver -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] vservers by hand
Hello, Since I cannot make the newvserver command work I guess I'll try to create vservers by hand? mkdir /vservers/XX cd /vservers/XX cp -ax /sbin /bin /etc /usr /var /dev /lib . mkdir proc tmp home chmod 1777 tmp Then edit a configuration file as suggested in Jacques original article? Will this work ok? Thanks again for all your help. -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
Re: non-[Vserver] apt-get anomaly
On à., 2003-12-23 at 21:35, Paul Sladen wrote: > On 23 Dec 2003, John Francis Lee wrote: > > Hello John, > > This isn't specific to vserver, this is a general APT question. > > > [EMAIL PROTECTED] root]# apt-get -y upgrade > > Have you done `apt-get update' to update the package database before trying > to do an `upgrade' ? yes > > > You might want to run `apt-get -f install' to correct these. > > The following packages have unmet dependencies: > > rpm: Depends: libelf (>= 0.8.2) but it is not installed > >Depends: libelf.so.0 > > Could you mail the output of: > > $ dpkg -l | grep -E 'lib(crypt|ssl|elf)' do not have dpkg [EMAIL PROTECTED] rpms]# rpm -qa | grep -E 'lib(crypt|elf|ssl)' elfutils-libelf-0.89-2 [EMAIL PROTECTED] rpms]# rpm -Uvh --force openssl-0.9.7a-26.i686.rpm Preparing...### [100%] 1:openssl### [100%] [EMAIL PROTECTED] rpms]# rpm -qa | grep -E 'lib(crypt|elf|ssl)' elfutils-libelf-0.89-2 > > > [EMAIL PROTECTED] root]# ls /usr/lib/lib[ces][lrs][fly]* > > Do you know about `ls /usr/lib/lib{crypt,elf,ssl}*' ? > > > Running apt-get -f install gives me a very stern warning > > What warning, exactly what command line are you giving it? [EMAIL PROTECTED] rpms]# apt-get -f install Reading Package Lists... Done Building Dependency Tree... Done Correcting dependencies... Done The following extra packages will be installed: grip id3lib popt rpm rpm-build rpm-devel rpm-python The following packages will be upgraded grip popt rpm rpm-build rpm-devel rpm-python The following packages will be REMOVED: Guppi-devel Omni Omni-foomatic apt autofs bind-utils bug-buddy control-center cups-libs curl curl-devel cyrus-sasl-md5 eel2 eel2-devel eog file-roller gdm gedit ggv ghostscript ghostscript-fonts gimp-print gimp-print-utils gnome-applets gnome-desktop gnome-media gnome-panel gnome-pilot gnome-pilot-devel gnome-print gnome-print-devel gnome-python2 gnome-python2-bonobo gnome-python2-gtkhtml2 gnome-session gnome-system-monitor gnome-terminal gnome-utils gnome-vfs gnome-vfs-devel gnome-vfs-extras gnome-vfs2 gnome-vfs2-devel gnome-vfs2-extras gnomemeeting gnupg gtkhtml gtkhtml-devel gtkhtml2 gtoaster hpijs hwbrowser kbd kbdconfig lftp libbonoboui libbonoboui-devel libgnome libgnome-devel libgnomeprint libgnomeprintui libgnomeui libgnomeui-devel libuser libuser-devel magicdev memprof metacity mtr-gtk nautilus net-snmp net-snmp-utils nss_ldap openh323 openldap openldap-devel passwd pwlib pyOpenSSL qt redhat-artwork rhnlib sendmail stunnel tcpdump usermode usermode-gtk vorbis-tools yelp The following NEW packages will be installed: id3lib WARNING: The following essential packages will be removed This should NOT be done unless you know exactly what you are doing! apt passwd libuser (due to passwd) 6 packages upgraded, 1 newly installed, 89 removed and 70 not upgraded. Need to get 4932kB of archives. After unpacking 251MB disk space will be freed. You are about to do something potentially harmful To continue type in the phrase 'Yes, do as I say!' ?] n Abort. > > -Paul -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
Re: non-[Vserver] apt-get anomaly
Thanks again. I don't have a dpkg command. It's beginning to appear that this package requires Debian to work correctly? On à., 2003-12-23 at 21:35, Paul Sladen wrote: > On 23 Dec 2003, John Francis Lee wrote: > > Hello John, > > This isn't specific to vserver, this is a general APT question. > > > [EMAIL PROTECTED] root]# apt-get -y upgrade > > Have you done `apt-get update' to update the package database before trying > to do an `upgrade' ? > > > You might want to run `apt-get -f install' to correct these. > > The following packages have unmet dependencies: > > rpm: Depends: libelf (>= 0.8.2) but it is not installed > >Depends: libelf.so.0 > > Could you mail the output of: > > $ dpkg -l | grep -E 'lib(crypt|ssl|elf)' > > > [EMAIL PROTECTED] root]# ls /usr/lib/lib[ces][lrs][fly]* > > Do you know about `ls /usr/lib/lib{crypt,elf,ssl}*' ? > > > Running apt-get -f install gives me a very stern warning > > What warning, exactly what command line are you giving it? > > -Paul -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] apt-get anomaly
Hello again, I ran apt-get update : [EMAIL PROTECTED] root]# apt-get -y upgrade Reading Package Lists... Done Building Dependency Tree... Done You might want to run `apt-get -f install' to correct these. The following packages have unmet dependencies: apt: Depends: libelf.so.0 bind-utils: Depends: libcrypto.so.2 cups-libs: Depends: libcrypto.so.2 Depends: libssl.so.2 curl: Depends: libcrypto.so.2 Depends: libssl.so.2 cyrus-sasl-md5: Depends: libcrypto.so.2 gnome-vfs: Depends: libcrypto.so.2 Depends: libssl.so.2 gnome-vfs2: Depends: libcrypto.so.2 Depends: libssl.so.2 lftp: Depends: libcrypto.so.2 Depends: libssl.so.2 net-snmp: Depends: libcrypto.so.2 Depends: libelf.so.0 net-snmp-utils: Depends: libcrypto.so.2 openldap: Depends: libcrypto.so.2 Depends: libssl.so.2 pyOpenSSL: Depends: libcrypto.so.2 Depends: libssl.so.2 rpm: Depends: libelf (>= 0.8.2) but it is not installed Depends: libelf.so.0 rpm-build: Depends: libelf.so.0 rpm-devel: Depends: libelf.so.0 rpm-python: Depends: libelf.so.0 sendmail: Depends: libcrypto.so.2 Depends: libssl.so.2 stunnel: Depends: libcrypto.so.2 Depends: libssl.so.2 tcpdump: Depends: libcrypto.so.2 E: Unmet dependencies. Try using -f. But : [EMAIL PROTECTED] root]# ls /usr/lib/lib[ces][lrs][fly]* /usr/lib/libcrypt.a /usr/lib/libelf-0.89.so /usr/lib/libssl.a /usr/lib/libcrypto.a /usr/lib/libelf.a/usr/lib/libssl.so /usr/lib/libcrypto.so/usr/lib/libelf.so /usr/lib/libssl.so.2 /usr/lib/libcrypto.so.2 /usr/lib/libelf.so.0 /usr/lib/libcrypt.so /usr/lib/libelf.so.1 Running apt-get -f install gives me a very stern warning not to continue. -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Newbie doc posted (beta)
Right. Did that. Thanks. On à., 2003-12-23 at 16:48, James Noble wrote: > You should also adjust the filename that you download, > > ftp://ftp.freshrpms.net/pub/freshrpms/redhat/8.0/apt/apt-0.5.5cnc6-fr0.rh80.1.i386.rpm > > is the rh8.0 version > > > James > *** REPLY SEPARATOR *** > > On 12/23/2003 at 4:33 PM John Francis Lee wrote: > > >Well if you use it on rh7.3 with no ill effects it will probably work > >for me as well. > > > >I have small bandwidth and must wait for night time to do the upgrade. > > > >I'll let you know how things work out. > > > >Thanks again for all your help. > > > >On ., 2003-12-23 at 15:48, James Noble wrote: > >> Hello, Yes it was a debian tool, I just like it, I have been using it on > >many servers (we have more than 300 of them here) and never had a problem > >with the RPM db, If you want to use something else instead, by all means, > >go ahead, and post your adaptaion of the instructions to the wiki. > >> > >> James > >> > >> *** REPLY SEPARATOR *** > >> > >> On 12/23/2003 at 12:12 PM John Francis Lee wrote: > >> > >> >Hello, > >> > > >> >The server has a redhat 8.0 installation in the / partition and a > >> >separate partition mounted on /vservers to which I would like to add my > >> >vservers. > >> > > >> >Isn't apt-get a debian tool? Won't it confuse the rpm database? I have > >> >manually upgraded several packages from the fedora ftp site, notably > >> >openssl and openssh... but others as well. Will apt-get interfere with > >> >this? > >> > > >> >My sever is not accessible from outside. Thanks for the offer. > >> > > >> >And thanks for your continuing help and patience. > >> > > >> >On ., 2003-12-23 at 09:42, James Noble wrote: > >> >> No, I have not had that problem. is this a fresh redhat server, and > >did > >> >you do the updates with ag? > >> >> > >> >> I am willing to take a look, if your server is accessable, just set > >the > >> >login info, and mail to me directly@ [EMAIL PROTECTED] > >> >> > >> >> James > >> >> > >> >> *** REPLY SEPARATOR *** > >> >> > >> >> On 12/22/2003 at 9:32 PM John Francis Lee wrote: > >> >> > >> >> >Hello again James, > >> >> > > >> >> >I reinstalled the rpms as you suggested and things went much better > >> >> >after that. > >> >> > > >> >> >But the installation hangs after some small number of rpms is > >installed. > >> >> > > >> >> >I have to kill the rpm process and delete and rebuild the rpm > >database. > >> >> >Then the same thing happens again. > >> >> > > >> >> >I had this problem initially when I was running install-rh8.0 by > >hand. > >> >> > > >> >> >Have you seen it yourself? > >> >> > > >> >> >I've upgraded to rpm-4.2.1. > >> >> > > >> >> >On ., 2003-12-22 at 14:21, James Noble wrote: > >> >> >> Hello, I do not know why, vservers seems to want it. > >> >> >> > >> >> >> if the rpm's were installed then you should have those files, try > >> >> >rerunning the instructions, and se if they show up > >> >> >> > >> >> >> > >> >> >> Let me know if you have any more troubles, > >> >> >> > >> >> >> James > >> >> >> > >> >> >> *** REPLY SEPARATOR *** > >> >> >> > >> >> >> On 12/22/2003 at 12:59 PM John Francis Lee wrote: > >> >> >> > >> >> >> >Hello James Noble, > >> >> >> > > >> >> >> >Thank you for your How-To. > >> >> >> > > >> >> >> >I'm following along, more or less, and am at > >> >> >> > service nscd start > >> >> >> > chkconfig nscd on 345 > >> >> >> >Why do I need
Re: [Vserver] Newbie doc posted (beta)
Well if you use it on rh7.3 with no ill effects it will probably work for me as well. I have small bandwidth and must wait for night time to do the upgrade. I'll let you know how things work out. Thanks again for all your help. On à., 2003-12-23 at 15:48, James Noble wrote: > Hello, Yes it was a debian tool, I just like it, I have been using it on many > servers (we have more than 300 of them here) and never had a problem with the RPM > db, If you want to use something else instead, by all means, go ahead, and post your > adaptaion of the instructions to the wiki. > > James > > *** REPLY SEPARATOR *** > > On 12/23/2003 at 12:12 PM John Francis Lee wrote: > > >Hello, > > > >The server has a redhat 8.0 installation in the / partition and a > >separate partition mounted on /vservers to which I would like to add my > >vservers. > > > >Isn't apt-get a debian tool? Won't it confuse the rpm database? I have > >manually upgraded several packages from the fedora ftp site, notably > >openssl and openssh... but others as well. Will apt-get interfere with > >this? > > > >My sever is not accessible from outside. Thanks for the offer. > > > >And thanks for your continuing help and patience. > > > >On ., 2003-12-23 at 09:42, James Noble wrote: > >> No, I have not had that problem. is this a fresh redhat server, and did > >you do the updates with ag? > >> > >> I am willing to take a look, if your server is accessable, just set the > >login info, and mail to me directly@ [EMAIL PROTECTED] > >> > >> James > >> > >> *** REPLY SEPARATOR *** > >> > >> On 12/22/2003 at 9:32 PM John Francis Lee wrote: > >> > >> >Hello again James, > >> > > >> >I reinstalled the rpms as you suggested and things went much better > >> >after that. > >> > > >> >But the installation hangs after some small number of rpms is installed. > >> > > >> >I have to kill the rpm process and delete and rebuild the rpm database. > >> >Then the same thing happens again. > >> > > >> >I had this problem initially when I was running install-rh8.0 by hand. > >> > > >> >Have you seen it yourself? > >> > > >> >I've upgraded to rpm-4.2.1. > >> > > >> >On ., 2003-12-22 at 14:21, James Noble wrote: > >> >> Hello, I do not know why, vservers seems to want it. > >> >> > >> >> if the rpm's were installed then you should have those files, try > >> >rerunning the instructions, and se if they show up > >> >> > >> >> > >> >> Let me know if you have any more troubles, > >> >> > >> >> James > >> >> > >> >> *** REPLY SEPARATOR *** > >> >> > >> >> On 12/22/2003 at 12:59 PM John Francis Lee wrote: > >> >> > >> >> >Hello James Noble, > >> >> > > >> >> >Thank you for your How-To. > >> >> > > >> >> >I'm following along, more or less, and am at > >> >> > service nscd start > >> >> > chkconfig nscd on 345 > >> >> >Why do I need the nameserver cache demon? > >> >> > > >> >> > pico /etc/vservers.conf > >> >> > (set BACKGROUND=yes) > >> >> >I don't have an /etc/vservers.conf > >> >> > > >> >> >I found a file named > >> >> > vserver-0.29/distrib/sample.conf > >> >> >but it looks as though it wants to source the same non-existent > >> >> >/etc/vservers.conf to which you refer. > >> >> > > >> >> > pico /etc/vservers/newvserver.defaults > >> >> >Neither do I have an > >> >> > /etc/vservers/ > >> >> >directory nor a > >> >> > /etc/vservers/newvserver.defaults > >> >> >file. > >> >> > > >> >> >Can you point me to copies of these somewhere that I might customize > >and > >> >> >make my own? > >> >> > > >> >> >Thanks very much for the How-To and for any further help you might > >give > >> >> >here. > >> >> > > >> >> > > >> >> >On ., 2003-12-21 at 20:31, James
Re: [Vserver] Newbie doc posted (beta)
Hello, The server has a redhat 8.0 installation in the / partition and a separate partition mounted on /vservers to which I would like to add my vservers. Isn't apt-get a debian tool? Won't it confuse the rpm database? I have manually upgraded several packages from the fedora ftp site, notably openssl and openssh... but others as well. Will apt-get interfere with this? My sever is not accessible from outside. Thanks for the offer. And thanks for your continuing help and patience. On à., 2003-12-23 at 09:42, James Noble wrote: > No, I have not had that problem. is this a fresh redhat server, and did you do the > updates with ag? > > I am willing to take a look, if your server is accessable, just set the login info, > and mail to me directly@ [EMAIL PROTECTED] > > James > > *** REPLY SEPARATOR *** > > On 12/22/2003 at 9:32 PM John Francis Lee wrote: > > >Hello again James, > > > >I reinstalled the rpms as you suggested and things went much better > >after that. > > > >But the installation hangs after some small number of rpms is installed. > > > >I have to kill the rpm process and delete and rebuild the rpm database. > >Then the same thing happens again. > > > >I had this problem initially when I was running install-rh8.0 by hand. > > > >Have you seen it yourself? > > > >I've upgraded to rpm-4.2.1. > > > >On ., 2003-12-22 at 14:21, James Noble wrote: > >> Hello, I do not know why, vservers seems to want it. > >> > >> if the rpm's were installed then you should have those files, try > >rerunning the instructions, and se if they show up > >> > >> > >> Let me know if you have any more troubles, > >> > >> James > >> > >> *** REPLY SEPARATOR *** > >> > >> On 12/22/2003 at 12:59 PM John Francis Lee wrote: > >> > >> >Hello James Noble, > >> > > >> >Thank you for your How-To. > >> > > >> >I'm following along, more or less, and am at > >> > service nscd start > >> > chkconfig nscd on 345 > >> >Why do I need the nameserver cache demon? > >> > > >> > pico /etc/vservers.conf > >> > (set BACKGROUND=yes) > >> >I don't have an /etc/vservers.conf > >> > > >> >I found a file named > >> > vserver-0.29/distrib/sample.conf > >> >but it looks as though it wants to source the same non-existent > >> >/etc/vservers.conf to which you refer. > >> > > >> > pico /etc/vservers/newvserver.defaults > >> >Neither do I have an > >> > /etc/vservers/ > >> >directory nor a > >> > /etc/vservers/newvserver.defaults > >> >file. > >> > > >> >Can you point me to copies of these somewhere that I might customize and > >> >make my own? > >> > > >> >Thanks very much for the How-To and for any further help you might give > >> >here. > >> > > >> > > >> >On ., 2003-12-21 at 20:31, James Noble wrote: > >> >> http://www.linux-vserver.org/index.php?page=New-Howto > >> >> > >> >> its rough, anyone who wants to can edit as needed. > >> >> > >> >> James Noble > >> >> > >> >> ___ > >> >> Vserver mailing list > >> >> [EMAIL PROTECTED] > >> >> http://list.linux-vserver.org/mailman/listinfo/vserver > >> >-- > >> >John Francis Lee <[EMAIL PROTECTED]> > >> > > >> >___ > >> >Vserver mailing list > >> >[EMAIL PROTECTED] > >> >http://list.linux-vserver.org/mailman/listinfo/vserver > >> > >> > >> > >> ___ > >> Vserver mailing list > >> [EMAIL PROTECTED] > >> http://list.linux-vserver.org/mailman/listinfo/vserver > >-- > >John Francis Lee <[EMAIL PROTECTED]> > > > >___ > >Vserver mailing list > >[EMAIL PROTECTED] > >http://list.linux-vserver.org/mailman/listinfo/vserver > > > > ___ > Vserver mailing list > [EMAIL PROTECTED] > http://list.linux-vserver.org/mailman/listinfo/vserver -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] deleting vservers directory?
That worked. Thank you. On à., 2003-12-23 at 09:41, Paul Sladen wrote: > On 23 Dec 2003, John Francis Lee wrote: > > Now I have tried to delete the vserver directory and start over, but am > > unable to do so : > > > > rm: cannot chdir from `vs01/dev/pts/.' to `0': Not a directory > > rm: cannot chdir from `vs01/proc/.' to `ixj': Not a directory > > If you do: > > host:~# mount | grep vs01 > > in the host server, you'll notice theses to filesystems are mounted and > therefore in use. If you do either of: > > host:~# vserver vs01 stop [automatic] > > host:~# cd ; umount /vservers/vs01{/dev/pts,/proc}[manual] > > then you should have no problem deleting the directories (mount > points) that filesystems are mounted on. You will need to issue `stop' > anyway to kill all the processes in that context anyway. > > Hope that helps, > > -Paul -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] deleting vservers directory?
Hello, I had to abort the installation of my first vserver because rpm hung trying to install the rpms. Now I have tried to delete the vserver directory and start over, but am unable to do so : [EMAIL PROTECTED] vservers]# pwd /vservers [EMAIL PROTECTED] vservers]# ls lost+found vs01 [EMAIL PROTECTED] vservers]# rm -rf vs01 rm: cannot chdir from `vs01/dev/pts/.' to `0': Not a directory rm: cannot chdir from `vs01/dev/pts/.' to `1': Not a directory rm: cannot chdir from `vs01/proc/.' to `ixj': Not a directory rm: cannot chdir from `vs01/proc/scsi/ide-scsi/.' to `0': Not a directory rm: cannot chdir from `vs01/proc/scsi/.' to `scsi': Not a directory rm: cannot chdir from `vs01/proc/.' to `pci': Not a directory rm: cannot chdir from `vs01/proc/ide/.' to `via': Not a directory rm: cannot chdir from `vs01/proc/ide/.' to `drivers': Not a directory rm: `vs01/proc/ide/hdc/.' changed dev/ino: Operation not permitted I tried : [EMAIL PROTECTED] vservers]# vserver vs01 exec rm -rf /vservers/vs01 ipv4root is now 10.0.0.17 Host name is now vs01.kic.muangchiangrai.net New security context is 49152 Can't execute rm (No such file or directory) It looks like I'm going to have to create the vservers by hand since newvserver fails. Where can I find the procedure for doing so, after I discover how to rid my machine of the corpse of this aborted installation? Thanks for all your help. -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Newbie doc posted (beta)
Hello again James, I reinstalled the rpms as you suggested and things went much better after that. But the installation hangs after some small number of rpms is installed. I have to kill the rpm process and delete and rebuild the rpm database. Then the same thing happens again. I had this problem initially when I was running install-rh8.0 by hand. Have you seen it yourself? I've upgraded to rpm-4.2.1. On à., 2003-12-22 at 14:21, James Noble wrote: > Hello, I do not know why, vservers seems to want it. > > if the rpm's were installed then you should have those files, try rerunning the > instructions, and se if they show up > > > Let me know if you have any more troubles, > > James > > *** REPLY SEPARATOR *** > > On 12/22/2003 at 12:59 PM John Francis Lee wrote: > > >Hello James Noble, > > > >Thank you for your How-To. > > > >I'm following along, more or less, and am at > > service nscd start > > chkconfig nscd on 345 > >Why do I need the nameserver cache demon? > > > > pico /etc/vservers.conf > > (set BACKGROUND=yes) > >I don't have an /etc/vservers.conf > > > >I found a file named > > vserver-0.29/distrib/sample.conf > >but it looks as though it wants to source the same non-existent > >/etc/vservers.conf to which you refer. > > > > pico /etc/vservers/newvserver.defaults > >Neither do I have an > > /etc/vservers/ > >directory nor a > > /etc/vservers/newvserver.defaults > >file. > > > >Can you point me to copies of these somewhere that I might customize and > >make my own? > > > >Thanks very much for the How-To and for any further help you might give > >here. > > > > > >On ., 2003-12-21 at 20:31, James Noble wrote: > >> http://www.linux-vserver.org/index.php?page=New-Howto > >> > >> its rough, anyone who wants to can edit as needed. > >> > >> James Noble > >> > >> ___ > >> Vserver mailing list > >> [EMAIL PROTECTED] > >> http://list.linux-vserver.org/mailman/listinfo/vserver > >-- > >John Francis Lee <[EMAIL PROTECTED]> > > > >___ > >Vserver mailing list > >[EMAIL PROTECTED] > >http://list.linux-vserver.org/mailman/listinfo/vserver > > > > ___ > Vserver mailing list > [EMAIL PROTECTED] > http://list.linux-vserver.org/mailman/listinfo/vserver -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Newbie doc posted (beta)
Hello James Noble, Thank you for your How-To. I'm following along, more or less, and am at service nscd start chkconfig nscd on 345 Why do I need the nameserver cache demon? pico /etc/vservers.conf (set BACKGROUND=yes) I don't have an /etc/vservers.conf I found a file named vserver-0.29/distrib/sample.conf but it looks as though it wants to source the same non-existent /etc/vservers.conf to which you refer. pico /etc/vservers/newvserver.defaults Neither do I have an /etc/vservers/ directory nor a /etc/vservers/newvserver.defaults file. Can you point me to copies of these somewhere that I might customize and make my own? Thanks very much for the How-To and for any further help you might give here. On àà., 2003-12-21 at 20:31, James Noble wrote: > http://www.linux-vserver.org/index.php?page=New-Howto > > its rough, anyone who wants to can edit as needed. > > James Noble > > ___ > Vserver mailing list > [EMAIL PROTECTED] > http://list.linux-vserver.org/mailman/listinfo/vserver -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] creating vservers (sans-linxconf installer)
Paul, Thank you. The script makes interesting reading. I'm on a modem though, and I don't really want to install over the wire. And I'd rather stick with the devil I know, rh, than go with the devil I don't know, deb. At least on a machine that already has a rh 'host' installed. I think I will investigate debian at the next iteration. Rh is becoming the MS of linux. I guess I'll take another look at the other newvserver again right now. Thanks again. On àà., 2003-12-21 at 17:10, Paul Sladen wrote: > On 21 Dec 2003, John Francis Lee wrote: > > I tried the newvserver script but it complained about a missing > > interpreter, and I would rather avoid installing the linuxconf system > > Yeah, me too. Just use the Debian `newvserver' command (runs on Red Hat): > > http://www.paul.sladen.org/vserver/debian/ > > -Paul -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] creating vservers
Hello, I am running a 2.4.23-owl-vs1.22 kernel and would now like to create some vservers. I tried the newvserver script but it complained about a missing interpreter, and I would rather avoid installing the linuxconf system and learning about yet another interpreter. I believe I was told that the util-vserver package can do everything I need to do, but I need a little more documentation on just how to proceed. Can anyone suggest such documentation? Thanks. -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] patching errors
.23/net/ipv4/af_inet.c patching file linux-2.4.23/net/ipv4/devinet.c patching file linux-2.4.23/net/ipv4/raw.c patching file linux-2.4.23/net/ipv4/tcp_ipv4.c patching file linux-2.4.23/net/ipv4/tcp_minisocks.c patching file linux-2.4.23/net/ipv4/udp.c patching file linux-2.4.23/net/ipv6/raw.c patching file linux-2.4.23/net/ipv6/tcp_ipv6.c patching file linux-2.4.23/net/ipv6/udp.c patching file linux-2.4.23/net/unix/af_unix.c The rejected hunk seems just to have been versioning information which failed because the version was already extended by "-owl". I extended it by hand to "-owl-vs1.22". I'm pretty sure that's ok. What about those offsets? Thanks for your help. -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] install-rh8.0 minimum
Sorry. I discovered my commandline error. I'm now trying : [EMAIL PROTECTED] util-vserver]# ./install-rh8.0 dhcpd minimum 163 packages to install warning: 4Suite-0.11.1-10.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e Preparing...### [100%] 1:setup ### [ 1%] 2:filesystem ### [ 1%] 3:basesystem ### [ 2%] 4:termcap### [ 3%] 5:glibc-common ### [ 3%] On à., 2003-12-16 at 15:21, Cathy Sarisky wrote: > On 16 Dec 2003, John Francis Lee wrote: > > > Yes, the /vservers directory is the mount point for a separate > > partition... but I still need the original, 'host' server in the root > > partition, right? > Right. > > > > So I will have two separate collections of rpm installations. One will > > be the 'host' server in the root partition and the other will be shared > > among as many virtual servers as I create in the vservers partition, > > right? > > > Right. > > ___ > Vserver mailing list > [EMAIL PROTECTED] > http://list.linux-vserver.org/mailman/listinfo/vserver -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] install-rh8.0 minimum
Thanks! Why is it installing 541 packages when there are only 163 lines in rh8.0-minimum? The installation seems to be hanging. Anyone else had this difficulty? [EMAIL PROTECTED] util-vserver]# ./install-rh8.0 minimum 541 packages to install warning: /mnt/cdrom/RedHat/RPMS/4Suite-0.11.1-10.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e Preparing...### [100%] 1:setup ### [ 0%] 2:filesystem ### [ 0%] 3:hwdata ### [ 1%] 4:redhat-menus ### [ 1%] 5:gnome-mime-data### [ 1%] 6:redhat-logos ### [ 1%] 7:glibc-common ### [ 1%] 8:basesystem ### [ 1%] 9:glibc ### [ 2%] 10:zlib ### [ 2%] 11:glib2 ### [ 2%] 12:libxml2### [ 2%] On à., 2003-12-16 at 15:21, Cathy Sarisky wrote: > On 16 Dec 2003, John Francis Lee wrote: > > > Yes, the /vservers directory is the mount point for a separate > > partition... but I still need the original, 'host' server in the root > > partition, right? > Right. > > > > So I will have two separate collections of rpm installations. One will > > be the 'host' server in the root partition and the other will be shared > > among as many virtual servers as I create in the vservers partition, > > right? > > > Right. > > ___ > Vserver mailing list > [EMAIL PROTECTED] > http://list.linux-vserver.org/mailman/listinfo/vserver -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] install-rh8.0 minimum
Yes, the /vservers directory is the mount point for a separate partition... but I still need the original, 'host' server in the root partition, right? So I will have two separate collections of rpm installations. One will be the 'host' server in the root partition and the other will be shared among as many virtual servers as I create in the vservers partition, right? On à., 2003-12-16 at 14:43, Herbert Poetzl wrote: > On Tue, Dec 16, 2003 at 12:02:15PM +0700, John Francis Lee wrote: > > Hello again, > > > > I have looked at the script > > install-rh8.0 > > and decided I will try > > install-rh8.0 minimum > > > > I have just a vserver 'host' installed now. > > > > I have a separate filesystem mounted on /vservers. > > > > I guess that I will end up with two "linux systems" : > > one under / > > the one unshared, separate vserver 'host' > > one under /verservers > > the one shared, via hard links, > > among my vservers > > / might not be the 'optimal' place for a > vserver, which should if possible reside on > a separate partition, but it should be possible > with recent tools (which allow to configure the > path) or symlinks ... > > > Is this correct? > > > > Can I then update/add/'unify' those rpms I want to share among my > > vservers to the second, shared, linux system? > > given that, two vserver lie on the same partition > and they have common rpms, then you can 'unify' > those vservers (or to be more precise the static > part of specific or all rpms), creating immutable > but removeable hardlinks (that is what unification > does) ... > > > And update/add those rpms or tarballs I want not to share to the > > individual vservers? > > that is the idea behind the ILI (Immutable Link > Invert), to allow removal but prohibit modification > so, it _is_ possible to update or just remove a > package for a unified vserver, but you cannot modify > the unified files, though you can remove and recreate > them with different 'not unified' contents. > > > Do I understand what I'm doing :) ? > > hmm, good question, time will tell ... > > > Thanks for your help. > > you are welcome > > HTH, > Herbert > > > -- > > John Francis Lee <[EMAIL PROTECTED]> > > ___ > > Vserver mailing list > > [EMAIL PROTECTED] > > http://list.linux-vserver.org/mailman/listinfo/vserver > ___ > Vserver mailing list > [EMAIL PROTECTED] > http://list.linux-vserver.org/mailman/listinfo/vserver -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] install-rh8.0 minimum
Hello again, I have looked at the script install-rh8.0 and decided I will try install-rh8.0 minimum I have just a vserver 'host' installed now. I have a separate filesystem mounted on /vservers. I guess that I will end up with two "linux systems" : one under / the one unshared, separate vserver 'host' one under /verservers the one shared, via hard links, among my vservers Is this correct? Can I then update/add/'unify' those rpms I want to share among my vservers to the second, shared, linux system? And update/add those rpms or tarballs I want not to share to the individual vservers? Do I understand what I'm doing :) ? Thanks for your help. -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
RE: [Vserver] Greetings
I guess you're right... [EMAIL PROTECTED] vserver-0.29]# locate ext2fs /lib/libext2fs.so.2 /lib/libext2fs.so.2.4 where do I get them? On àà., 2003-12-14 at 20:24, LuÃs Miguel Silva wrote: > It seems to me that you're missing the "kernel headers" from your system? > > [EMAIL PROTECTED] ~# locate ext2fs > /usr/include/ext2fs > /usr/include/ext2fs/ext2_ext_attr.h > /usr/include/ext2fs/bitops.h > /usr/include/ext2fs/ext2_err.h > /usr/include/ext2fs/ext2_types.h > /usr/include/ext2fs/ext2_fs.h > /usr/include/ext2fs/ext2_io.h > /usr/include/ext2fs/ext2fs.h > /usr/lib/libext2fs.a > /usr/lib/libext2fs.so > /usr/lib/libext2fs.so.2 > /lib/libext2fs.so.2.4 > /lib/libext2fs.so.2 > [EMAIL PROTECTED] ~# > > Check to see if you have them installed... > > Best, > +- > | LuÃs Miguel Silva > | Network Administrator@ ISPGaya.pt > | Rua AntÃnio Rodrigues da Rocha, 291/341 > | Sto. OvÃdio 4400-025 V. N. de Gaia > | Portugal > | T: +351 22 3745730/3/5 F: +351 22 3745738 > | G: +351 93 6371253 E: [EMAIL PROTECTED] > | H: http://lms.ispgaya.pt/ > +--------- > > > -Mensagem original- > De: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] nome de John Francis Lee > Enviada: domingo, 14 de Dezembro de 2003 13:14 > Para: [EMAIL PROTECTED] > Assunto: [Vserver] Greetings > > > Hello, > > I've downloaded and applied the patches (1.22) to a 2.4.22 kernel and am > now trying to get the vserver, util-vserver and admin-vserver to work. > > I run rh8.0 > > I tried the mdk rpms but vserver choked asking for a different version > of libstdc++. > > So I got the source. > > There's no configure and no instructions so I just typed make > [EMAIL PROTECTED] vserver-0.29]# make > g++-c -o syscall.o syscall.cc > g++-c -o old_syscall.o old_syscall.cc > g++ -funsigned-char -Wall -g -O -DVERSION=\"0.29\" chbind.cc syscall.o > old_syscall.o -o chbind > g++ -funsigned-char -Wall -g -O -DVERSION=\"0.29\" chcontext.cc > syscall.o old_syscall.o -o chcontext > g++ -funsigned-char -Wall -g -O -DVERSION=\"0.29\" reducecap.cc > syscall.o old_syscall.o -o reducecap > g++-c -o vutil.o vutil.cc > vutil.cc:12:28: ext2fs/ext2_fs.h: No such file or directory > vutil.cc: In function `int setext2flag(const char*, bool, int)': > vutil.cc:73: `EXT2_IOC_SETFLAGS' undeclared (first use this function) > vutil.cc:73: (Each undeclared identifier is reported only once for each >function it appears in.) > make: *** [vutil.o] Error 1 > > Any help with what's wrong here? > > Thanks in advance. -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Greetings
Hello, I've downloaded and applied the patches (1.22) to a 2.4.22 kernel and am now trying to get the vserver, util-vserver and admin-vserver to work. I run rh8.0 I tried the mdk rpms but vserver choked asking for a different version of libstdc++. So I got the source. There's no configure and no instructions so I just typed make [EMAIL PROTECTED] vserver-0.29]# make g++-c -o syscall.o syscall.cc g++-c -o old_syscall.o old_syscall.cc g++ -funsigned-char -Wall -g -O -DVERSION=\"0.29\" chbind.cc syscall.o old_syscall.o -o chbind g++ -funsigned-char -Wall -g -O -DVERSION=\"0.29\" chcontext.cc syscall.o old_syscall.o -o chcontext g++ -funsigned-char -Wall -g -O -DVERSION=\"0.29\" reducecap.cc syscall.o old_syscall.o -o reducecap g++-c -o vutil.o vutil.cc vutil.cc:12:28: ext2fs/ext2_fs.h: No such file or directory vutil.cc: In function `int setext2flag(const char*, bool, int)': vutil.cc:73: `EXT2_IOC_SETFLAGS' undeclared (first use this function) vutil.cc:73: (Each undeclared identifier is reported only once for each function it appears in.) make: *** [vutil.o] Error 1 Any help with what's wrong here? Thanks in advance. -- John Francis Lee <[EMAIL PROTECTED]> ___ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver