Re: [Vserver] Virtual server monitor

2006-09-27 Thread Tom Laermans
On Tue, 2006-09-26 at 22:38 -0400, Guillaume Pratte wrote:
 Hello,
 
 I would like to have the opinion of the mailing list about a tool I just 
 released called 'Virtual server monitor' or 'vsmon' for short : 
 
 http://vsmon.revolutionlinux.com/

Looks great! Once you have some .deb's I'll have to try it out ;)

I was planning to make something similar like this, but with a different
sort of backend, being an extension into snmpd. I've made different
scripts already to be able to monitor daemon stuff through cacti, and
was planning on making on one side some nice graphs about load and
memory and such, and otherwise an overview page with all the info on it.

Still planning to do that when time permits though ;/ -- the hard part
is looking up where to find all that info without having to parse
vserver-stat etc :)

Thanks,
Tom

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] how to set capabilities in Debian

2006-09-27 Thread Wilhelm Meier
Am Dienstag, 26. September 2006 18:05 schrieb Herbert Poetzl:
 On Tue, Sep 26, 2006 at 11:50:57AM +0200, Wilhelm Meier wrote:
  Am Dienstag, 26. September 2006 11:10 schrieb Jim Wight:
   On Sat, 2006-09-23 at 18:40 +0200, Herbert Poetzl wrote:
