Re: [Vserver] [Release] Stable 2.2.0

2007-04-02 Thread [EMAIL PROTECTED]

Herbert Poetzl a écrit :

Greetings Community!

after a longer rc stage, to get rid of all the
minor issues, we proudly present the first release
of the new stable 2.2 branch, which includes all
the 'considered stable' features of the previous
devel branch (2.1.x) which has been superceded by
the 2.3.x devel branch ...

http://www.13thfloor.at/vserver/s_rel26/v2.2.0/
(tools supposed to work fine on Mandriva 2007.x)

thanks to all who helped in development and did
test the release candidates ...

enjoy,
Herbert

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



Cool and thanks again for your job Bertl..

i have seen on kernel.org that 2.6.21 is nearly ready... I've tried a 
2.6.21-rc5, without patch of course, in a vmware and it works fine.


Ready to try new patchs :-)

Pmenier


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


[Vserver] Just for info

2007-03-19 Thread [EMAIL PROTECTED]

Hello

I had a problem with vs2.2.0-rc16 on linux-2.6.20.2

(cf paste.linux-vserver.org/1275)

It seems to work fine now with vs2.2.0-rc18 and kernel-2.6.20.3.


srvweb:/usr/local# ./testme.sh
Linux-VServer Test [V0.16] Copyright (C) 2003-2006 H.Poetzl
chcontext is working.
chbind is working.
Linux 2.6.20.3-vs2.2.0-rc18 #1 SMP PREEMPT Sun Mar 18 10:58:12 CET 2007 i686
Ea 0.30.212 273/glibc (DSa) compat,v11,fscompat,v13,net,v21,oldproc,olduts
VCI: 0002:0200 273 03000711 (TbP)
---
[000]# succeeded.
[001]# succeeded.
[011]# succeeded.
[031]# succeeded.
[101]# succeeded.
[102]# succeeded.
[201]# succeeded.
[202]# succeeded.

srvweb:/usr/local# cat /proc/version
Linux version 2.6.20.3-vs2.2.0-rc18 ([EMAIL PROTECTED]) (version gcc 3.3.5 
(Debian 1:3.3.5-13)) #1 SMP PREEMPT Sun Mar 18 10:58:12 CET 2007


srvweb:/usr/local# zgrep -i vserver /proc/config.gz
# Linux VServer
# CONFIG_VSERVER_LEGACY is not set
# CONFIG_VSERVER_LEGACYNET is not set
# CONFIG_VSERVER_REMAP_SADDR is not set
CONFIG_VSERVER_COWBL=y
# CONFIG_VSERVER_VTIME is not set
CONFIG_VSERVER_PROC_SECURE=y
# CONFIG_VSERVER_HARDCPU is not set
CONFIG_VSERVER_PRIVACY=y
CONFIG_VSERVER_WARN=y
# CONFIG_VSERVER_DEBUG is not set
CONFIG_VSERVER=y
CONFIG_VSERVER_NGNET=y

srvweb:/usr/local# vserver-stat
CTX   PROCVSZRSS  userTIME   sysTIMEUPTIME NAME
0   85 596.7M 192.2M  23m08s77   7m17s52  20h46m31 root server
20  15 397.4M 121.6M   0m43s95   0m06s76  20h44m31 vweb1
21  15 521.4M  88.4M   0m04s61   0m01s86  20h44m17 vweb2
22  16 105.6M  38.3M   0m30s60   0m18s23  20h44m08 vweb3


Patrick

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


[Vserver] More info

2007-03-12 Thread [EMAIL PROTECTED]

RE

More info i forgot to give yesterday :



Options in .config for linux-2.6.20.2-vs2.2.0-rc16
#
# Linux VServer
#
# CONFIG_VSERVER_LEGACY is not set
# CONFIG_VSERVER_LEGACYNET is not set
# CONFIG_VSERVER_REMAP_SADDR is not set
CONFIG_VSERVER_COWBL=y
# CONFIG_VSERVER_VTIME is not set
CONFIG_VSERVER_PROC_SECURE=y
# CONFIG_VSERVER_HARDCPU is not set
# CONFIG_TAGGING_NONE is not set
# CONFIG_TAGGING_UID16 is not set
# CONFIG_TAGGING_GID16 is not set
CONFIG_TAGGING_ID24=y
# CONFIG_TAGGING_INTERN is not set
# CONFIG_TAG_NFSD is not set
# CONFIG_PROPAGATE is not set
CONFIG_VSERVER_PRIVACY=y
CONFIG_VSERVER_WARN=y
# CONFIG_VSERVER_DEBUG is not set
CONFIG_VSERVER=y
CONFIG_VSERVER_NGNET=y



srvweb:~# vserver-info
Versions:
   Kernel: 2.6.20-vs2.3.0.9
   VS-API: 0x00020200
 util-vserver: 0.30.212; Dec  9 2006, 18:32:13

Features:
   CC: gcc, gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
  CXX: g++, g++ (GCC) 3.3.5 (Debian 1:3.3.5-13)
 CPPFLAGS: ''
   CFLAGS: '-g -O2 -std=c99 -Wall -pedantic -W'
 CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W 
-fmessage-length=0'

   build/host: i686-pc-linux-gnu/i686-pc-linux-gnu
 Use dietlibc: yes
   Build C++ programs: yes
   Build C99 programs: yes
   Available APIs: compat,v11,fscompat,v13,net,v21,oldproc,olduts
ext2fs Source: e2fsprogs
syscall(2) invocation: alternative
  vserver(2) syscall#: 273/glibc

Paths:
   prefix: /usr/local
sysconf-Directory: ${prefix}/etc
cfg-Directory: ${prefix}/etc/vservers
 initrd-Directory: $(sysconfdir)/init.d
   pkgstate-Directory: ${prefix}/var/run/vservers
  vserver-Rootdir: /opt/vservers


Assumed 'SYSINFO' as no other option given; try '--help' for more 
information.

srvweb:~#

The problem occurs suddenly as i just enter in a vserver. I just type :

#vserver vweb1 enter
then

vweb1#ps ax

and it hangs with the error message in my first post. Then i loose 
keyboard and network link and i had to reboot hard (trying unsuccess 
syskeyreq).


Patrick





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


[Vserver] Moving guest and can not enter again.

2007-02-15 Thread [EMAIL PROTECTED]

Hi there,

I just moved a guest from:


Versions:
  Kernel: 2.6.16.20-vs2.0.2-rc22.20060627.4
  VS-API: 0x00020001
util-vserver: 0.30.210; Jun 27 2006, 13:58:57

Features:
  CC: gcc, gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
 CXX: g++, g++ (GCC) 3.3.5 (Debian 1:3.3.5-13)
CPPFLAGS: ''
  CFLAGS: '-g -O2 -std=c99 -Wall -pedantic -W'
CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W 
-fmessage-length=0'

  build/host: i686-pc-linux-gnu/i686-pc-linux-gnu
Use dietlibc: yes
  Build C++ programs: yes
  Build C99 programs: yes
  Available APIs: v13,net
   ext2fs Source: e2fsprogs
   syscall(2) invocation: alternative
 vserver(2) syscall#: 273/glibc

Paths:
  prefix: /
   sysconf-Directory: /etc
   cfg-Directory: /etc/vservers
initrd-Directory: /etc/init.d
  pkgstate-Directory: /var/run/vservers
 vserver-Rootdir: /home/vservers


to:

Versions:
  Kernel: 2.6.17.13-vs2.0.2.1.2006120900
  VS-API: 0x00020002
util-vserver: 0.30.211; Nov 24 2006, 14:23:34

Features:
  CC: gcc, gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
 CXX: g++, g++ (GCC) 3.3.5 (Debian 1:3.3.5-13)
CPPFLAGS: ''
  CFLAGS: '-g -O2 -std=c99 -Wall -pedantic -W'
CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W 
-fmessage-length=0'

  build/host: i686-pc-linux-gnu/i686-pc-linux-gnu
Use dietlibc: yes
  Build C++ programs: yes
  Build C99 programs: yes
  Available APIs: v13,net
   ext2fs Source: e2fsprogs
   syscall(2) invocation: alternative
 vserver(2) syscall#: 273/glibc

Paths:
  prefix:
   sysconf-Directory: /etc
   cfg-Directory: /etc/vservers
initrd-Directory: /etc/init.d
  pkgstate-Directory: /var/run/vservers
 vserver-Rootdir: /home/vservers


The guest seems to start allright:

~ # vserver shadow-vs01 start
Starting system log daemon: syslogd.
Starting kernel log daemon: klogd.
Starting MTA: exim4.
Starting internet superserver: inetd.
Starting MySQL database server: mysqld.
Checking for crashed MySQL tables in the background.
Starting OpenBSD Secure Shell server: sshdPRNG is not seeded
Starting deferred execution scheduler: atd.
Starting periodic command scheduler: cron.
Starting web server: Apache2[Thu Feb 15 15:27:46 2007] [warn] 
NameVirtualHost 192.168.1.7:80 has no VirtualHosts


~ # vserver-stat
CTX   PROCVSZRSS  userTIME   sysTIMEUPTIME NAME
0   50  62.5M  17.2M  15h41m10   6h37m34  67d23h39 root server
7   15 266.7M  88.5M   6m43s19   0m18s92  10m02s37 shadow-vs01


But I couldn't enter the guest:

~ # vserver shadow-vs01 enter
vlogin: openpty(): No such file or directory


What went wrong?

Hope someone can help me.

Regards,

Vincent Pluk
eMAXX, The Netherlands

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


[Vserver] Couldn't download base-config

2007-02-03 Thread [EMAIL PROTECTED]

Hi All

my uname -a
[ Linux deb 2.6.17.14-grsec2.1.9-vs2.0.2.1 #3 SMP Tue Jan 30 20:37:26
AST 2007 x86_64 GNU/Linux]

vserver sid64 build -n sid64 --hostname sid64.deb.com --interface
eth1:192.168.1.30/24 -m debootstrap -- sid
.
.
.
.
Couldn't download base-config

stop .. how can fix it ?


---
ThanksAll  the  Best;
YassinB
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] VSZ gets smaller than RSS

2007-01-26 Thread [EMAIL PROTECTED]

i!

Is it possible that VSZ becomes smaller/lower than RSS in 'vserver-stat' 
after starting some applications (JBoss and Tomcat with Active-BPEL 
engine, see #1)?



~ # vserver-stat
CTX   PROCVSZRSS  userTIME   sysTIMEUPTIME NAME
0   58 296.4M  22.3M   0m02s42   0m04s55   6m33s88 root server
1151 5   1.3G 283.4M   0m38s45   0m00s82   4m41s19 lvg-1-151
115216 393.6M 793.8M   1m14s76   0m01s93   4m36s71 lvg-1-152 -- #2
1153 7   1.3G 195.7M   0m19s50   0m00s62   4m31s70 lvg-1-153 -- #1
1154 3  42.2M   2.7M   0m00s00   0m00s00   4m21s36 lvg-1-154

_starting JBoss and Tomcat from within lvg-1-153_

~ # vserver-stat
CTX   PROCVSZRSS  userTIME   sysTIMEUPTIME NAME
0   58 296.4M  22.3M   0m02s43   0m04s59   6m46s88 root server
1151 5   1.3G 283.4M   0m38s46   0m00s82   4m54s19 lvg-1-151
115216 393.6M 793.8M   1m14s80   0m01s94   4m49s71 lvg-1-152 -- #2
1153 8  15.9+ 423.7M   0m45s47   0m01s18   4m44s70 lvg-1-153 -- #1
1154 3  42.2M   2.7M   0m00s00   0m00s00   4m34s36 lvg-1-154


This also happend with another vserver (#2)

Specs of the system:

Debian Etch 4.0 (weekly build 27-12-2006, debian-testing-amd64-netinst.iso)
Pentium D EMT64
4 GB RAM

Versions:
  Kernel: 2.6.17.13-vs2.0.2.1.2007010501
  VS-API: 0x00020002
util-vserver: 0.30.211; Dec  5 2006, 02:23:50

Features:
  CC: gcc, gcc (GCC) 4.1.2 20061115 (prerelease) 
(Debian 4.1.1-20)
 CXX: g++, g++ (GCC) 4.1.2 20061115 (prerelease) 
(Debian 4.1.1-20)

CPPFLAGS: ''
  CFLAGS: '-Wall -g  -O2 -std=c99 -Wall -pedantic -W 
-funit-at-a-time'
CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W 
-fmessage-length=0 -funit-at-a-time'

  build/host: x86_64-pc-linux-gnu/x86_64-pc-linux-gnu
Use dietlibc: yes
  Build C++ programs: yes
  Build C99 programs: yes
  Available APIs: compat,v11,fscompat,v13,net,v21,oldproc,olduts
   ext2fs Source: e2fsprogs
   syscall(2) invocation: alternative
 vserver(2) syscall#: 236/glibc

Paths:
  prefix: /usr
   sysconf-Directory: /etc
   cfg-Directory: /etc/vservers
initrd-Directory: $(sysconfdir)/init.d
  pkgstate-Directory: /var/run/vservers
 vserver-Rootdir: /var/lib/vservers

BTW: vserver-Rootdir: /var/lib/vservers is in correct, I use an other 
vserver-rootdir: /home/vservers. I corrected this in the 
/etc/vservers/.defaults/vdirbase/.





Does my understanding of memory allocation fail or is this a bug?


Regards,

Vincent Pluk,
eMAXX, Netherlands




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


[Vserver] /sbin/vserver: line 686 685 Error

2007-01-02 Thread [EMAIL PROTECTED]

Hi All;

=
aden:/home/ybanafa# vserver-info
Versions:
  Kernel: 2.6.19.1-vs2.2.0-rc6
  VS-API: 0x00020102
util-vserver: 0.30.212; Jan  2 2007, 20:18:57

Features:
  CC: gcc, gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
 CXX: g++, g++ (GCC) 3.3.5 (Debian 1:3.3.5-13)
CPPFLAGS: ''
  CFLAGS: '-g -O2 -std=c99 -Wall -pedantic -W'
CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W
-fmessage-length=0'
  build/host: i686-pc-linux-gnu/i686-pc-linux-gnu
Use dietlibc: yes
  Build C++ programs: yes
  Build C99 programs: yes
  Available APIs: v13,net,v21
   ext2fs Source: e2fsprogs
   syscall(2) invocation: alternative
 vserver(2) syscall#: 273/glibc

Paths:
  prefix:
   sysconf-Directory: ${prefix}/etc
   cfg-Directory: ${prefix}/etc/vservers
initrd-Directory: $(sysconfdir)/init.d
  pkgstate-Directory: ${prefix}/var/run/vservers
 vserver-Rootdir: /vservers


Assumed 'SYSINFO' as no other option given; try '--help' for more
information.
aden:/home/ybanafa# vserver care start
/sbin/vserver: line 686: xargs: command not found
/sbin/vserver: line 685: /usr/bin/find: No such file or directory


Failed to start vserver 'care'


--
---
ThanksAll  the  Best;
YassinB
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] /sbin/vserver: line 686 685 Error

2007-01-02 Thread [EMAIL PROTECTED]

My host is Sarge-3.1 (updated  upgraded)
My guest is same.(10 of them..aka: care, care2, care3.care10)

How can I fix this issue ...?

Thanks  All the Best
[EMAIL PROTECTED]



On 1/3/07, Herbert Poetzl [EMAIL PROTECTED] wrote:


On Wed, Jan 03, 2007 at 08:54:35AM +0300, [EMAIL PROTECTED] wrote:
 Hi All;

 =
 aden:/home/ybanafa# vserver-info
 Versions:
   Kernel: 2.6.19.1-vs2.2.0-rc6
   VS-API: 0x00020102
 util-vserver: 0.30.212; Jan  2 2007, 20:18:57

 Features:
   CC: gcc, gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
  CXX: g++, g++ (GCC) 3.3.5 (Debian 1:3.3.5-13)
 CPPFLAGS: ''
   CFLAGS: '-g -O2 -std=c99 -Wall -pedantic -W'
 CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W
 -fmessage-length=0'
   build/host: i686-pc-linux-gnu/i686-pc-linux-gnu
 Use dietlibc: yes
   Build C++ programs: yes
   Build C99 programs: yes
   Available APIs: v13,net,v21
ext2fs Source: e2fsprogs
syscall(2) invocation: alternative
  vserver(2) syscall#: 273/glibc

 Paths:
   prefix:
sysconf-Directory: ${prefix}/etc
cfg-Directory: ${prefix}/etc/vservers
 initrd-Directory: $(sysconfdir)/init.d
   pkgstate-Directory: ${prefix}/var/run/vservers
  vserver-Rootdir: /vservers


 Assumed 'SYSINFO' as no other option given; try '--help' for more
 information.
 aden:/home/ybanafa# vserver care start
 /sbin/vserver: line 686: xargs: command not found
 /sbin/vserver: line 685: /usr/bin/find: No such file or directory

sounds like xargs and /usr/bin/find is missing ...

what system do you use on the host?
are you root when you try to start the guest?

HTH,
Herbert

 Failed to start vserver 'care'


 --
 ---
 ThanksAll  the  Best;
 YassinB

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


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


[Vserver] installing Guest From CDROM

2006-08-20 Thread [EMAIL PROTECTED]
How can I install Gust fc4  sarge3.1 from CDROM on sarge-3.1 ? 
this NOT working : vserver ... build -m rpm ... -- -d dist -b /mnt/cdromThanksAlltheBest;YassinB 
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Fedora 3 Vserver Guest under Debian Sarge

2006-06-29 Thread [EMAIL PROTECTED]

Hi!

I want to create a vserver guest with Fedora 3 inside, but I really have 
no clue where to start...


I haven't really tried, because I know I will need something like this 
(but don't know where to get it for Fedora):


   http://host/debian/pool/main/d/debootstrap/debootstrap_0.3.3_all.deb

Besides that, I guess I have to install RPM for Debian too, don't I?

Hope somebody will give me some pointers.

Thanks!

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


Re: [Vserver] Samba in a vserver guest: broadcast problem

2006-06-25 Thread [eMAXX] [EMAIL PROTECTED]

Herbert Poetzl wrote:

probably neither nor, try adding the broadcast
ip (192.168.1.255) to the list of ips assigned
to the guest (i.e. add another interfaces subdir
with a nodev entry and the broadcast ip)
  
let us know if that works for you, and try to

remove the capabilities once it works ...

  

Ok I did:

../interfaces/0/dev  eth0
../interfaces/0/ip   192.168.1.8
../interfaces/0/prefix   24
../interfaces/0/name vs01

../interfaces/1/nodev'empty'
../interfaces/1/ip   192.168.27.255


I removed /etc/vservers/vs01/bcapabilities (yes, bcapabilities, a typo 
in my previous mail) and it still works!! Thanks!


What exactly did I do when adding a second interface with an broadcast 
IP adressed to it and why is it working? Does this little 'trick' also 
work in a second vserver where I want to run Samba in? (duo time 
shortage not yet tried this).


Thanks!

Regards,

Vince.


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


Re: [Vserver] Re: Samba in a vserver guest: broadcast problem

2006-06-25 Thread [eMAXX] [EMAIL PROTECTED]

Nicolas Costes wrote:

Le Samedi 24 Juin 2006 18:44, [eMAXX] [EMAIL PROTECTED] a écrit :

  

Whenever I click on My Network places  Microsoft Windows-network
(swift translation out of Dutch), Windows tells me I have no rights to
open the Samba host. If I connect to the host directly (eg: \\vs01\foo)
there is no problem (will need user/pass, but that's ok).



Mmmm, the error message musn't be about rights, but certainly about host not 
found, is it ?


  

I discovered Windows is sending broadcast packages[...]



Yes, just a little :D !!!

Many of them, if not all, are related to machine discovery and name 
resolution. But you can avoid most of these broadcasts by using a WINS server 
(WIndows Name Service). This acts like a kind of DNS, where every machine 
(even servers) registers itself upon bootup, and is deleted when going down. 
So, the WINS server keeps IP = NetBIOS name correspondance records.


I use this at work, and it works with a mix of NT, 2000, Samba, vserver+Samba 
clients and servers without any problem. And my vservers have _no_ 
capabilities !
  
That's great! That was an option if this mailinglist wouldn't provide a 
solution :), but Herbert came (via privat e-mail I just saw) with the 
following solution:

try adding the broadcast
ip (192.168.1.255) to the list of ips assigned
to the guest (i.e. add another interfaces subdir
with a nodev entry and the broadcast ip)

So I did add an extra interface:

../interfaces/1/nodev'empty'
../interfaces/1/ip   192.168.1.255

And that worked! ... but ... I want to run several samba servers in 
different in vserver guests and though I'm setting bind interfaces 
only, samba (nmbd/smbd) is still binding to 0.0.0.0 in both guests:


vs01:
Proto Recv-Q Send-Q Local Address   Foreign Address 
State 
tcp0  0 192.168.1.8:901 0.0.0.0:*   
LISTEN
tcp0  0 192.168.1.8:22  0.0.0.0:*   
LISTEN
udp17600  0 0.0.0.0:137 
0.0.0.0:* 
udp17600  0 0.0.0.0:138 0.0.0.0:*


vs02:
Proto Recv-Q Send-Q Local Address   Foreign Address 
State 
tcp0  0 192.168.1.9:901 0.0.0.0:*   
LISTEN
tcp0  0 192.168.1.9:22  0.0.0.0:*   
LISTEN
udp17600  0 0.0.0.0:137 
0.0.0.0:* 
udp17600  0 0.0.0.0:138 0.0.0.0:*


Guess a wins server (winbind in Debian I suppose) will not fix this :)

Is running samba servers the way I want to (several vserver guests with 
each it's own sambaserver) even possible?


It is very useful, even if you have two machines : Just setup one as a WINS 
server, the other as a client and the NetBIOS resolution problems will go 
away (like to wait 14 minutes for machine discovery) !


On the server's smb.conf :
   wins support = yes

On the clients' smb.conf (which can be file or print servers ;-)) : 
  wins server = ip.of.wins.server

Will try winbind later on, it seems to be a good option!

Regards,

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


Re: [Vserver] Re: Samba in a vserver guest: broadcast problem

2006-06-25 Thread [eMAXX] [EMAIL PROTECTED]

[eMAXX] [EMAIL PROTECTED] wrote:



Is running samba servers the way I want to (several vserver guests 
with each it's own sambaserver) even possible?


Strangely enough, when I set /etc/vservers/vs02/interface/0/name to 
vs02 (name was not yet there before, but is was for vs01) ... it worked!


Netstat of vs02:

Before:
Proto Recv-Q Send-Q Local Address   Foreign Address 
State
tcp0  0 192.168.1.9:901 0.0.0.0:*   
LISTEN   
tcp0  0 192.168.1.9:22  0.0.0.0:*   
LISTEN   
udp17600  0 0.0.0.0:137 
0.0.0.0:*
udp17600  0 0.0.0.0:138 0.0.0.0:*


After:
Proto Recv-Q Send-Q Local Address   Foreign Address 
State 
tcp0  0 192.168.1.9:901 0.0.0.0:*   
LISTEN
tcp0  0 192.168.1.9:139 0.0.0.0:*   
LISTEN
tcp0  0 192.168.1.9:22  0.0.0.0:*   
LISTEN
tcp0  0 192.168.1.9:445 0.0.0.0:*   
LISTEN
udp0  0 192.168.1.9:137 
0.0.0.0:* 
udp0  0 0.0.0.0:137 
0.0.0.0:* 
udp0  0 192.168.1.9:138 
0.0.0.0:* 
udp0  0 0.0.0.0:138 
0.0.0.0:* 
udp0  0 192.168.1.9:32868   0.0.0.0:* 



I did not expect this :)

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


Re: [Vserver] Re: Samba in a vserver guest: broadcast problem

2006-06-25 Thread [eMAXX] [EMAIL PROTECTED]

Daniel Hokka Zakrisson wrote:

Björn Steinbrink wrote:


Strangely enough, when I set /etc/vservers/vs02/interface/0/name to 
vs02 (name was not yet there before, but is was for vs01) ... it 
worked!



Probably the bind interfaces only (or whatever it was called) option
causes Samba to parse the ifconfig output or uses the old ioctl
interface to get the data itself. That interface is fixed to show the
vserver's ip address in 2.1.x-rcX (don't remember which rc it was
fixed in), but not in 2.0.x, so Samba cannot determine the ip address
that way, unless the ifa is named (that case works even in 2.0.x).


Actually, that feature was added to 2.0.2-rc18 (and 2.1.1-rc17).


You guys must be guru's to know that :)

Thanks for responding!

It works just the way I like it, but will try winbind whenever I got time.

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


[Vserver] Samba in a vserver guest: broadcast problem

2006-06-24 Thread [eMAXX] [EMAIL PROTECTED]

Hi,

I'm trying te get Samba (3.0.14a-Debian) to work in a Linux Vserver guest.

---
Versions:
  Kernel: 2.6.14.4-vs2.1.0.20060621
  VS-API: 0x00020001
util-vserver: 0.30.209; Jan  7 2006, 16:17:48

Features:
  CC: gcc, gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
 CXX: g++, g++ (GCC) 3.3.5 (Debian 1:3.3.5-13)
CPPFLAGS: ''
  CFLAGS: '-g -O2 -std=c99 -Wall -pedantic -W'
CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W 
-fmessage-length=0'

  build/host: i686-pc-linux-gnu/i686-pc-linux-gnu
Use dietlibc: yes
  Build C++ programs: yes
  Build C99 programs: yes
  Available APIs: compat,v11,v13,fscompat,net,oldproc,olduts
   ext2fs Source: e2fsprogs
   syscall(2) invocation: alternative
 vserver(2) syscall#: 273/glibc

Paths:
  prefix: /
   sysconf-Directory: /etc
   cfg-Directory: /etc/vservers
initrd-Directory: /etc/init.d
  pkgstate-Directory: /var/run/vservers
 vserver-Rootdir: /home/vservers
---

~$ cat/etc/vservers/vs01-elastic/interfaces/0/bcast
192.168.1.255
(tried 255.255.255.255 too)

~$ cat /etc/vservers/vs01/capabilities
CAP_NET_RAW
CAP_NET_BROADCAST
CAP_NET_ADMIN

(inside the guest)
~$ grep Cap /proc/self/status   
CapInh: 

CapPrm: 344c3cff
CapEff: 344c3cff

Whenever I click on My Network places  Microsoft Windows-network 
(swift translation out of Dutch), Windows tells me I have no rights to 
open the Samba host. If I connect to the host directly (eg: \\vs01\foo) 
there is no problem (will need user/pass, but that's ok).


I discovered Windows is sending broadcast packages, hereby one of them:

---
~$ tcpdump -vvnei eth0:0 host 192.168.1.8

18:34:56.002814 00:13:d4:*:*:*  ff:ff:ff:ff:ff:ff, ethertype IPv4 
(0x0800), length 92: IP (tos 0x0, ttl 128, id 26492, offset 0, flags 
[none], length: 78) 192.168.1.8.137  192.168.1.255.137: [udp sum ok]

 NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST
TrnID=0x80C6
OpCode=0
NmFlags=0x11
Rcode=0
QueryCount=1
AnswerCount=0
AuthorityCount=0
AddressRecCount=0
QuestionRecords:
Name=ELASTIC-FS  NameType=0x00 (Workstation)
QuestionType=0x20
QuestionClass=0x1

---
but samba in the vserver guest doesn't answer them.

Who's to blame? Samba or Vserver?

Thank you to any one who can help.

Regards,

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


[Vserver] Getting Error : chbind: vc_set_ipv4root(): Function not implemented

2006-04-08 Thread [EMAIL PROTECTED]
Hi All

Debian Sarge 3.1 .. Kernel 2.6.8-686 
VServer 1.9.5.5 .. util-vserver 0.30.204-5 .. vserver-debian 0.1.10 
I'm getting : chbind: vc_set_ipv4root(): Function not implemented
Looking for Doc.How Can I fix it ? ---ThanksAlltheBest;YassinB 
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] sendfile

2006-03-12 Thread [EMAIL PROTECTED]
With Kernel 2.6.16.rc5 and patch-2.6.16-rc5-vs2.1.1-rc12.diff 
and delta-s390-fix01.diff

sendfile is broken again.


Martin


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


Re: [Vserver] Tomcat on Vserver

2006-01-11 Thread [eMAXX] [EMAIL PROTECTED]

Khan wrote:


I'm having some problems installing tomcat5 on vserver guest. I think it
can't listen on guest's IP addresses. How Can I force tomcat to listen
only on guest IP.


Hi Khan,

I'm running several tomcat5 installs in virtual guests, so I somehow got 
it working :)


Propably you must adjust ./conf/server.xml with these two lines:
...
   Engine name=Catalina defaultHost=IP_or_hostname
...
 Host name=IP_or_hostname appBase=webapps
...

Hope this will work for your.

Regards,

Vince.

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


[RE:] [vserver] Clone an existing Server

2005-04-05 Thread [EMAIL PROTECTED]



try to build your vservers in loopback devices.

e.g.:
dd bs=1024k if=/dev/zero of="IMAGE NAME" count="SIZE IN MB"
losetup /dev/loop0 "IMAGE NAME"
mkfs.ext3 /dev/loop0
mount /dev/loop0 "VSERVER DIR"
install-fc1 "VSERVER DIR" minimum

for backing up just umount your image and copy it to a different destination.

i made that from a athlon architecture 2.4.27-vs1.29 to a celeron architecture 2.6.11-vs1.95 and it worked for
me (Fedora Core1 Vserver).




Ursprüngliche Nachricht





 Absender:



 Timo Müller mailto:[EMAIL PROTECTED]





 Gesendet am:



 05.04.2005 09:52:52





 Betreff:



 [vserver] Clone an existing Server





 Empfänger: 



 vserver@list.linux-vserver.org mailto:vserver@list.linux-vserver.org







Hey,
at this time i just have create new vServer, but what if I want to
clone a existing Server?
How can I do that, when the Server is i another Network or so?
Just how can I clone an existing Linux Server ?

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



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


[Vserver] Linux-Vserver - Another Feature Question

2005-03-30 Thread [EMAIL PROTECTED]



Q1: Will there ever be an io-load limit option for linux-vserver virtual Machines?

Q2: Is there a webinterface in development for linux-vserver?

Regards 

Tom Eschler
 


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


[RE:] Re: [Vserver] Linux Vserver - Feature Question

2005-03-30 Thread [EMAIL PROTECTED]



Thank you for your fast answers.

I/O Limit for virtual machines. E.g. when you do a gzip job in a virtual machine, the I/O Load and cpu Load will
be quite high. To limit the cpu load is implemented i know, but the i/o load? 

in detail:
- maximum write/read speed of a common sata disc 60/60 MB/s
- all of the vservers are installed on that disc

would it be possilble to limit write/read speed for single vservers to split
the speed of the disc? For vservers with many copy,gzip or in special backup jobs it would be quite usefull.

Regards

Tom Eschler




Ursprüngliche Nachricht





 Absender:



 Herbert Poetzl mailto:[EMAIL PROTECTED]





 Gesendet am:



 31.03.2005 08:45:40





 Betreff:



 Re: [Vserver] Linux Vserver - Feature Question





 Empfänger: 



 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]





 Cc: 



 vserver@list.linux-vserver.org mailto:vserver@list.linux-vserver.org







On Wed, Mar 30, 2005 at 10:27:50PM +0200, [EMAIL PROTECTED] wrote:
 Will there ever be an io-load limit option?

what should the I/O load limit option limit?

please elaborate and give some details/examples
what happens and how it should be limited ...

TIA,
Herbert

 Regards
 
 Tom Eschler

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




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


[Vserver] interfaces that should appear inside a vserver

2005-02-03 Thread [EMAIL PROTECTED]
Hi all ML.
I'm a n00b of Vserver ... this is my 2nd day :)
I've a doubt about eth interfaces and how they should appear inside a 
vserver.

I've installed a Debian Vserver following the howto i found on the Main 
Vserver site and i feel really satisfied . I'm using an Interface alias 
on eth0 ... now my doubt is that inside the Vserver i see both the 
eth0 and eth0:template-debian interfaces ... is this normal?

ipv4root works well , so any service i start , even if in the 
configuration i set 0.0.0.0 as Listening address , listen only on the ip 
of the proper alias interface.

Thanks in Advance
P.
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver