AW: [Vserver] openpty(): No such file

2006-11-26 Thread Roman Pretory
Hello Oliver


I have the same trouble by cange from vserver0.40 to util-vserver-0.30.21
fc1-2
work on 2.6.12.x

my fix
edit /etc/pam.d/sshd
auth   required pam_nologin.so
=
#auth   required pam_nologin.so

edit /etc/rc.d/rc
true //set on end

remove network from init

hope it helps


BRG
Roman


my fi

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Oliver Heinz
Gesendet: Sonntag, 19. November 2006 15:21
An: Undisclosed.Recipients :
Cc: vserver@list.linux-vserver.org
Betreff: Re: [Vserver] openpty(): No such file


Am Samstag, 18. November 2006 21:46 schrieb Herbert Poetzl:
 On Sat, Nov 18, 2006 at 01:05:48PM +0100, Oliver Heinz wrote:
  Am Freitag, 17. November 2006 18:48 schrieb Oliver Heinz:
   Am Freitag, 17. November 2006 17:49 schrieb Herbert Poetzl:
On Fri, Nov 17, 2006 at 11:05:52AM +0100, Oliver Heinz wrote:
 Am Donnerstag, 16. November 2006 13:11 schrieb Daniel Hokka
Zakrisson:
  Oliver Heinz wrote:
   Hello,
  
   yesterday I upgraded my development server from 
   vmlinuz-2.6.12.5-vs2.0 to 2.6.17.14-grsec2.1.9-vs2.0.2.1 
   and util-vserver from util-vserver-0.30.210 to 
   util-vserver-0.30.211.
  
   All Debian/Ubuntu guests are running fine, but for the old 
   Suse9.0 guest when entering via vserver servername enter i 
   get an error:
  
   [EMAIL PROTECTED]:/usr/src/packages# vserver dakar enter vlogin:
   openpty(): No such file or directory 
   [EMAIL PROTECTED]:/usr/src/packages#
  
   Any Idea what's wrong? Entering via ssh works fine, all 
   services are running, so it's not a major issue, just 
   annoing.
 
  Does it have /dev/ptmx and a mounted /dev/pts? When you log 
  in through ssh, what tty are you on?

 dakar:~ # w
  10:56:59 up 1 day,  1:03,  2 users,  load average: 0.16, 0.16,
 0.29 USER TTYLOGIN@   IDLE   JCPU   PCPU WHAT
 oheinz  ttyp1 10:28   11:22   0.10s  0.10s -bash
 root ttyp2 10:560.00s  0.04s  0.00s w
   
~
looks like legacy ptys .. haven't seen them
for some time now, not sure that is related though ..
  
   I was wondering too, when I ssh to a real physical host with suse 
   9.0 and kernel 2.4 I get ptys
  
what does /dev contain in your guest?
 
   Just those few devices that are SuSE default ;-)
 
  - I tried to attach the List but: Message body is too big and nobody 
  approved it yet. Is there someting special you are interessted? 
  ttys?pts?

 ahem, this is what your guest should actually have in its /dev, 
 nothing more ...

 # ls /dev
 console  full  log=  null  ptmx  pts/  random  tty  urandom  zero

 maybe an additional hdv1, but that's it, everything
 else is not required and reduces your guest's security
 which is why the tools do not put stuff there besides
 the entries listed above ...

Thanks for that advice, but this vserver is an internal  development
platform 
for a real server, which (of course) does have all those /dev entries . So 
security in this guest is not an issue.

But it probably is not a good idea to have all that static dev entries that 
are for 2.4 kernels running with a 2.6 vserver enabled kernel, idn't it.

So I did remove all that crap, left only

crw---   1 root tty  5, 1 2006-11-19 15:14 console
crw-rw-rw-   1 root root 1, 7 2005-07-12 14:14 full
prw---   1 root root0 2006-11-19 15:14 initctl
crw-rw-rw-   1 root root 1, 3 2005-07-12 14:14 null
crw-rw-rw-   1 root tty  5, 2 2006-11-19 15:12 ptmx
drwxr-xr-x   2 root root 4096 2006-11-15 18:34 pts
crw-rw-rw-   1 root root 1, 8 2005-07-12 14:14 random
crw-rw-rw-   1 root tty  5, 0 2006-11-19 15:04 tty
-rw-r--r--   1 root root  582 2006-11-19 15:13 tty10
cr--r--r--   1 root root 1, 9 2006-11-15 18:34 urandom
crw-rw-rw-   1 root root 1, 5 2005-07-12 14:14 zero


But now I get an:
[EMAIL PROTECTED]:~# vserver dakar enter
vlogin: ioctl(): Not a typewriter
 [EMAIL PROTECTED]:~#


and login via ssh is now broken too :-(
Nov 19 15:08:56 dakar sshd[1912]: error: openpty: No such file or directory
Nov 19 15:08:56 dakar sshd[1912]: error: session_pty_req: session 0 alloc 
failed

Should I check with an non grsec vserver-kernel? Maybe it's grsec related?

Thanks so far,
Oliver





 best,
 Herbert

  TIA,
   Oliver
 
TIA,
Herbert
   
 dakar:~ # mount
 /dev/hda2 on / type reiserfs (rw)
 proc on /proc type proc (rw)
 devpts on /dev/pts type devpts (rw,mode=0620,gid=5)

 dakar:~ # ls -la /dev/ptmx
 crw-rw-rw-1 root tty5,   2 Sep 23  2003 /dev/ptmx


 Thanks so far,
 Oliver ___
 Vserver mailing list
 Vserver@list.linux-vserver.org
 http://list.linux-vserver.org/mailman/listinfo/vserver
 
  ___
  Vserver mailing list
  

[Vserver] kernel-2.6.17.13

2006-11-26 Thread Roman Pretory
Hi all

just testet kernel-2.6.17.13 / patch-2.6.17.13-vs2.0.2.1.diff.bz2 
for 2 dayes

ist a horror
.)modules for iptables have canged 
have to search after use oldconfig 

.)Nic's are turned very funny for remote work

.)Mailserver can't send mails with the new kernel
 

BRG
Roman


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


AW: [Vserver] kernel-2.6.17.13

2006-11-26 Thread Roman Pretory
update see below!

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Guenther
Fuchs
Gesendet: Sonntag, 26. November 2006 14:29
An: vserver@list.linux-vserver.org
Betreff: Re: [Vserver] kernel-2.6.17.13

Hi there,

on Sunday, November 26, 2006 at 12:54:08 PM there was posted:

RP just testet kernel-2.6.17.13 / patch-2.6.17.13-vs2.0.2.1.diff.bz2
RP for 2 dayes

On which distribution platfom?

Node = FC3
cpu=AMD atlon
GHZ=1.7- 2.1
Ram=512-2GB
MB=A7V
old Kernel = 2.6.12.3
util-vserver =  0.30.211 
Guest= RH9,FC1-3, Centos4x


RP ist a horror
RP .)modules for iptables have canged
RP have to search after use oldconfig

What is the old version you compared it against?

old Kernel = 2.6.12.3 = old .config


RP .)Nic's are turned very funny for remote work

What do you mean by that, what was expected and what did you get?

2 nic's in each server 
Production1: 2x 3 Com90xx  == not testet
Production2: Intel / Realtech  == error
Testsystem: 2x 3 Com90xx   == error

after reboot with the new kernel 
eth0 = eth1   
eth1 = eth0 


RP .)Mailserver can't send mails with the new kernel

Again - what do you mean by that, what was expected and what did you get?

A bit on information is necessary - a bit more always welcom. You should
know that from your first request session 

mailserver fc3 trys to send mails and can't 
take  wron ip ,can't find host...
in bash all ok dns give correct answers
=look for log  
=reboot sendmail
=reboot guest
=reboot node
=reboot node with 2.6.12.3   == mail are send!
=reboot node with 2.6.17 == error again
=reboot node with 2.6.12.3   == mail are send!

last .conf could be send if there is a need of

BRG
Roman


-- 
regards 'n greez,

Guenther Fuchs
(aka muh and powerfox)

___
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


AW: AW: [Vserver] kernel-2.6.17.13

2006-11-26 Thread Roman Pretory


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Daniel Hokka
Zakrisson
Gesendet: Sonntag, 26. November 2006 15:54
An: vserver@list.linux-vserver.org
Betreff: Re: AW: [Vserver] kernel-2.6.17.13


Roman Pretory wrote:
 RP ist a horror
 RP .)modules for iptables have canged
 RP have to search after use oldconfig
 
 What is the old version you compared it against?
 
 old Kernel = 2.6.12.3 = old .config

Of course, things change, that is to be expected. Netfilter got a 
rewrite a couple of versions ago (2.6.16, I think).

I already found such changes  now by 2.14 will see

 RP .)Nic's are turned very funny for remote work
 
 What do you mean by that, what was expected and what did you get?
 
 2 nic's in each server 
 Production1: 2x 3 Com90xx  == not testet
 Production2: Intel / Realtech  == error
 Testsystem: 2x 3 Com90xx   == error
 
 after reboot with the new kernel 
 eth0 = eth1   
 eth1 = eth0

You shouldn't rely on the kernel's naming. If you need eth0 to refer to 
a specific interface, you'll have to tell your distribution's network 
scripts to rename the interface with that hardware address.


Thanks
since now never used to 
could surly making troubless by canging nics

 RP .)Mailserver can't send mails with the new kernel
 
 Again - what do you mean by that, what was expected and what did you 
 get?
 
 A bit on information is necessary - a bit more always welcom. You 
 should
 know that from your first request session 
 
 mailserver fc3 trys to send mails and can't
 take  wron ip ,can't find host...
 in bash all ok dns give correct answers
 =look for log  
 =reboot sendmail
 =reboot guest
 =reboot node
 =reboot node with 2.6.12.3   == mail are send!
 =reboot node with 2.6.17 == error again
 =reboot node with 2.6.12.3   == mail are send!

And why can't you send mail with 2.6.17? What does take wrong IP mean?
 
yes this was confusing

sendmail said to contact my mailserver by host mail.xy.at at xy.xy.xy.8
this a record don't exist on this ip it have xy.xy.xy.2
it was a used a time ago for a subdomain for testing, but exist not anymore
in the bash by ping i get the correct a  mx record

I can't test more because it was my intern mailserver.
file, web, dns guests seems to work!

i'm upgrading all nodes in the moment und a kernel update looks to be wise..
bevor
so it' have to run with the old kernel until all is fixed.

I was only confused because I canged the kernel now for many times, 
by the same prozedure without troubles.

So this time i was careless making a quicker install.

Thanks for Info/Help analysis/testing need now time and so a new
Thread

BRG
Roman

PS: Nice new Wiki if the DNS are up :-) Thanks to Owner/Admin

-- 
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

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


RE: [Vserver] pre-start / pre-stop

2006-08-21 Thread Roman Pretory
You might want to read http://www.catb.org/~esr/faqs/smart-questions.html a
bit.
if there is a bit why not :-)

Roman Pretory wrote:
 to split for the util-vserver: 
 /etc/vserver/guestname/scripts/post-start
 
  mkdir -p /vservers/file//data
  mkdir -p /vservers/file//data/storage
  mkdir -p /vservers/file//data/storage/160GB_1
  mkdir -p /vservers/file//data/storage/60GB_1
  mkdir -p /vservers/file//data/storage/60GB_2
  mount --bind /data/storage/160GB_1 
 /vservers/file//data/storage/160GB_1
  mount --bind /data/storage/60GB_1
/vservers/file//data/storage/60GB_1
  mount --bind /data/storage/60GB_2
 /vservers/file//data/storage/60GB_2
 
 ===
 
 why dos it not work!!!

How doesn't it work? 
I have after the start of the guest the mounts not mounted!

What have you tried to make it work?
-)test on different nodes with differt os
-)change syntax
-)look for howto/or answers in this mailinglist


Why are you 
using a script for that rather than using the built-in fstab 
functionality? etc... In addition, version information is always helpful 
in case of an actual bug.

it works in the old config, the pre-start exist in the new too, why should
it not work normally.
i tryed fstab too, with no success.

output of one node:
node3 ~ $ ./testme.sh
Linux-VServer Test [V0.15] Copyright (C) 2003-2006 H.Poetzl
chcontext is working.
chbind is working.
Linux 2.6.12.3-vs #1 Tue Sep 6 23:18:17 CEST 2005 i686
Ea 0.30.210 273/glibc (DSa) v13,net
VCI: 0002:0001 273 0316 (TbLgnP)
---
[000]# succeeded.
[001]# succeeded.
[011]# succeeded.
[031]# succeeded.
[101]# succeeded.
[102]# succeeded.
[201]# succeeded.
[202]# succeeded.


BUT:
in the moment it seems to work, 
only in the guest I could see it.
the hole time I looked from the node.

funny, but if this is true i could use this in differt way too.

TBRG
RP




-- 
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

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


RE: [Vserver] pre-start / pre-stop

2006-08-21 Thread Roman Pretory
Hi there,

pls adjust your humor level to m/m 2.0 before reading this reply.

on Sunday, August 20, 2006 at 10:06:08 PM there was posted:

RP why dos it not work!!!

Some possible answers:
a) If you meant this to be a question, why do you miss out the
   question mark?


 for our species :-)
 and it work, as you see. :-)

b) This list relates to Linux, not to DOS.
c) YES SIR! WILL WORK!!eleven!!
d) NO SIR! NO WORK!!eleven!!

e) Pls refine it through your local interpreter an send us the debug
   info.
f) Why? It was designed to. If not, pls state why. And read this again

-- 
regards 'n greez,

Guenther Fuchs
(aka muh and powerfox)

___
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] Centos4 with apt

2006-08-21 Thread Roman Pretory
Herbert,

Options already found and used.
setup node new with centos4.3 follow howto

http://linux-vserver.org/CentOS_HowTo

-)kernel I use a differt way, quit the same as by fc3
-)use rpm made on FC3

and the vserver built work as i to be used to vserver-admin
only ssh/pam failed fix it with info from 
http://linux-vserver.org/VServer+installation+Fedora+Core+5
=/bin/sed --in-place -e s/^session.*required.*pam_loginuid.so/#
session\trequired\tpam_loginuid.so/g /etc/pam.d/*


I'm sure that the CentoOS4.3_guest will work on the fc3 node too
It will be tested.

so it seems for me it's a trouble of the fc3 node by creating, because I
have
not changed tween fc3 and CentOS kernel.config, util, Centosscipts,
creatingmetode

I have now convert a old FC3-node to util 
I try it there, and set up a new machine for testing.

Result will follow.

Thanks  Best Wish
Roman


-Ursprüngliche Nachricht-
Von: Herbert Poetzl [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 17. August 2006 23:17
An: Roman Pretory
Cc: vserver@list.linux-vserver.org
Betreff: Re: [Vserver] Centos4 with apt


On Tue, Aug 15, 2006 at 12:53:43AM +0200, Roman Pretory wrote:
 try to install Centos4 via apt
 
 vserver centos4 build -m apt-rpm --hostname=centos4.xy.at --interface 
 eth0:192.168.2.31/24 --force -- -d centos4
 
 runs fine until:
 /var/tmp/rpm-tmp.62292: line 10: touch: command not found
 Fehler: %post(psacct-6.3.2-38.rhel4.i386) scriptlet failed, exit 
 status 127
 
 /bin/chown: Zugriff auf â/var/lib/rpm/[A-Z]*â nicht möglich: Datei 
 oder Verzeichnis nicht gefunden

try using 
 export LANG=C 
 export LC_ALL=C

 E: Sub-process /usr/lib/util-vserver/vrpm-preload returned an error 
 code
 (255)
 
 /vserver/centos4 is been del automatic??

'vserver - build --help'  says:

Options:
--force ...  remove/rename already existing vservers with the same
 name
--keep  ...  do not delete generated files and directories when
 build of vserver failed.

 were are the RPM gone??

I'd assume they are put somewhere temporary

HTH,
Herbert

 Thanks BRG
 Roman
 
 ___
 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] pre-start / pre-stop

2006-08-20 Thread Roman Pretory
hi

I have try to convert the old skipt(guestname.sh/guestname.conf) to the new
style

/etc/vserver/guestname.sh:
#!/bin/sh
case $1 in
pre-start)
mkdir -p /vservers/file//data
mkdir -p /vservers/file//data/storage
mkdir -p /vservers/file//data/storage/160GB_1
mkdir -p /vservers/file//data/storage/60GB_1
mkdir -p /vservers/file//data/storage/60GB_2
mount --bind /data/storage/160GB_1
/vservers/file//data/storage/160GB_1
mount --bind /data/storage/60GB_1
/vservers/file//data/storage/60GB_1
mount --bind /data/storage/60GB_2
/vservers/file//data/storage/60GB_2
;;
post-start)
;;
pre-stop)
;;
post-stop)
umount /vservers/file//data/storage/160GB_1
umount /vservers/file//data/storage/60GB_1
umount /vservers/file//data/storage/60GB_2
;;
*)
echo $0 pre-start
echo $0 pre-stop
echo $0 post-start
echo $0 post-stop
;;
esac

to split for the util-vserver:
/etc/vserver/guestname/scripts/post-start

mkdir -p /vservers/file//data
mkdir -p /vservers/file//data/storage
mkdir -p /vservers/file//data/storage/160GB_1
mkdir -p /vservers/file//data/storage/60GB_1
mkdir -p /vservers/file//data/storage/60GB_2
mount --bind /data/storage/160GB_1
/vservers/file//data/storage/160GB_1
mount --bind /data/storage/60GB_1
/vservers/file//data/storage/60GB_1
mount --bind /data/storage/60GB_2
/vservers/file//data/storage/60GB_2

===

why dos it not work!!!

TBW
Roman Pretory



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


[Vserver] FC4 with apt

2006-08-15 Thread Roman Pretory
Hi

Install Failed
please have a look


==
Edit /etc/vservers/.distributions/fc4/apt/sources.list

### Fedora Core Linux
repomd http://ayo.freshrpms.net fedora/linux/4/$(ARCH)/core
#repomd http://ayo.freshrpms.net fedora/linux/4/$(ARCH)/updates
#rpm http://ayo.freshrpms.net fedora/linux/4/$(ARCH) core updates
==


node4 ~ $vserver fc4 build -m apt-rpm --hostname=fc4.xy.at --interface
eth0:192.168.2.31/24 --force --keep -- -d fc4

Get:1 http://ayo.freshrpms.net fedora/linux/4/i386/core repomd.xml [1140B]
..
Get:4 http://ayo.freshrpms.net fedora/linux/4/i386/updates/ filelists.xml
[1553kB]
Fetched 4635kB in 19s (234kB/s)
Reading Package Lists... Done
Building Dependency Tree... Done
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  basesystem filesystem glibc-common libgcc setup tzdata
The following NEW packages will be installed:
  basesystem filesystem glibc glibc-common libgcc setup tzdata
0 upgraded, 7 newly installed, 0 removed and 0 not upgraded.
Need to get 23,4MB of archives.
After unpacking 79,6MB of additional disk space will be used.
Get:1 http://ayo.freshrpms.net fedora/linux/4/i386/updates/ setup 2.5.44-1.1
[31,8kB]
..
Get:7 http://ayo.freshrpms.net fedora/linux/4/i386/updates/ glibc 2.3.6-3
[6510kB]
Fetched 23,4MB in 1m34s (247kB/s)
Executing RPM (-Uvh)...
Preparing...###
[100%]
   1:setup  ### [
14%]
...
   7:glibc  ###
[100%]
Done.
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 removed and 0 not upgraded.
Need to get 0B/16,4kB of archives.
After unpacking 0B of additional disk space will be used.
Executing RPM (-Uvh)...
Preparing...###
[100%]
   1:filesystem ###
[100%]
Done.
Reading Package Lists... Done
Building Dependency Tree... Done
setup is already the newest version.
The following extra packages will be installed:
  MAKEDEV SysVinit audit-libs bash chkconfig cpio cracklib cracklib-dicts
db4 device-mapper e2fsprogs ethtool fedora-release findutils gawk grep gzip
hotplug hwdata info
  initscripts iproute iputils kernel less libacl libattr libselinux libsepol
libstdc++ libtermcap lvm2 mingetty mkinitrd mktemp module-init-tools ncurses
net-tools pam
  pcre popt procps psmisc readline sed shadow-utils sysklogd tar termcap
udev util-linux zlib
The following NEW packages will be installed:
  MAKEDEV SysVinit audit-libs bash chkconfig coreutils cpio cracklib
cracklib-dicts db4 device-mapper e2fsprogs ethtool fedora-release findutils
gawk grep gzip hotplug
  hwdata info initscripts iproute iputils kernel less libacl libattr
libselinux libsepol libstdc++ libtermcap lvm2 mingetty mkinitrd mktemp
module-init-tools ncurses
  net-tools pam pcre popt procps psmisc readline sed shadow-utils sysklogd
tar termcap udev util-linux zlib
0 upgraded, 53 newly installed, 0 removed and 0 not upgraded.
Need to get 45,9MB of archives.
After unpacking 112MB of additional disk space will be used.
Get:1 http://ayo.freshrpms.net fedora/linux/4/i386/core/ mktemp 3:1.5-23
[13,5kB]
...
Get:53 http://ayo.freshrpms.net fedora/linux/4/i386/updates/ coreutils
5.2.1-48.1 [3091kB]
Fetched 45,9MB in 3m10s (241kB/s)
Executing RPM (-Uvh)...
Preparing...###
[100%]
   1:libselinux ### [
2%]
...
  53:lvm2   ###
[100%]
Done.
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
/usr/lib/util-vserver/distributions/fc4/initpost: line 107: 10724 Getötet
$_VSERVER $vserver exec bash -c ': /tmp/startwait' /dev/null



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


[Vserver] Guest buid from mounted iso / cd

2006-08-15 Thread Roman Pretory
Hi

Have anyone the syntax and canges to be made, to install a vserver with
util-vserver from /mnt/cdrom
where a cd is inside or a iso of the disti is mountet?
no howto found until now.

just like it runs with newverver 


thanks,
Roman

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


Re: [Vserver] FC4 with apt

2006-08-15 Thread Roman Pretory


RP Install Failed

GHCan't see that, only the line
RP /usr/lib/util-vserver/distributions/fc4/initpost: line 107: 10724 
RP Getötet $_VSERVER $vserver exec bash -c ': /tmp/startwait' 
RP /dev/null
GH show's an error, which is half normal.

half not half it dos't work
the server did't start and I can't fix it!


GH Btw: apt-get is deprecated for FC4 - latest Fedora supported version is
FC3. So with FC4+ you should use yum instead.

Would meen that it work with fc3 = but it DOSN'T TOO
it is quit the same error see below (*fc3) --in full version


RP please have a look

GHWould it be a problem for you to use the method(s) described in the
HowTo?
GH  = http://linux-vserver.org/VServer+installation+Fedora+Core+4

OH no, no problem, if it would work,
than I can't stop testing differt methods to get a running server with the
util-vserver
but it dosn't work = see below (*fc4_yum) --in full version

I wish back the old kind of create a vserver from the cdrom, 
- is was very fast
- no update from conf files
- no traffic on the line 
- and WORKING without troubles.stop. not complete  correct, bootstap
with debian works, but I don't use debian :-) 

I continue search for the syntax, maybe I get help by the thread i opened. 


regards,
Roman


*fc4_yum
node3 ~ $ vserver fc4 build -m yum --hostname=fc4.xy.at --interface
fc4=eth0:192.168.2.29/24 --force --keep -- -d fc4
/etc/vservers/.defaults/vdirbase/fc4/bin
Renamed '/etc/vservers/.defaults/vdirbase/fc4' to
'/etc/vservers/.defaults/vdirbase/fc4.~1155641385~'
/etc/vservers/fc4/apps
Renamed '/etc/vservers/fc4' to '/etc/vservers/fc4.~1155641385~'
Renamed '/etc/vservers/.defaults/vdirbase/.pkg/fc4' to
'/etc/vservers/.defaults/vdirbase/.pkg/fc4.~1155641385~'
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...
http://www.fedora.is/fedora/core/updates/4/i386/repodata/repomd.xml: [Errno
4] IOError: urlopen error (110, 'Die Wartezeit f\xc3\xbcr die Verbindung
ist abgelaufen')
Trying other mirror.
Transaction Listing:
  Install: glibc.i686 0:2.3.6-3 - updates-released

Performing the following to resolve dependencies:
  Install: basesystem.noarch 0:8.0-5 - base
  Install: filesystem.i386 0:2.3.4-1 - base
  Install: glibc-common.i386 0:2.3.6-3 - updates-released
  Install: libgcc.i386 0:4.0.2-8.fc4 - updates-released
  Install: setup.noarch 0:2.5.44-1.1 - updates-released
  Install: tzdata.noarch 0:2006g-1.fc4 - updates-released
Total download size: 22 M

Installed: glibc.i686 0:2.3.6-3
Dependency Installed: basesystem.noarch 0:8.0-5 filesystem.i386 0:2.3.4-1
glibc-common.i386 0:2.3.6-3 libgcc.i386 0:4.0.2-8.fc4 setup.noarch
0:2.5.44-1.1 tzdata.noarch 0:2006g-1.fc4
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...
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...
Transaction Listing:
  Install: coreutils.i386 0:5.2.1-48.1 - updates-released

Performing the following to resolve dependencies:
  Install: MAKEDEV.i386 0:3.19-1 - base
  Install: SysVinit.i386 0:2.85-39 - base
  Install: audit-libs.i386 0:1.0.14-1.fc4 - updates-released
  Install: bash.i386 0:3.0-31 - base
  Install: chkconfig.i386 0:1.3.23-0.4 - updates-released
  Install: cpio.i386 0:2.6-9.FC4 - updates-released
  Install: cracklib.i386 0:2.8.2-1 - base
  Install: cracklib-dicts.i386 0:2.8.2-1 - base
  Install: db4.i386 0:4.3.27-5.fc4 - updates-released
  Install: device-mapper.i386 0:1.02.07-2.0 - updates-released
  Install: e2fsprogs.i386 0:1.38-0.FC4.1 - updates-released
  Install: ethtool.i386 0:3-1 - base
  Install: fedora-release.noarch 0:4-2 - base
  Install: findutils.i386 1:4.2.20-1 - base
  Install: gawk.i386 0:3.1.4-5.4 - updates-released
  Install: grep.i386 0:2.5.1-48.2 - updates-released
  Install: gzip.i386 0:1.3.5-6 - base
  Install: hotplug.i386 3:2004_09_23-7 - base
  Install: hwdata.noarch 0:0.158.3-1 - updates-released
  Install: info.i386 0:4.8-8.fc4.2 - updates-released
  Install: initscripts.i386 0:8.11.1-1 - base
  Install: iproute.i386 0:2.6.11-1 - 

Re: [Vserver] FC4 with apt

2006-08-15 Thread Roman Pretory

Roman Pretory wrote:
 
 RP Install Failed
 
 GHCan't see that, only the line
 RP /usr/lib/util-vserver/distributions/fc4/initpost: line 107: 10724
 RP Getötet $_VSERVER $vserver exec bash -c ': /tmp/startwait' 
 RP /dev/null
 GH show's an error, which is half normal.
 
 half not half it dos't work
 the server did't start and I can't fix it!

DHZ What doesn't work? vserver ... build doesn't start the guest, it just 
DHZ builds it. You'll have to start it afterwards.

Yes i know correct it don't start it, the meaning was the start after
failes.

 http://www.fedora.is/fedora/core/updates/4/i386/repodata/repomd.xml: 
 [Errno 4] IOError: urlopen error (110, 'Die Wartezeit f\xc3\xbcr die 
 Verbindung ist abgelaufen')

DHZ export LANG=C LC_ALL=C will make errors a lot easier to read for people

DHZ not speaking your language.

no idea what you mean
also is this not imortant part

 node3 ~ $ vserver fc4 start
 RTNETLINK answers: File exists
 vshelper.init: can not determine xid of vserver 'fc4'; returned value 
 was ''
 
 An error occured after executing the vserver startup sequence. This 
 means that some processes may exist in the created context and the 
 manual execution of
 
   /usr/sbin/vserver '/etc/vservers/fc4' stop
 
 is recommended to fix this.
 node3 ~ $

DHZ This probably means that the syslog initscript wasn't enabled for 
DHZ whatever reason, and thus no process is started inside the context.


this is clear for me the whatever makes me trouble!
how to fix it?

 node3 ~ $ vserver fc3 start
 Starting syslog:  execvp: No such file or directory
[FAILED]

DHZ An strace would probably help here.

please a litle more information here strace??


Thanks for help
Roman

-- 
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

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


Re: [Vserver] Guest buid from mounted iso / cd

2006-08-15 Thread Roman Pretory


Roman Pretory wrote:
 Hi
 
 Have anyone the syntax and canges to be made, to install a vserver 
 with util-vserver from /mnt/cdrom where a cd is inside or a iso of the 
 disti is mountet? no howto found until now.

vserver ... build -m rpm ... -- -d dist -b /mnt/cdrom

Thanks but it seem to be also a onway ticket.
the next way to get no vserver:
node3 ~ $ vserver fc3 build -m rpm --hostname=fc3.xy.at --interface
eth0:192.168.2.29/24 --force --keep -- -d fc3 -b /mnt/cdrom/Fedora/RPMS/
-d fc3 -b /mnt/cdrom/Fedora/RPMS/ --
/etc/vservers/.defaults/vdirbase/fc3/dev
Renamed '/etc/vservers/.defaults/vdirbase/fc3' to
'/etc/vservers/.defaults/vdirbase/fc3.~1155651281~'
/etc/vservers/fc3/apps
Renamed '/etc/vservers/fc3' to '/etc/vservers/fc3.~1155651281~'
Renamed '/etc/vservers/.defaults/vdirbase/.pkg/fc3' to
'/etc/vservers/.defaults/vdirbase/.pkg/fc3.~1155651282~'
/tmp/vserver-build.rpm.manifest.l16224: not an rpm package (or package
manifest):


It's better now to go outside with the dog bevor i killing the pc .. hg/brg
rp


Ps: found not working howto:
http://linux-vserver.org/alpha+util-vserver
http://linux-vserver.org/FedoraHowTo old one?? it works with vserver4.0-1


-- 
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

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


[Vserver] vcontext: execvp(bash): No such file or directory

2006-08-15 Thread Roman Pretory
hello

vcontext: execvp(bash): No such file or directory

what the meaning off??
how it could fixed.
more info were it come from see below.

TBW
Roman



node3 ~ $vserver fc3 build -m rpm --hostname=fc3.yx.at --interface
eth0:192.168.2.29/24  --context 42 -- -d fc3 -b /mnt/cdrom/Fedora/RPMS/
-d fc3 -b /mnt/cdrom/Fedora/RPMS/ --
Warnung: package glibc = 2.3.3-74 was already added, replacing with glibc =
2.3.3-74
Preparing...###
[100%]
   1:setup  ### [
14%]
   2:filesystem ### [
29%]
   3:basesystem ### [
43%]
   4:tzdata ### [
57%]
   5:glibc-common   ### [
71%]
   6:libgcc ### [
86%]
   7:glibc  ###
[100%]
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.

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


[Vserver] convert a ns vserver

2006-08-14 Thread Roman Pretory
hello all,

I move a fc3-vserver from a old system (vserver 40-1) to (util-vserver
0.30.210)

after move named can`t start
reinstall dosn't help
already tryed all cap options

a new installed vserver works

knows anyone were is the differt, and how to fix???


Best Regards
Roman Pretory
 

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


AW: [Vserver] Files lost in guestsystem update

2006-08-14 Thread Roman Pretory
Hello,


I lose files in the guest system (debian/fc3)
in the host i could see them why??
-config error??
-could i get them back??
-it seem it happends if i touch them from the host
- all files are with a ? bevor and have the date 1970
- kernelconfig --- vserver  Tag NFSD User Auth and Files aktiv 

2. trouble bind is not working

vi /etc/vservers/dns/bcapabilities

NET_BIND_SERVICE
NET_ADMIN
NET_RAW
SYS_ADMIN
SYS_BOOT
SYS_NICE
CAP_SYS_RESOURCE


node4 ~ $ vserver dns start
Starting named: named: capset failed: Operation not permitted: please ensure
that the capset kernel module is loaded.  see insmod(8)

system: fc3
kernel: 2.6.17.7-vs2.0.2
util-vserver 0.30.210


Thanks for help 
Roman

___
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] Files lost in guestsystem update

2006-08-14 Thread Roman Pretory
up :-(
I think you meen the X-IMAPbase in the header I use
sorry 

thanks for advice
Roman



You are constantly hijacking your own threads and those of others. This is
harmful to everyone that uses a threaded view of his mailbox. Most people
are likely to ignore you because of that, please do _not_ hit the reply
button, but write a new email if you are not actually writing a reply.

Björn

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


[Vserver] Centos4 with apt

2006-08-14 Thread Roman Pretory
try to install Centos4 via apt

vserver centos4 build -m apt-rpm --hostname=centos4.xy.at --interface
eth0:192.168.2.31/24 --force -- -d centos4

runs fine until:
/var/tmp/rpm-tmp.62292: line 10: touch: command not found
Fehler: %post(psacct-6.3.2-38.rhel4.i386) scriptlet failed, exit status 127

/bin/chown: Zugriff auf â/var/lib/rpm/[A-Z]*â nicht möglich: Datei oder
Verzeichnis nicht gefunden

E: Sub-process /usr/lib/util-vserver/vrpm-preload returned an error code
(255)

/vserver/centos4 is been del automatic??
were are the RPM gone??

Thanks BRG
Roman

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


[Vserver] Files lost in guestsystem

2006-08-13 Thread Roman Pretory
Hello,


I lose files in the guest system (debian/fc3)
in the host i could see them why??
-config error??
-could i get them back??
-it seem it happends if i touch them from the host



2. trouble bind is not working

vi /etc/vservers/dns/bcapabilities

NET_BIND_SERVICE
NET_ADMIN
NET_RAW
SYS_ADMIN
SYS_BOOT
SYS_NICE
CAP_SYS_RESOURCE


node4 ~ $ vserver dns start
Starting named: named: capset failed: Operation not permitted: please ensure
that the capset kernel module is loaded.  see insmod(8)

system: fc3
kernel: 2.6.17.7-vs2.0.2
util-vserver 0.30.210


Thanks for help 
Roman

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


AW: [Vserver] Couldn't find package glibc

2006-07-31 Thread Roman Pretory


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Daniel Hokka
Zakrisson
Gesendet: Montag, 31. Juli 2006 00:40
An: vserver@list.linux-vserver.org
Betreff: Re: [Vserver] Couldn't find package glibc


Roman Pretory wrote:
 Hi all
 
 system
 fc3
 kernel 2.6.17.7-vs2.0.2
 util-vserver 0.30.210
 
 setup debian works
 
 
 fc3, or fc4 make troubles:
 
 node3 ~ $ vserver gast build -m apt-rpm --hostname=gast.example 
 --interface gast0=eth0:192.168.0.1/24 -- -d fc4 Reading Package 
 Lists... Done Building Dependency Tree... Done
 Reading Package Lists... Done
 Building Dependency Tree... Done
 E: Couldn't find package glibc

Have you configured 
${sysconfdir}/vservers/.distributions/fc[34]/sources.list to point to a 
valid mirror? Or are you using a recent enough apt-rpm that it has 
support for the repomd format that Fedora repositories have been using 
since FC3 (IIRC)?

-- 
Daniel Hokka Zakrisson


yesss I have configured 

the source.list by takeing it from apt of the hostsystem.
some seems to work but only , the message is the same.

roman

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

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


[Vserver] convert vserver from vserver0.40 to util-vserver 0.30.210

2006-07-30 Thread Roman Pretory
Hi all

old system
fc3
kernel 2.6.12.4-vs2.0
vserver0.40


new system
fc3
kernel 2.6.17.7-vs2.0.2
util-vserver 0.30.210

how to convert the old vserver
(rh9,fc1,fc2,fc3) 
to run with  util-vserver
with bind!!

Thanks 
Roman


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


[Vserver] Couldn't find package glibc

2006-07-30 Thread Roman Pretory
Hi all

system
fc3
kernel 2.6.17.7-vs2.0.2
util-vserver 0.30.210

setup debian works


fc3, or fc4 make troubles:

node3 ~ $ vserver gast build -m apt-rpm --hostname=gast.example --interface
gast0=eth0:192.168.0.1/24 -- -d fc4
Reading Package Lists... Done
Building Dependency Tree... Done
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package glibc



glibc is installed with apt or by syssetup


Thanks for Help
Roman

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


[Vserver] set paramenters in util-vserver conf

2006-07-30 Thread Roman Pretory
Hi all

ONBOOT=no

PRIORITY=100

S_FLAGS=lock nproc netif

ULIMIT=-HS -u 1000

S_CAPS=CAP_NET_RAW CAP_SYS_ADMIN



Thanks for Help
Roman


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


[Vserver] reboot faied because of nfs

2006-03-09 Thread Roman Pretory
Title: Nachricht



Hi

litte tricky but 
maybe good to know!

vserver xx1 mount 
a nfs share by scipt for backup and umout failed
case not shoud 
happend: (already fixed)
node make a rsync 
from this vserver xx1and sync the mount 
too
=sync failed 
and stop 
because hdd is full /not so big to sync the backuphdd too

so vserver xx1can't umount anymorehis 
mountalso restart or stop from the vserverxx1 
failed

kill all pids 
=no solution

only node restart 
fix it

BRG
Roman

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


[Vserver] Network, Shapping, util

2006-03-08 Thread Roman Pretory
Title: Nachricht



Hello

A lotof 
Questions :-)
Maybe one have 
answers or ideas


Thanks 
Roman

#===

1)seperate Network on 
node

have a node with 2 
nics

eth0 is 
192.168.2.2/255.255.255.0 connected to Zywall 
LAN-Interface
eth1 is 
10.0.0.1/255.255.255.0 connected to Zywall DMZ-Interface

How to seperate 
the vservers to be only in DMZ /LAN without lossing the connection to Internen 
(Gateway) and be
shure that no 
connact is possibe from LAN to DMZ over the Node

and able to 
connect server vom LAn in the DMZ

Have played a long 
timewith iptables and networkconfigs no idea left to test 
:-(

#===

2) Shapping CPU 
/ set limit on CPU

 
is it possible to give a vserver only 50% of the cpu or better to give 10% fix 
and if free more or up to xx%
 
like cir/eir

#===

3) traffice 
shaping 

have anyone a 
working howto already testet and running in production mode
seperate node, 
vservers and services per vserver/node

#===

4) move fromvserver: 0.40 to 
util-vserver

exist a 
howto??
convert vserver 
possible --without loosing anything

#===

Config:

Kernel: 
2.6.12.3 / 2.6.14.7
patch: 2.0 / 2.01
vserver: 0.40
node:fc3 

hosts rh 9/fc1-3 
/debian

#===


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


AW: [Vserver] Network, Shapping, util

2006-03-08 Thread Roman Pretory
First Thanks for Help

-Ursprüngliche Nachricht-
Von: Herbert Poetzl [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 08. März 2006 19:48
An: Roman Pretory
Cc: vserver@list.linux-vserver.org
Betreff: Re: [Vserver] Network, Shapping, util


On Wed, Mar 08, 2006 at 04:34:06PM +0100, Roman Pretory wrote:
 Hello
  
 A lot of Questions  :-)
 Maybe one have answers or ideas
  
 Thanks Roman
  

#===
 
  
 1) seperate Network on node
  
 have a node with 2 nics
  
 eth0 is 192.168.2.2/255.255.255.0 connected to Zywall   LAN-Interface
 eth1 is 10.0.0.1/255.255.255.0 connected to Zywall DMZ-Interface
  
 How to seperate the vservers to be only in DMZ /LAN without lossing
 the connection to Internen (Gateway) and be shure that no connact is
 possibe from LAN to DMZ over the Node
  
 and able to connect server vom LAn in the DMZ
  
 Have played a long time with iptables and networkconfigs no idea left
 to test :-(

http://archives.linux-vserver.org/200311/0470.html

from http://linux-vserver.org/Documentation (Archived Knowledge)

It will Help 
Thanks


#===
 
  
 2) Shapping CPU / set limit on CPU
  
 is it possible to give a vserver only 50% of the cpu or better to
 give 10% fix and if free more or up to xx% like cir/eir

http://linux-vserver.org/Scheduler+Parameters

(same source, Howtos)

latest devel versions support setting two pairs of
scheduler parameters, one for the 'guarantee' and
another one for the idle case, which allows to utilize
otherwise unused cpu resources



devel?! 
how long you think for stabil 
is it usable only with util or also with Vserver
I need it for produktion use

is there a group for beta testing is there a place free or could i help?!



#===
 
  
 3) traffice shaping 
  
 have anyone a working howto already testet and running in production mode
 seperate node, vservers and services per vserver/node

TC is your friend here ...



Thanks I have already meet him :-)
Only need Infos of Produktion experiences, to make not errors twice


#===
 
  
 4) move from  vserver: 0.40 to util-vserver
  
 exist a howto??
 convert vserver possible --without loosing anything
 http://www.13thfloor.at/vserver/d_rel26/v1.9.1/util-vserver-0.29.5.tar 

hmm, you probably want util-vserver 0.30.210, the config
is described on the FlowerPage (referenced on the main page)
and probably the simplest way to 'upgrade' the config is
one of the scripts floating around to do that, or alternatively
the -m skeleton build method which should be quite simple
to use to get a new config ...

HTH,
Herbert

NO I don`t but if I read the pages
(http://www.13thfloor.at/vserver/s_rel26/v2.01/)
there is no info about vserver only util
so I think this is the future or the better way, is it??
or is vserver so good as

as i testet maybe by version patch 28 for kernel 2.4.xx util make a lot of
troubles I can't get it to run clean, 
vservers works there are rpm so no wish by install perfect

Thanks
Roman





#===
 
  
 Config:
  
 Kernel: 2.6.12.3  / 2.6.14.7
 patch: 2.0 / 2.01
 vserver: 0.40
 node:fc3 
 hosts rh 9/fc1-3 /debian
  

#===
 
  
  

 ___
 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


AW: [Vserver]kill vserver

2005-09-03 Thread Roman Pretory


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Herbert
Poetzl
Gesendet: Samstag, 03. September 2005 05:04
An: Roman Pretory
Cc: vserver@list.linux-vserver.org
Betreff: Re: [Vserver]kill vserver


On Fri, Sep 02, 2005 at 02:38:06PM +0200, Roman Pretory wrote:
 Hi
  
 Following trouble ich have with vservers somethimes
  
 Kernel 2.4.6/2.4.30 vserver 029, 032

hmm, please give the 
  http://vserver.13thfloor.at/Stuff/SCRIPT/testme.sh
a try and let us know what the output is ...

 the vserver hangs in some processes or anything else,
 than he is also not anymore reachable over ssh or webmin,
 so that there is no way from inside.
  
 the node is reachable, the reaktion of it not everythime good, but it 
 works.

 to enter or to stop the vserver over the normal command ..(vserver xy
 stop/enter) ends by (New security context is 49152), by enter over ssh 
 I could kill the session.. no way out.

I would suggest to avoid dynamic context ids,
better use static ones (2-49151)

?? How could I set them

 in the passt i allways make a reset on the node, but I think there 
 should be a better way, because the node is still alife.

yep, maybe an update of the kernel/patches
might help here, maybe a restructuring of
your network setup too, we need to gather
more information first ...


TIA,
Herbert

Yes your right , I forgot

Node0
OS: RH9.0
Kernel: 2.4.26
Patch: patch-2.4.26-vs1.28.diff
Vserver: 029-1
Network config: 2 nic's 10.x, 217.x
Saved by Firwall: on ip and port,  
open Ports: 80,81,pop,smtp
closed group for : 22,1,21,mysql,postgres  

2005-09-03 08:42:29.324 Linux-VServer Test [V0.13] Copyright (C)
2003-2005 H.Poetzl
2005-09-03 08:42:29.474 chcontext is working.
2005-09-03 08:42:29.474 chbind is working.
2005-09-03 08:42:29.675 Linux 2.4.26-vs1.28 i686/0.30/0.30 [E] (0)
2005-09-03 08:42:29.675 VCI:  none
2005-09-03 08:42:29.685 ---
2005-09-03 08:42:29.685 [000]# succeeded.
2005-09-03 08:42:29.685 [001]# succeeded.
2005-09-03 08:42:29.685 [011]# succeeded.
2005-09-03 08:42:29.685 [031]# succeeded.
2005-09-03 08:42:29.685 [101]# succeeded.
2005-09-03 08:42:29.685 [102]# succeeded.
2005-09-03 08:42:29.685 [201]# succeeded.
2005-09-03 08:42:29.685 [202]# succeeded.
2005-09-03 08:42:29.685 

Node3
OS: RH9.0
Kernel: 2.4.29
Patch: patch-2.4.26-vs1.28.diff
Vserver: 029-1
Network config: 1 nic 192.x
Saved by Firwall: on ip and port
open Ports: 80,81,pop,smtp
closed group for : 22,1,21,mysql,postgres  

Linux-VServer Test [V0.13] Copyright (C) 2003-2005 H.Poetzl
chcontext is working.
chbind is working.
Linux 2.4.29-vs1.2.10-VPN-FAX i686/0.30/0.30 [E] (0)
VCI:  none
---
[000]# succeeded.
[001]# succeeded.
[011]# succeeded.
[031]# succeeded.
[101]# succeeded.
[102]# succeeded.
[201]# succeeded.
[202]# succeeded.


Node1 
OS: FC1
Kernel: 2.4.29
Patch: patch-1.2.10-vs1.2.10.diff
Vserver: 029-1
Network config: 2 nic's 10.x, 217.x
Saved by Firwall: on ip and port
open Ports: 80,81,pop,smtp
closed group for : 22,1,21,mysql,postgres  

2005-09-03 08:38:40.936 Linux-VServer Test [V0.13] Copyright (C)
2003-2005 H.Poetzl
2005-09-03 08:38:41.346 chcontext is working.
2005-09-03 08:38:41.346 chbind is working.
2005-09-03 08:38:41.547 Linux 2.4.30-vs1.2.10-min i686/0.32/0.32 [J] (0)
2005-09-03 08:38:41.557 VCI:  none
2005-09-03 08:38:41.557 ---
2005-09-03 08:38:41.557 [000]# succeeded.
2005-09-03 08:38:41.557 [001]# succeeded.
2005-09-03 08:38:41.557 [011]# succeeded.
2005-09-03 08:38:41.557 [031]# succeeded.
2005-09-03 08:38:41.557 [101]# succeeded.
2005-09-03 08:38:41.557 [102]# succeeded.
2005-09-03 08:38:41.557 [201]# failed.
2005-09-03 08:38:41.557 [202]# succeeded.
2005-09-03 08:38:41.567 


Vservers, FC1,FC2,RH9 and other for tests


To patch the kernel remote on the live system! to much risk.

I will make a test again with the 2.6 kernel 
if it works now stabil,
And if I could import/use the old vservers, but this takes much time
Until this done this trouble still aktive.



thanks for help 
Best Regards
Rp
 



 ___
 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 mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


AW: [Vserver]kill vserver

2005-09-03 Thread Roman Pretory


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Herbert
Poetzl
Gesendet: Samstag, 03. September 2005 05:04
An: Roman Pretory
Cc: vserver@list.linux-vserver.org
Betreff: Re: [Vserver]kill vserver


On Fri, Sep 02, 2005 at 02:38:06PM +0200, Roman Pretory wrote:
 Hi
  
 Following trouble ich have with vservers somethimes
  
 Kernel 2.4.6/2.4.30 vserver 029, 032

hmm, please give the 
  http://vserver.13thfloor.at/Stuff/SCRIPT/testme.sh
a try and let us know what the output is ...

 the vserver hangs in some processes or anything else,
 than he is also not anymore reachable over ssh or webmin,
 so that there is no way from inside.
  
 the node is reachable, the reaktion of it not everythime good, but it 
 works.

 to enter or to stop the vserver over the normal command ..(vserver xy
 stop/enter) ends by (New security context is 49152), by enter over ssh 
 I could kill the session.. no way out.

I would suggest to avoid dynamic context ids,
better use static ones (2-49151)

?? How could I set them

 in the passt i allways make a reset on the node, but I think there 
 should be a better way, because the node is still alife.

yep, maybe an update of the kernel/patches
might help here, maybe a restructuring of
your network setup too, we need to gather
more information first ...


TIA,
Herbert

Yes your right , I forgot

Node0
OS: RH9.0
Kernel: 2.4.26
Patch: patch-2.4.26-vs1.28.diff
Vserver: 029-1
Network config: 2 nic's 10.x, 217.x
Saved by Firwall: on ip and port,  
open Ports: 80,81,pop,smtp
closed group for : 22,1,21,mysql,postgres  

2005-09-03 08:42:29.324 Linux-VServer Test [V0.13] Copyright (C)
2003-2005 H.Poetzl
2005-09-03 08:42:29.474 chcontext is working.
2005-09-03 08:42:29.474 chbind is working.
2005-09-03 08:42:29.675 Linux 2.4.26-vs1.28 i686/0.30/0.30 [E] (0)
2005-09-03 08:42:29.675 VCI:  none
2005-09-03 08:42:29.685 ---
2005-09-03 08:42:29.685 [000]# succeeded.
2005-09-03 08:42:29.685 [001]# succeeded.
2005-09-03 08:42:29.685 [011]# succeeded.
2005-09-03 08:42:29.685 [031]# succeeded.
2005-09-03 08:42:29.685 [101]# succeeded.
2005-09-03 08:42:29.685 [102]# succeeded.
2005-09-03 08:42:29.685 [201]# succeeded.
2005-09-03 08:42:29.685 [202]# succeeded.
2005-09-03 08:42:29.685 

Node3
OS: RH9.0
Kernel: 2.4.29
Patch: patch-2.4.26-vs1.28.diff
Vserver: 029-1
Network config: 1 nic 192.x
Saved by Firwall: on ip and port
open Ports: 80,81,pop,smtp
closed group for : 22,1,21,mysql,postgres  

Linux-VServer Test [V0.13] Copyright (C) 2003-2005 H.Poetzl
chcontext is working.
chbind is working.
Linux 2.4.29-vs1.2.10-VPN-FAX i686/0.30/0.30 [E] (0)
VCI:  none
---
[000]# succeeded.
[001]# succeeded.
[011]# succeeded.
[031]# succeeded.
[101]# succeeded.
[102]# succeeded.
[201]# succeeded.
[202]# succeeded.


Node1 
OS: FC1
Kernel: 2.4.29
Patch: patch-1.2.10-vs1.2.10.diff
Vserver: 029-1
Network config: 2 nic's 10.x, 217.x
Saved by Firwall: on ip and port
open Ports: 80,81,pop,smtp
closed group for : 22,1,21,mysql,postgres  

2005-09-03 08:38:40.936 Linux-VServer Test [V0.13] Copyright (C)
2003-2005 H.Poetzl
2005-09-03 08:38:41.346 chcontext is working.
2005-09-03 08:38:41.346 chbind is working.
2005-09-03 08:38:41.547 Linux 2.4.30-vs1.2.10-min i686/0.32/0.32 [J] (0)
2005-09-03 08:38:41.557 VCI:  none
2005-09-03 08:38:41.557 ---
2005-09-03 08:38:41.557 [000]# succeeded.
2005-09-03 08:38:41.557 [001]# succeeded.
2005-09-03 08:38:41.557 [011]# succeeded.
2005-09-03 08:38:41.557 [031]# succeeded.
2005-09-03 08:38:41.557 [101]# succeeded.
2005-09-03 08:38:41.557 [102]# succeeded.
2005-09-03 08:38:41.557 [201]# failed.
2005-09-03 08:38:41.557 [202]# succeeded.
2005-09-03 08:38:41.567 


Vservers, FC1,FC2,RH9 and other for tests


To patch the kernel remote on the live system! to much risk.

I will make a test again with the 2.6 kernel 
if it works now stabil,
And if I could import/use the old vservers, but this takes much time
Until this done this trouble still aktive.



thanks for help 
Best Regards
Rp
 



 ___
 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 mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver]kill vserver

2005-09-02 Thread Roman Pretory
Title: Nachricht



Hi 


Following trouble 
ich have with vservers somethimes

Kernel 
2.4.6/2.4.30 vserver 029, 032

the vserver hangs 
in some processes or anything else, 
than he is also 
not anymore reachable over ssh or webmin,
so that there is 
no way from inside.

the node is 
reachable, the reaktion of it not everythime good, but it 
works.

to enter or to 
stop the vserver over the normal command ..(vserver xy 
stop/enter)
ends by (New security context is 49152), by enter over ssh I 
could kill the session.. no way out.

in the passt i 
allways make a reset on the node, but I think there should be a better way, 

because the node 
is still alife.

thanks for help 

Best 
Regards
Rp

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


[Vserver]kill vserver

2005-09-02 Thread Roman Pretory
Title: Nachricht



Hi 


Following trouble 
ich have with vservers somethimes

Kernel 
2.4.6/2.4.30 vserver 029, 032

the vserver hangs 
in some processes or anything else, 
than he is also 
not anymore reachable over ssh or webmin,
so that there is 
no way from inside.

the node is 
reachable, the reaktion of it not everythime good, but it 
works.

to enter or to 
stop the vserver over the normal command ..(vserver xy 
stop/enter)
ends by (New security context is 49152), by enter over ssh I 
could kill the session.. no way out.

in the passt i 
allways make a reset on the node, but I think there should be a better way, 

because the node 
is still alife.

thanks for help 

Best 
Regards
Rp

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