c) why would you want to add CAP_SYS_ADMIN to a guest?
  
   Taking 'you' in the sense of 'anyone', I would say for NFS.
  
   I don't want to hijack this thread, so can I refer you to one
   started by Wilhelm Meier on 13th Sep entitled 'How do I nfs-mount
   inside a vserver?', and which has gone quiet without being resolved.
 
  Thank you for reactivating!

 it was not forgot, it is on my todo list ...

 unfortunately I have no test systems available
 ATM to test an nfs setup, but I will try to
 recreate the setup with a QEMU network shortly

   I have never
   been able to get NFS to work without using CAP_SYS_ADMIN, even after
   upgrading to 2.6.17.11-vs2.0.2/0.30.210,
 
  Seems to be still impossible in dev-branch vs2.1.1 (BINARY_MOUNT
  should do the job but doesn't)

 in general, the answers to the following questions
 could be very helpful:

  - what NFS version and tcp or udp?
  - what is the actual error you get?
  - tcpdump of the ongoing negotiation?
  - logs on both, client and filer with the
appropriate sysctl debug options enabled
sunrpc.nfsd_debug (filer)
sunrpc.nfs_debug (client)
sunrpc.rpc_debug (both)

O.k., here comes the information:

On the NFS-Server (h242-meier):

H242-meier vserver.nfs # rpcinfo -p
   program vers proto   port
102   tcp111  portmapper
102   udp111  portmapper
1000241   udp  33321  status
1000241   tcp  32804  status
1000111   udp   4003  rquotad
1000112   udp   4003  rquotad
1000111   tcp   4003  rquotad
1000112   tcp   4003  rquotad
132   udp   2049  nfs
133   udp   2049  nfs
134   udp   2049  nfs
132   tcp   2049  nfs
133   tcp   2049  nfs
134   tcp   2049  nfs
1000211   udp  33322  nlockmgr
1000213   udp  33322  nlockmgr
1000214   udp  33322  nlockmgr
1000211   tcp  32805  nlockmgr
1000213   tcp  32805  nlockmgr
1000214   tcp  32805  nlockmgr
151   udp772  mountd
151   tcp775  mountd
152   udp772  mountd
152   tcp775  mountd
153   udp772  mountd
153   tcp775  mountd
H242-meier vserver.nfs # sysctl -a | grep sun
error: Operation not permitted reading key net.ipv4.route.flush
sunrpc.tcp_slot_table_entries = 16
sunrpc.udp_slot_table_entries = 16
sunrpc.nlm_debug = 0
sunrpc.nfsd_debug = 1
sunrpc.nfs_debug = 0
sunrpc.rpc_debug = 1
H242-meier vserver.nfs #

extracted from the log on the nfs-server when the vs tries to mount:

Sep 27 11:46:42 H242-meier device vmnet1 entered promiscuous mode
Sep 27 11:46:58 H242-meier rpc.mountd: MNT3(/home) called
Sep 27 11:46:58 H242-meier rpc.mountd: authenticated mount request from 
vs01:637 for /home (/home)
Sep 27 11:46:58 H242-meier rpc.mountd: MNT1(/home) called
Sep 27 11:46:58 H242-meier rpc.mountd: authenticated mount request from 
vs01:641 for /home (/home)
Sep 27 11:47:07 H242-meier device vmnet1 left promiscuous mode

The tcpdump of the conversation is in the attached file.

The error inside the vs (vs01) is the following:

vs01 / # mount 192.168.39.1:/home /home -o nolock,tcp
mount: permission denied
vs01 / #

The trace of this command:

vs01 / # strace mount 192.168.39.1:/home /home -o nolock,tcp
execve(/bin/mount, 
[mount, 192.168.39.1:/home, /home, -o, nolock,tcp], [/* 26 vars 
*/]) = 0
uname({sys=Linux, node=vs01, ...})  = 0
brk(0)  = 0x8063000
access(/etc/ld.so.preload, R_OK)  = -1 ENOENT (No such file or 
directory)
open(/etc/ld.so.cache, O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=12117, ...}) = 0
mmap2(NULL, 12117, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f76000
close(3)= 0
open(/lib/libblkid.so.1, O_RDONLY)= 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\35\0..., 512) = 
512
fstat64(3, {st_mode=S_IFREG|0755, st_size=28764, ...}) = 0
mmap2(NULL, 30740, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb7f6e000
mmap2(0xb7f75000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x6) = 0xb7f75000
close(3)= 0
open(/lib/libuuid.so.1, O_RDONLY) = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\n\0..., 512) = 
512
fstat64(3, {st_mode=S_IFREG|0755, st_size=9600, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7f6d000
mmap2(NULL, 11544, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb7f6a000
mmap2(0xb7f6c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x1) = 0xb7f6c000
close(3)= 0

[Vserver] 64bit centos templates?

2006-09-27 Thread Chuck
so far i found only one centos4 64bit vserver image that was 
labelled 'default'. it turned out to not even have a text editor other than 
ed and no way to bring packages into it. no yum or update.

does anyone know of a decent image available? ultra-basic is fine as long as 
it has nano/pico and yum already installed.

the 32bit runs fine, but i would prefer 64bit guests (at least i *think* i 
would). i have a good full featured gentoo one, but a package we need to run 
for some things requires a redhat-style os. we would have to re-license it to 
use other than centos.


-- 

Chuck



___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


RE: [Vserver] 64bit centos templates?

2006-09-27 Thread ehab heikal
About the 64 bit issue and performance. When running on AMD always go
for 64bit if you can. When running on Intel, older 64bit implementations
are sometimes slower in 64bit than in 32bit. That also holds to newer
intel processors including core 2 duo but to a lesser extent where in
some benchmarkes it was faster and in some it was slower. MySQL on 64bit
AMD is great.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chuck
Sent: Wednesday, September 27, 2006 12:53 PM
To: vserver@list.linux-vserver.org
Subject: [Vserver] 64bit centos templates?


so far i found only one centos4 64bit vserver image that was 
labelled 'default'. it turned out to not even have a text editor other
than 
ed and no way to bring packages into it. no yum or update.

does anyone know of a decent image available? ultra-basic is fine as
long as 
it has nano/pico and yum already installed.

the 32bit runs fine, but i would prefer 64bit guests (at least i *think*
i 
would). i have a good full featured gentoo one, but a package we need to
run 
for some things requires a redhat-style os. we would have to re-license
it to 
use other than centos.


-- 

Chuck



___
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] Virtual server monitor

2006-09-27 Thread Guillaume Pratte

Tom Laermans a écrit :


I was planning to make something similar like this, but with a different
sort of backend, being an extension into snmpd. I've made different
scripts already to be able to monitor daemon stuff through cacti, and
was planning on making on one side some nice graphs about load and
memory and such, and otherwise an overview page with all the info on it.
 


I would suggest you look at collectd :

http://collectd.org/

It collects system information every 10 seconds and writes it into an 
RRD database. It is implement in C and seems to consume almost nothing 
in term of ressources on the host. It can monitor vservers too! And it 
is dead simple to configure.


It comes with a simple Perl CGI script to display the graphs. Have a 
look at these examples :


http://tokkee.org/cgi-bin/collection.cgi
http://tokkee.org/cgi-bin/collection.cgi/vserver-42097
http://zethradon.no-ip.org:36987/cgi-bin/collection.cgi

The first two links point to the server of the author of collectd 
(Sebastien Harl). The second is an example of vserver monitoring. The 
third link is my personnal machine.


I plan to integrate collectd to vsmon eventually.

--
Guillaume Pratte
Recherche et développement
Révolution Linux

Toutes les opinions et les prises de position exprimées dans ce courriel sont 
celles de son auteur et ne répresentent pas nécessairement celles de Révolution 
Linux.

Any views and opinions expressed in this email are solely those of the author 
and do not necessarily represent those of Revolution Linux.


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] how to set capabilities in Debian

2006-09-27 Thread Herbert Poetzl
On Wed, Sep 27, 2006 at 11:54:40AM +0200, Wilhelm Meier wrote:
 Am Dienstag, 26. September 2006 18:05 schrieb Herbert Poetzl:
  On Tue, Sep 26, 2006 at 11:50:57AM +0200, Wilhelm Meier wrote:
   Am Dienstag, 26. September 2006 11:10 schrieb Jim Wight:
On Sat, 2006-09-23 at 18:40 +0200, Herbert Poetzl wrote:
 c) why would you want to add CAP_SYS_ADMIN to a guest?
   
Taking 'you' in the sense of 'anyone', I would say for NFS.
   
I don't want to hijack this thread, so can I refer you to one
started by Wilhelm Meier on 13th Sep entitled 'How do I nfs-mount
inside a vserver?', and which has gone quiet without being resolved.
  
   Thank you for reactivating!
 
  it was not forgot, it is on my todo list ...
 
  unfortunately I have no test systems available
  ATM to test an nfs setup, but I will try to
  recreate the setup with a QEMU network shortly
 
I have never
been able to get NFS to work without using CAP_SYS_ADMIN, even after
upgrading to 2.6.17.11-vs2.0.2/0.30.210,
  
   Seems to be still impossible in dev-branch vs2.1.1 (BINARY_MOUNT
   should do the job but doesn't)
 
  in general, the answers to the following questions
  could be very helpful:
 
   - what NFS version and tcp or udp?
   - what is the actual error you get?
   - tcpdump of the ongoing negotiation?
   - logs on both, client and filer with the
 appropriate sysctl debug options enabled
 sunrpc.nfsd_debug (filer)
 sunrpc.nfs_debug (client)
 sunrpc.rpc_debug (both)
 
 O.k., here comes the information:
 
 On the NFS-Server (h242-meier):
 
 H242-meier vserver.nfs # rpcinfo -p
program vers proto   port
 102   tcp111  portmapper
 102   udp111  portmapper
 1000241   udp  33321  status
 1000241   tcp  32804  status
 1000111   udp   4003  rquotad
 1000112   udp   4003  rquotad
 1000111   tcp   4003  rquotad
 1000112   tcp   4003  rquotad
 132   udp   2049  nfs
 133   udp   2049  nfs
 134   udp   2049  nfs
 132   tcp   2049  nfs
 133   tcp   2049  nfs
 134   tcp   2049  nfs
 1000211   udp  33322  nlockmgr
 1000213   udp  33322  nlockmgr
 1000214   udp  33322  nlockmgr
 1000211   tcp  32805  nlockmgr
 1000213   tcp  32805  nlockmgr
 1000214   tcp  32805  nlockmgr
 151   udp772  mountd
 151   tcp775  mountd
 152   udp772  mountd
 152   tcp775  mountd
 153   udp772  mountd
 153   tcp775  mountd
 H242-meier vserver.nfs # sysctl -a | grep sun
 error: Operation not permitted reading key net.ipv4.route.flush
 sunrpc.tcp_slot_table_entries = 16
 sunrpc.udp_slot_table_entries = 16
 sunrpc.nlm_debug = 0
 sunrpc.nfsd_debug = 1
 sunrpc.nfs_debug = 0
 sunrpc.rpc_debug = 1

different values here will enable different debug
output, I would prefer something like 65535 there
(which will enable full output)

 H242-meier vserver.nfs #
 
 extracted from the log on the nfs-server when the vs tries to mount:
 
 Sep 27 11:46:42 H242-meier device vmnet1 entered promiscuous mode
 Sep 27 11:46:58 H242-meier rpc.mountd: MNT3(/home) called
 Sep 27 11:46:58 H242-meier rpc.mountd: authenticated mount request from 
 vs01:637 for /home (/home)
 Sep 27 11:46:58 H242-meier rpc.mountd: MNT1(/home) called
 Sep 27 11:46:58 H242-meier rpc.mountd: authenticated mount request from 
 vs01:641 for /home (/home)
 Sep 27 11:47:07 H242-meier device vmnet1 left promiscuous mode
 
 The tcpdump of the conversation is in the attached file.
 
 The error inside the vs (vs01) is the following:
 
 vs01 / # mount 192.168.39.1:/home /home -o nolock,tcp
 mount: permission denied

so that is udp, v2 or v3 then?

could you try with a v3,tcp mount too?

 vs01 / #
 
 The trace of this command:
 
 vs01 / # strace mount 192.168.39.1:/home /home -o nolock,tcp
 execve(/bin/mount, 
 [mount, 192.168.39.1:/home, /home, -o, nolock,tcp], [/* 26 vars 
 */]) = 0
 uname({sys=Linux, node=vs01, ...})  = 0
 brk(0)  = 0x8063000
 access(/etc/ld.so.preload, R_OK)  = -1 ENOENT (No such file or 
 directory)
 open(/etc/ld.so.cache, O_RDONLY)  = 3
 fstat64(3, {st_mode=S_IFREG|0644, st_size=12117, ...}) = 0
 mmap2(NULL, 12117, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f76000
 close(3)= 0
 open(/lib/libblkid.so.1, O_RDONLY)= 3
 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\35\0..., 512) = 
 512
 fstat64(3, {st_mode=S_IFREG|0755, st_size=28764, ...}) = 0
 mmap2(NULL, 30740, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
 0xb7f6e000
 mmap2(0xb7f75000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
 MAP_DENYWRITE, 3, 0x6) = 0xb7f75000
 close(3)= 0
 open(/lib/libuuid.so.1, O_RDONLY) = 3
 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\n\0..., 512) 

Re: [Vserver] Virtual server monitor

2006-09-27 Thread Herbert Poetzl
On Wed, Sep 27, 2006 at 09:01:09AM +0200, Tom Laermans wrote:
 On Tue, 2006-09-26 at 22:38 -0400, Guillaume Pratte wrote:
  Hello,
  
  I would like to have the opinion of the mailing list about a tool I just 
  released called 'Virtual server monitor' or 'vsmon' for short : 
  
  http://vsmon.revolutionlinux.com/
 
 Looks great! Once you have some .deb's I'll have to try it out ;)
 
 I was planning to make something similar like this, but with a
 different sort of backend, being an extension into snmpd. I've made
 different scripts already to be able to monitor daemon stuff through
 cacti, and was planning on making on one side some nice graphs about
 load and memory and such, and otherwise an overview page with all the
 info on it.

 Still planning to do that when time permits though ;/ -- the hard
 part is looking up where to find all that info without having to parse
 vserver-stat etc :)

let me chime in here and add a few thoughts to this:

on recent kernels (means current devel, soon to be stable
branch) we have (almost all) interfaces to provide guest
status and overview directly from the kernel, without
parsing proc interfaces and doing a lot of calculations
(as vserver-stat currently does and often gets wrong)

although I hope that in this process, the vserver-stat
will get an overhaul too, it would be a good idea to have
a look at the direct API and the derived libraries
(contact Hollow, phreak``? and maybe daniel_hozac for
more details)

the interesting part here is that those interfaces
provide fast and unambiguous data about guests like

 - current status and uptime
 - number of processes
 - various accounting data including sockets
 - current limits, max/min and hits
 - uts information
 - load and time virtualizations

and much more ...

also note that we will change the proc interfaces slightly
in the future, as we will switch from ticks (jiffies)
to the more comprehensible ms (milisecond) unit

best,
Herbert

 Thanks,
 Tom
 
 ___
 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] 64bit centos templates?

2006-09-27 Thread Herbert Poetzl
On Wed, Sep 27, 2006 at 08:02:31AM -0400, Chuck wrote:
 On Wednesday 27 September 2006 07:33, ehab heikal wrote:
 
 this is an opteron system so i would really like to find an image to
 work best on it.

what keeps you from installing it from network?

is there no 64bit centos repository available?

best,
Herbert

  About the 64 bit issue and performance. When running on AMD always go
  for 64bit if you can. When running on Intel, older 64bit implementations
  are sometimes slower in 64bit than in 32bit. That also holds to newer
  intel processors including core 2 duo but to a lesser extent where in
  some benchmarkes it was faster and in some it was slower. MySQL on 64bit
  AMD is great.
  
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Chuck
  Sent: Wednesday, September 27, 2006 12:53 PM
  To: vserver@list.linux-vserver.org
  Subject: [Vserver] 64bit centos templates?
  
  
  so far i found only one centos4 64bit vserver image that was 
  labelled 'default'. it turned out to not even have a text editor other
  than 
  ed and no way to bring packages into it. no yum or update.
  
  does anyone know of a decent image available? ultra-basic is fine as
  long as 
  it has nano/pico and yum already installed.
  
  the 32bit runs fine, but i would prefer 64bit guests (at least i *think*
  i 
  would). i have a good full featured gentoo one, but a package we need to
  run 
  for some things requires a redhat-style os. we would have to re-license
  it to 
  use other than centos.
  
  
  -- 
  
  Chuck
  
  
  
  ___
  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
  
 
 -- 
 
 Chuck
 
 ...and the hordes of M$*ft users descended upon me in their anger,
 and asked 'Why do you not get the viruses or the BlueScreensOfDeath
 or insecure system troubles and slowness or pay through the nose 
 for an OS as *we* do?!!', and I answered...'I use Linux'. 
 The Book of John, chapter 1, page 1, and end of book
 
 
 ___
 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


Fw: [Vserver] Problems with yum and centos42

2006-09-27 Thread Eric Jorgensen
Hi all,It's been a week but no reply to my problem. Can anyone duplicate the problem I'm having even? Do I need to post more info?Thanks,jorgy- Forwarded Message From: Eric Jorgensen [EMAIL PROTECTED]To: vserver@list.linux-vserver.orgSent: Wednesday, September 20, 2006 12:23:52 PMSubject: [Vserver] Problems with yum and centos42Hello,I am having recent troubles (I haven't built a guest in 2-3 weeks so it's been since then) building a centos42 guest with yum. I am running
 kernel 2.6.15.6-vs2.0.2-rc13 with util-vserver 0.30.210. This had been working up until just recently. The command I am using is:/usr/lib/util-vserver/vserver-build --debug --force -m yum -n j_photos \ --hostname=photos.unixguys.com --netdev=eth0 --interface 192.168.1.83 \--netmask 255.255.255.0 -- -d centos42The end of the log looks like (no errors earlier on):++ /usr/lib/util-vserver/distributions/centos42/initpost /etc/vservers/j_photos
 /usr/lib/util-vserver/util-vserver-varssecure-mount: chdir("/tmp"): No such file or directory/etc/vservers/j_photos/fstab:2:1: failed to mount fstab-entryvcontext: execvp("bash"): No such file or directoryAn error occured while executing the vserver startup sequence; whenthere are no other messages, it is very likely that the init-script(bash -c exec /dev/null exec 2/dev/null set -x
 f=/tmp/startwait trap "rm -f $f" EXIT mkfifo $f ( sleep 10; kill -s 9 -- -1 )  cat "$f" /dev/null kill -s 9 -- -1 wait) failed.Common causes are:* /etc/rc.d/rc on Fedora Core 1 and RH9 fails always; the 'apt-rpm' build method knows how to deal with this, but on existing installations, appending 'true' to this file will help.Failed to start vserver 'j_photos'chroot-shopen("/etc/sysconfig/network"): No such file or directorychroot-shopen("/etc/init.d/halt"): No such file or directorychmod: cannot access `etc/init.d/halt': No such file or directorychroot-shopen("etc/inittab"): No such file or directoryAny help would be greatly appreciated it!!Thanks,jorgy___Vserver mailing listVserver@list.linux-vserver.orghttp://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] 64bit centos templates?

2006-09-27 Thread Chuck
On Wednesday 27 September 2006 11:06, Herbert Poetzl wrote:
 On Wed, Sep 27, 2006 at 08:02:31AM -0400, Chuck wrote:
  On Wednesday 27 September 2006 07:33, ehab heikal wrote:
  
  this is an opteron system so i would really like to find an image to
  work best on it.
 
 what keeps you from installing it from network?
 

there is nothing within the running basic centos 64 guest that i picked up  
that is capable of going out and getting packages and maintaining them..  i 
was hoping to find a ready to roll basic template to save time as well.. i 
could i suppose locate the rpms for yum and download them on the host into 
the centos64 directory structure then go in and run the install...   just 
seems to me when someone says a default basic system is a ready template it 
would include an editor and updater like yum or update... maybe i ask too 
much :) it had little else other than that needed to start the os which is ok 
as long as there was an updater of some kind...

 is there no 64bit centos repository available?

i have only found one template available in x86_64 which i think is redhat's 
version of amd64. all others offered around are 32bit. i exhausted 4 google 
pages looking :)

guess ill have to have a look at the centos website and see if they have pkg 
downloads available that i can get to to get the updater pkg so i can get 
things directly.

although they plan to support gentoo, this package we need to run doesn't 
support it at present... and i dont have the time to wait 3 months or so for 
their projected release date. i need to get this server in production with 
all sites moved over from a failing discreet host in another 10 days or so to 
allow debugging time. (15 day deadline from today).


 
 best,
 Herbert
 
   About the 64 bit issue and performance. When running on AMD always go
   for 64bit if you can. When running on Intel, older 64bit implementations
   are sometimes slower in 64bit than in 32bit. That also holds to newer
   intel processors including core 2 duo but to a lesser extent where in
   some benchmarkes it was faster and in some it was slower. MySQL on 64bit
   AMD is great.
   
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of Chuck
   Sent: Wednesday, September 27, 2006 12:53 PM
   To: vserver@list.linux-vserver.org
   Subject: [Vserver] 64bit centos templates?
   
   
   so far i found only one centos4 64bit vserver image that was 
   labelled 'default'. it turned out to not even have a text editor other
   than 
   ed and no way to bring packages into it. no yum or update.
   
   does anyone know of a decent image available? ultra-basic is fine as
   long as 
   it has nano/pico and yum already installed.
   
   the 32bit runs fine, but i would prefer 64bit guests (at least i *think*
   i 
   would). i have a good full featured gentoo one, but a package we need to
   run 
   for some things requires a redhat-style os. we would have to re-license
   it to 
   use other than centos.
   
   
   -- 
   
   Chuck
   
   
   
   ___
   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
   
  
  -- 
  
  Chuck
  
  ...and the hordes of M$*ft users descended upon me in their anger,
  and asked 'Why do you not get the viruses or the BlueScreensOfDeath
  or insecure system troubles and slowness or pay through the nose 
  for an OS as *we* do?!!', and I answered...'I use Linux'. 
  The Book of John, chapter 1, page 1, and end of book
  
  
  ___
  Vserver mailing list
  Vserver@list.linux-vserver.org
  http://list.linux-vserver.org/mailman/listinfo/vserver
 

-- 

Chuck

...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. 
The Book of John, chapter 1, page 1, and end of book


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] The New Website

2006-09-27 Thread John Alberts

I just wanted to say thank you to whomever is responsible for updating
the www.linux-vserver.org website.  The new wiki is great and very
easy to navigate.  The 'overview' and 'paper' links on the left side
are very informative.  I'm not sure if they were present on the old
site, but if they were, I never even noticed them.

Thanks again.

John Alberts
Purdue University Calumet
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] vmware in vserver?

2006-09-27 Thread John Alberts

Is it possible to run vmware-server in a vserver guest?
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] vmware in vserver?

2006-09-27 Thread Bruno
On Wednesday 27 September 2006 20:01, John Alberts wrote:
 Is it possible to run vmware-server in a vserver guest?

That depends very much on how much you allow to your guest (Capabilities).
As VMWare uses a kernel module it makes no sense to try to run VMWare within a 
VServer guest. VMWare can escape it's guest context through the kernel 
modules.

Bruno
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: Fw: [Vserver] Problems with yum and centos42

2006-09-27 Thread Daniel Hokka Zakrisson

Eric Jorgensen wrote:

Hi all,

It's been a week but no reply to my problem.  Can anyone duplicate the 
problem I'm having even?  Do I need to post more info?


Thanks,

jorgy


- Forwarded Message 
From: Eric Jorgensen [EMAIL PROTECTED]
To: vserver@list.linux-vserver.org
Sent: Wednesday, September 20, 2006 12:23:52 PM
Subject: [Vserver] Problems with yum and centos42

Hello,

I am having recent troubles (I haven't built a guest in 2-3 weeks so 
it's been since then) building a centos42 guest with yum.  I am running 
kernel 2.6.15.6-vs2.0.2-rc13 with util-vserver 0.30.210.  This had been 
working up until just recently.  The command I am using is:


/usr/lib/util-vserver/vserver-build --debug --force -m yum -n j_photos 
\   
--hostname=photos.unixguys.com --netdev=eth0 --interface 192.168.1.83 \

--netmask 255.255.255.0 -- -d centos42



The end of the log looks like (no errors earlier on):


Are you absolutely sure about that? CentOS 4.2 has been removed from the 
mirrors, so you should've gotten errors about that.


++ /usr/lib/util-vserver/distributions/centos42/initpost 
/etc/vservers/j_photos /usr/lib/util-vserver/util-vserver-vars

secure-mount: chdir(/tmp): No such file or directory
/etc/vservers/j_photos/fstab:2:1: failed to mount fstab-entry
vcontext: execvp(bash): No such file or directory

An error occured while executing the vserver startup sequence; when
there are no other messages, it is very likely that the init-script
(bash -c
exec  /dev/null
exec 2/dev/null

set -x
f=/tmp/startwait
trap rm -f $f EXIT
mkfifo $f
( sleep 10; kill -s 9 -- -1 ) 
cat $f /dev/null
kill -s 9 -- -1
wait
) failed.
Common causes are:
* /etc/rc.d/rc on Fedora Core 1 and RH9 fails always; the 'apt-rpm' build
  method knows how to deal with this, but on existing installations,
  appending 'true' to this file will help.


Failed to start vserver 'j_photos'
chroot-shopen(/etc/sysconfig/network): No such file or directory
chroot-shopen(/etc/init.d/halt): No such file or directory
chmod: cannot access `etc/init.d/halt': No such file or directory
chroot-shopen(etc/inittab): No such file or directory


This makes it pretty obvious that nothing got installed.

You could upgrade to util-vserver 0.30.211-rc2 where centos42 has been 
replaced by centos4, the more generic name which points to the latest 4 
release at all times. It's available from 
http://people.linux-vserver.org/~dhozac/p/uv/experimental/util-vserver-0.30.211-rc2.tar.bz2


--
Daniel Hokka Zakrisson
GPG id: 06723412
GPG fingerprint: A455 4DF3 990A 431F FECA  7947 6136 DDA2 0672 3412
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] vmware in vserver?

2006-09-27 Thread John Alberts

true.  I guess there is no point in running vmware in a guest os.


On 9/27/06, Bruno [EMAIL PROTECTED] wrote:

On Wednesday 27 September 2006 20:01, John Alberts wrote:
 Is it possible to run vmware-server in a vserver guest?

That depends very much on how much you allow to your guest (Capabilities).
As VMWare uses a kernel module it makes no sense to try to run VMWare within a
VServer guest. VMWare can escape it's guest context through the kernel
modules.

Bruno
___
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: Fw: [Vserver] Problems with yum and centos42

2006-09-27 Thread Eric Jorgensen
- Original Message From: Daniel Hokka Zakrisson [EMAIL PROTECTED]To: vserver@list.linux-vserver.orgSent: Wednesday, September 27, 2006 12:31:13 PMSubject: Re: Fw: [Vserver] Problems with yum and centos42[ ... ]This makes it pretty obvious that nothing got installed.You could upgrade to util-vserver 0.30.211-rc2 where centos42 has been replaced by centos4, the more generic name which points to the latest 4 release at all times. It's available from http://people.linux-vserver.org/~dhozac/p/uv/experimental/util-vserver-0.30.211-rc2.tar.bz2Bingo - that solved it for me. I don't know if I had a mirror that was still available, or what (I did clean out my metadata just in case). Nonetheless, it is working fine now.The next question is, how can I upgrade my centos42 guest vservers to centos4?Thanks!!jorgy___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver