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


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


[Vserver] Problems with yum and centos42

2006-09-20 Thread Eric Jorgensen
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 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 list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] FedoraCore 5 release issues

2006-03-21 Thread Eric Jorgensen
I created a stripped down FC5 box and was able to compile and boot a vserver kernel "out of the box":
# cd ~
# wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.15.6.tar.bz2
# wget http://vserver.13thfloor.at/Experimental/patch-2.6.15.6-vs2.0.2-rc13.diff# wget http://www.13thfloor.at/~ensc/util-vserver/files/alpha/util-vserver-0.30.210.tar.bz2
# cd /usr/src
# tar xvfj ~/linux-2.6.15.6.tar.bz2
# patch -p0 < ~/patch-2.6.15.6-vs2.0.2-rc13.diff

# cd linux-2.6.15.6
# make
# make modules_install
# make install
# reboot

# yum install beecrypt-devel tetex-latex dietlibc
# rpmbuild --without xalan -tb util-vserver-0.30.210.tar.bz2
# cd /usr/src/redhat/RPMS/i386
# ls
util-vserver-0.30.210-0.i386.rpm
util-vserver-build-0.30.210-0.i386.rpm
util-vserver-core-0.30.210-0.i386.rpm
util-vserver-debuginfo-0.30.210-0.i386.rpm
util-vserver-devel-0.30.210-0.i386.rpm
util-vserver-legacy-0.30.210-0.i386.rpm
util-vserver-lib-0.30.210-0.i386.rpm
util-vserver-sysv-0.30.210-0.i386.rpm
# rpm -i util-vserver-*.rpm
/vservers: Function not implemented
/vservers/.pkg: Function not implemented
/vservers/.hash: Function not implemented

# uname -a
Linux FC5 2.6.15.6-vs2.0.2-rc13 #1 Tue Mar 21 10:19:54 MST 2006 i686 i686 i386 GNU/Linux

# sh testme.sh
Linux-VServer Test [V0.15] Copyright (C) 2003-2006 H.Poetzl
chcontext is working.
chbind is working.
Linux 2.6.15.6-vs2.0.2-rc13 #1 Tue Mar 21 10:19:54 MST 2006 i686
Ea 0.30.210 273/glibc (DSa) 
VCI: 0002:0001 273 0316 (TbLgnP)
---
[000]# succeeded.
[001]# succeeded.
[011]# succeeded.
[031]# succeeded.
[101]# succeeded.
[102]# succeeded.
[201]# succeeded.
[202]# succeeded.



Tomorrow, I will try and create a FC5 guest on this host, but given Guenther's experience, I suspect it will go well!


jorgy




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


Re: [Vserver] vserver hosting on server4you.com

2006-02-22 Thread Eric Jorgensen
Thanks
to everyone who has replied.  Does anyone have any reason to
believe that the service from the US company, server4you.com would be
any different than the service from the German company?

And if it matters, I'm looking for a dedicated host, not an individual vserver guest.

Thanks again everyone.
- Original Message From: Oliver Welter <[EMAIL PROTECTED]>To: vserver@list.linux-vserver.orgSent: Sunday, February 19, 2006 7:55:03 AMSubject: Re: [Vserver] vserver hosting on server4you.com> Stay away from server4free. I've used both their dedicated> server and vservers, and the latter product was awful. Service> was nonexistent, and I was threatened with a suit when I demanded> termination because of sever4free/server4u were defaulting> on their part of the contract.I just can tell you the same - I had a business with them (actually another company name but same business behind) and they are very unfriendly, bad service and not cooperational...Oliver-- Diese Nachricht wurde digital unterschriebenoliwel's public key: http://www.oliwel.de/oliwel.crtBasiszertifikat: http://www.ldv.ei.tum.de/page72___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


[Vserver] vserver hosting on server4you.com

2006-02-18 Thread Eric Jorgensen
Hello,

I am looking go to a "real" hosting provider and was wondering if
anyone on the list has experience using vservers at server4you.com on
their dedicated hosting plans.  Google has plenty of examples of
people using vservers with them, and there is even a vserver forum on
server4you.de, but I do not speach German.  :-)

So I was wondering:  Is it difficult to set up without access to
the console?  How responsive is their customer support?  How
have you found their network bandwidth and reliability to be?

Thanks for any insight!

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


Re: [Vserver] vyum wants to install kernel RPMs on FC4

2006-01-11 Thread Eric Jorgensen
Thanks Guenther and Herbert.  That did it perfectly!  
 
 I guess I should have checked the wiki first, but that wasn't even in my mind 
since I had set up this system before there was a FC4 recipe in the wiki.
 
 Thanks again!
 
 jorgy
 

- Original Message 
From: Guenther Fuchs <[EMAIL PROTECTED]>
To: vserver@list.linux-vserver.org
Sent: Wed 11 Jan 2006 03:13:03 PM MST
Subject: Re: [Vserver] vyum wants to install kernel RPMs on FC4

Hi Eric,

on Wednesday, January 11, 2006 at 11:00:50 PM there was posted:

EJ>  Results in vyum installing kernels into my vserver guests.

You need to exclude the kernel into your guest fedora repos as
described in the HowTo:
  http://linux-vserver.org/VServer+installation+Fedora+Core+4#g2

Simply add the "exclude=kernel kernel-smp" into your
fedora-updates.repo files.

EJ>  I would like to be able to remove the kernels (when I try,
EJ> dependencies want to remove half the system!), and also make sure
EJ> that yum doesn't try to install them again into my guests.
EJ>
EJ>  Any ideas?

If you want to remove the kernel, install the vps-fakekernel packages
supplied by the CRU repository as described in the HowTo:
  http://linux-vserver.org/VServer+installation+Fedora+Core+4#g6

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


[Vserver] vyum wants to install kernel RPMs on FC4

2006-01-11 Thread Eric Jorgensen
Hello,

I'm having an interesting problem on a up-to-date Fedora Core 4 system
running on a  2.6.12.4-vs2.0 kernel with the util-vserver version
0.30.208-0.

Doing a:

vyum --all -- -y update

Results in vyum installing kernels into my vserver guests.

Installed: kernel.i686 0:2.6.14-1.1656_FC4

I am using the patched yum, version yum-2.4.1-1.chroot.fc4.

Most of these guests were created with the "stock" FC4 yum, but I
didn't have this problem.   I would like to be able to remove
the kernels (when I try, dependencies want to remove half the system!),
and also make sure that yum doesn't try to install them again into my
guests.

Any ideas?

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


Re: [Vserver] Problem pam update on centos4 et redhat es4

2005-10-14 Thread Eric Jorgensen
Hi,

This appears to be the same problem I was having a
couple of days ago:

http://list.linux-vserver.org/archive/vserver/msg11023.html

Comment out the "pam_loginuid.so" in /etc/pam.d/* and
I believe your problem will go away.

jorgy



--- [EMAIL PROTECTED] wrote:

> Hello,
> 
> login via ssh on a vserver does not work anymore
> after the last new
> nupdate of pam from Centos4/Redhat ES4:
> pam-0.77-66.11
> 
> After the user is logged on, the session dies with
> the following message:
> 
> Oct 14 00:00:01 sedna pam_loginuid[8627]:
> set_loginuid failed opening
> loginuid
> Oct 14 00:00:01 sedna pam_loginuid[8627]:
> set_loginuid failed
> Oct 14 00:00:01 sedna crond[8627]: Cannot
> make/remove an entry for the
> specified session
> 
> I found something on the redhat bug lists:
>
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=159974
> 
> It seems the new pam is using a /proc//loginuid
> and for security
> reasons, the vserver is not able to access it.
> 
> Maybe RedHat will have a solution in the near
> future?
> I hope so, but for the moment, anybody knows how to
> resolve the problem
> with some config (CAP ?)
> 
> regards,
> Jess
> 
> ___
> 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] problems with sshd/pam inside vserver guest

2005-10-13 Thread Eric Jorgensen
--- Guenther Fuchs <[EMAIL PROTECTED]> wrote:

> Hi there,
> 
> on Thursday, October 13, 2005 at 18:14 on the list
> was posted:
> 
> > I'm running 2.6.12.4-vs2.0 on a Fedora Core 4 box,
> > with a Fedora Core 4 guest.
> 
> Have some of this here, same (x86_64 edition).
> 
> > From /var/log/secure:
> 
> What does /var/log/messages say?


Oct 13 12:06:02 v015 pam_loginuid[24431]: set_loginuid
failed opening loginuid 
Oct 13 12:06:02 v015 pam_loginuid[24431]: set_loginuid
failed 



> 
> > Oct 13 12:06:02 v015 sshd[24431]: error: PAM:
> > pam_open_session(): Cannot make/remove an entry
> for
> > the specified session
> 
> This sounds like the same problem I had - after
> googling the messages
> entry I found out, that commenting out the
> "pam_loginuid.so" in
> /etc/pam.d/* is necessary, as this does not load /
> exist.
> 
> Let us know if this works.

Yes, that worked beautifully!  I am now able to login
to the guest remotely via ssh.

Thanks!

jorgy

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


[Vserver] problems with sshd/pam inside vserver guest

2005-10-13 Thread Eric Jorgensen
Hello,

I'm running 2.6.12.4-vs2.0 on a Fedora Core 4 box,
with a Fedora Core 4 guest.  I've installed the
openssh-server package and dependencies, but I cannot
seem to get it to work.

I have configured sshd on the host and guest to only
bind the their proper IPs:

guest:

tcp   00   10.0.0.215:22 0.0.0.0:*
LISTEN

sshd does start up in the guest, but there is a
problem with pam.  From /var/log/secure:


Oct 13 12:06:02 v015 sshd[24429]: Accepted password
for root from 10.0.0.215 port 47168 ssh2
Oct 13 12:06:02 v015 sshd[24431]: error: PAM:
pam_open_session(): Cannot make/remove an entry for
the specified session



I did a bunch of googling for this, and tried
commenting out the pam_limits.so from
/etc/pam.d/system-auth, but to no avail.

Any pointers would be appreciated!

Thanks,

jorgy

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


Re: [Vserver] ./testme.sh: line 115: which: command not found

2005-10-07 Thread Eric Jorgensen
Hi,

I ran into this problem as well.  It seems like the
shell's builtin "which" doesn't work in this case.  By
installing the which RPM, I was able to fix this
problem.

jorgy




--- stefan julius <[EMAIL PROTECTED]> wrote:

> Error message from testme.sh file, please can u help
> me
> patching compiling and installing the
> linux-2.6.12.5-vs2.0-build kernel
> on FC 3 works fine, the path to the vservers
> directory
> is /usr/local/etc/vservers
> tried to copy it to the / directory because of this
> error message after
> doing  
> 
> vserver DebianSid build -m debootstrap -- -d sid -m
> ftp://ftp.at.debian.org/debian/ -- --resolve-deps
> 
> error message root-directory '/vservers' does not
> exist or is invalid
> 
> also tried it with Changing the vserver base path it
> was the same
> 
> copied the vservers directory to etc no changes
> 
> I didn't add anything because of installing and
> patching works fine
> 
> 
> Thanx for help
> 
> 
> Greetinx Stefan
> > ___
> 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] Vserver newbie: problems when build guest server on FC4

2005-10-06 Thread Eric Jorgensen
I am using FC4 with 0.30.208 with yum, and except for
having to downgrade the yum on host to 2.3.2, it has
worked very, very well for me.   I haven't applied the
patch and I get the warning message, but I it's been
smooth sailing for me.  I have created a local FC4
updates repository, so I can create a new FC4 guest in
less than 5 minutes!  

Just another "yes" vote in the yum column, even with
the minor issues

jorgy


--- Enrico Scholz
<[EMAIL PROTECTED]> wrote:

> [EMAIL PROTECTED] (Guenther Fuchs) writes:
> 
> > So I would recommend using yum - this works very
> fine here (as long as
> > you ensure not using yum version 2.3 and _not_ 2.4
> - later version
> > breaks compatibility with Enrico's util-vserver
> tools)
> 
> Please try the patch from the contrib/ dir (the
> 2.3.4 one applies to 2.4
> also). I built lots of FC4 vservers on FC4 hosts so
> it seems to work ;)
> 
> 
> 
> Enrico
> > ___
> 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] FC4 Guest

2005-07-18 Thread Eric Jorgensen
Hi,

My original message is here:

http://list.linux-vserver.org/archive/vserver/msg10107.html

Herbert asked me to submit a bug to savannah, which I
haven't done yet.  :-(

I suspect, though, that my problems are from using
yum.  How are you building yours?  Straight rpm?

Thanks,

Eric


--- Darryl Ross <[EMAIL PROTECTED]> wrote:

> 
> I searched through my archives and couldn't see any
> messages from you...
> 
> What I have basically done is taken the install.log
> from when I
> installed FC4 on my laptop, cleaned it up to make it
> a list of rpm files
> and then installed all of the packages into a
> directory using the --root
> option to rpm.
> 
> Now I'm just in the process of cleaning it up --
> removing unneeded
> packages (like X and gnome) and fixing the
> initscripts a bit. It might
> have been easier to just to a minimal install onto a
> spare machine, but
> I didn't have one handy at the time.
> 
> I've just tried to start what I have done so far as
> a guest and it
> worked perfectly first time. What was the problem
> you were having?
> 
> Regards
> Darryl
> 

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


Re: [Vserver] FC4 Guest

2005-07-15 Thread Eric Jorgensen
Is this for the 2.0 series?  I had some difficulty
with this, as I posted a couple of days ago.  I'm very
interested if you are successful or not, and if not
where you got stuck.  :-)



--- Darryl Ross <[EMAIL PROTECTED]> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hey All,
> 
> I'm about to sit down and build a template FC4 guest
> image. Just
> wondering if anyone has already done this? If not
> I'll make mine available.
> 
> Cheers
> Darryl
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.1 (GNU/Linux)
> 
>
iD8DBQFC10oD/XQ6DbmPjokRAjkpAJ9Ekd4Q49kmNgZEThEoP/YSF7P6gQCfapbk
> Ja9e4feQ5rvNYjLclZ+J8E4=
> =DSnk
> -END PGP SIGNATURE-
> ___
> 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] More FC4 problems

2005-07-11 Thread Eric Jorgensen
I usually try to be more self-sufficient than this,
but I can't seem to get a vserver created under fedora
core 4.  I am running 2.6.11.11-vs2.0-rc4 kernel, and
vserver-utils 0.30.207.  The command that I'm using
is:

vserver --verbose test4 build --force -m yum --
--debug -d fc4

I've been trying to see why it doesn't work, but can't
seem to make any progress.  I'm attaching the
debugging output in hopes that someone can spot
something and help me out.

If more information is needed, I can provide it.

Thanks in advance,

jorgy++ shift
++ true
++ case "$1" in
++ DISTRIBUTION=fc4
++ shift
++ shift
++ true
++ case "$1" in
++ shift
++ break
++ getDistribution
++ test -z fc4
++ return 0
++ base.initVariables
++ _setRootDir
++ test -z ''
++ for item in '"\"$__CONFDIR/.defaults/vdirbase\" 1"' '"$__DEFAULT_VSERVERDIR"'
++ eval set -- '"/etc/vservers/.defaults/vdirbase" 1'
+++ set -- /etc/vservers/.defaults/vdirbase 1
++ ROOTDIR=/etc/vservers/.defaults/vdirbase
++ ROOTDIR_REL=1
++ test '!' -d /etc/vservers/.defaults/vdirbase
++ break
++ test -d /etc/vservers/.defaults/vdirbase
++ _setVserverDir
++ test -z ''
++ VSERVERDIRNAME=test4
++ _setVdir
++ VDIR=/etc/vservers/.defaults/vdirbase/test4
++ findFile _DEV_FILE /etc/vservers/.distributions/fc4/devs /usr/lib/util-vserver/distributions/fc4/devs /usr/lib/util-vserver/distributions/defaults/devs
++ findObject -f _DEV_FILE /etc/vservers/.distributions/fc4/devs /usr/lib/util-vserver/distributions/fc4/devs /usr/lib/util-vserver/distributions/defaults/devs
++ local _fo_mod=-f
++ local _fo_var=_DEV_FILE
++ local _fo_file=
++ local _fo_i=X
++ shift 2
++ for _fo_i in '"$@"'
++ test -n /etc/vservers/.distributions/fc4/devs
++ test '!' -f /etc/vservers/.distributions/fc4/devs
++ for _fo_i in '"$@"'
++ test -n /usr/lib/util-vserver/distributions/fc4/devs
++ test '!' -f /usr/lib/util-vserver/distributions/fc4/devs
++ for _fo_i in '"$@"'
++ test -n /usr/lib/util-vserver/distributions/defaults/devs
++ test '!' -f /usr/lib/util-vserver/distributions/defaults/devs
++ _fo_file=/usr/lib/util-vserver/distributions/defaults/devs
++ break
++ test -z /usr/lib/util-vserver/distributions/defaults/devs -o -n /usr/lib/util-vserver/distributions/defaults/devs
++ eval '_DEV_FILE="/usr/lib/util-vserver/distributions/defaults/devs"'
+++ _DEV_FILE=/usr/lib/util-vserver/distributions/defaults/devs
++ findDir _EXECDIR /etc/vservers/.distributions/fc4/execdir /usr/lib/util-vserver/distributions/fc4/execdir /
++ findObject -d _EXECDIR /etc/vservers/.distributions/fc4/execdir /usr/lib/util-vserver/distributions/fc4/execdir /
++ local _fo_mod=-d
++ local _fo_var=_EXECDIR
++ local _fo_file=
++ local _fo_i=X
++ shift 2
++ for _fo_i in '"$@"'
++ test -n /etc/vservers/.distributions/fc4/execdir
++ test '!' -d /etc/vservers/.distributions/fc4/execdir
++ for _fo_i in '"$@"'
++ test -n /usr/lib/util-vserver/distributions/fc4/execdir
++ test '!' -d /usr/lib/util-vserver/distributions/fc4/execdir
++ for _fo_i in '"$@"'
++ test -n /
++ test '!' -d /
++ _fo_file=/
++ break
++ test -z / -o -n /
++ eval '_EXECDIR="/"'
+++ _EXECDIR=/
++ findFile BUILD_INITPRE /etc/vservers/.distributions/fc4/initpre /usr/lib/util-vserver/distributions/fc4/initpre ''
++ findObject -f BUILD_INITPRE /etc/vservers/.distributions/fc4/initpre /usr/lib/util-vserver/distributions/fc4/initpre ''
++ local _fo_mod=-f
++ local _fo_var=BUILD_INITPRE
++ local _fo_file=
++ local _fo_i=X
++ shift 2
++ for _fo_i in '"$@"'
++ test -n /etc/vservers/.distributions/fc4/initpre
++ test '!' -f /etc/vservers/.distributions/fc4/initpre
++ for _fo_i in '"$@"'
++ test -n /usr/lib/util-vserver/distributions/fc4/initpre
++ test '!' -f /usr/lib/util-vserver/distributions/fc4/initpre
++ for _fo_i in '"$@"'
++ test -n ''
++ continue
++ test -z '' -o -n ''
++ eval 'BUILD_INITPRE=""'
+++ BUILD_INITPRE=
++ findFile BUILD_INITPOST /etc/vservers/.distributions/fc4/initpost /usr/lib/util-vserver/distributions/fc4/initpost ''
++ findObject -f BUILD_INITPOST /etc/vservers/.distributions/fc4/initpost /usr/lib/util-vserver/distributions/fc4/initpost ''
++ local _fo_mod=-f
++ local _fo_var=BUILD_INITPOST
++ local _fo_file=
++ local _fo_i=X
++ shift 2
++ for _fo_i in '"$@"'
++ test -n /etc/vservers/.distributions/fc4/initpost
++ test '!' -f /etc/vservers/.distributions/fc4/initpost
++ for _fo_i in '"$@"'
++ test -n /usr/lib/util-vserver/distributions/fc4/initpost
++ test '!' -f /usr/lib/util-vserver/distributions/fc4/initpost
++ for _fo_i in '"$@"'
++ test -n ''
++ continue
++ test -z '' -o -n ''
++ eval 'BUILD_INITPOST=""'
+++ BUILD_INITPOST=
++ pkgmgmt.initVariables
++ pkgmgmt._setPkgCfg
++ pkgmgmt._setPkgCfgBase
++ test -z ''
++ for item in '"\"$__CONFDIR/.defaults/apps/pkgmgmt/base\" 1"' '${ROOTDIR:+"$ROOTDIR/.pkg"}' '"$__DEFAULT_VSERVERPKGDIR"'
++ eval set -- '"/etc/vservers/.defaults/apps/pkgmgmt/base" 1'
+++ set -- /etc/vservers/.defaults/apps/pkgmgmt/base 1
++ PKGCFGBASE=/etc/vservers/.defaults/apps/pkgmgmt/base
++ PKGCFGBASE_REL=1
++ test '!' -d /etc/vservers/.defaul

Re: [Vserver] Fedora Core 4

2005-06-30 Thread Eric Jorgensen


--- Eric Jorgensen <[EMAIL PROTECTED]> wrote:

> 
> 
> --- Herbert Poetzl <[EMAIL PROTECTED]> wrote:
> 
> > On Mon, Jun 27, 2005 at 01:48:52PM -0700, Eric
> > Jorgensen wrote:
> > > I know this isn't kernel compilation 101, but if
> > > someone has already figured out the steps, I'd
> > rather
> > > not re-invent the wheel.
> > > 
> > > Apparently, since FC4 uses gcc 4, the vanilla
> > kernel
> > > does not compiled cleanly.  I googled, and found
> > > patches to 2.6.11, however, I couldn't get them
> to
> > > complile cleanly.  I also suspect that then the
> > > vserver patches will not apply correctly.
> > 
> > let me ask the 'stupid' question: why are you
> using
> > their gcc 4 and not a 3.x version?
> > 
> > AFAIK they still provide the compat-gcc packages
> > (even for FC4) and IMHO gcc4 isn't a good choice
> > for kernel compiling anyway (including the
> patches)
> > 
> 
> Great idea - I'll give that a whirl.

That worked like a charm with 2.6.11.11.  I did have
to uninstall gcc4 for the kernel, and then reinstall
gcc4 and g++ to compile the tools, but it was all
quite painless.


# sh testme.sh 
Linux-VServer Test [V0.12] (C) 2003-2005 H.Poetzl
chcontext is working.
chbind is working.
Linux 2.6.11.11-vs2.0-rc4 i686/0.30.207/0.30.207 [Ea]
VCI:  0002:0001 273 0316
---
[000]# succeeded.
[001]# succeeded.
[011]# succeeded.
[031]# succeeded.
[101]# succeeded.
[102]# succeeded.
[201]# succeeded.
[202]# succeeded.


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


Re: [Vserver] Fedora Core 4

2005-06-28 Thread Eric Jorgensen


--- Herbert Poetzl <[EMAIL PROTECTED]> wrote:

> On Mon, Jun 27, 2005 at 01:48:52PM -0700, Eric
> Jorgensen wrote:
> > I know this isn't kernel compilation 101, but if
> > someone has already figured out the steps, I'd
> rather
> > not re-invent the wheel.
> > 
> > Apparently, since FC4 uses gcc 4, the vanilla
> kernel
> > does not compiled cleanly.  I googled, and found
> > patches to 2.6.11, however, I couldn't get them to
> > complile cleanly.  I also suspect that then the
> > vserver patches will not apply correctly.
> 
> let me ask the 'stupid' question: why are you using
> their gcc 4 and not a 3.x version?
> 
> AFAIK they still provide the compat-gcc packages
> (even for FC4) and IMHO gcc4 isn't a good choice
> for kernel compiling anyway (including the patches)
> 

Great idea - I'll give that a whirl.


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


[Vserver] Fedora Core 4

2005-06-27 Thread Eric Jorgensen
I know this isn't kernel compilation 101, but if
someone has already figured out the steps, I'd rather
not re-invent the wheel.

Apparently, since FC4 uses gcc 4, the vanilla kernel
does not compiled cleanly.  I googled, and found
patches to 2.6.11, however, I couldn't get them to
complile cleanly.  I also suspect that then the
vserver patches will not apply correctly.

So has anyone gone through the work of getting a FC4
kernel patched with both the gcc 4 changes as well as
vserver?  Could this kind somebody mind sharing the
patches with the list?  :-)

Thanks,

jorgy

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


Re: [Vserver] Problem with new utils ?

2005-06-06 Thread Eric Jorgensen


--- Herbert Poetzl <[EMAIL PROTECTED]> wrote:

> On Mon, Jun 06, 2005 at 09:05:24AM -0400, Benoit des
> Ligneris wrote:
> > A problem this time, 
> > 
> > When using the new tools (with the legacy method),
> the
> > name of the vservers running on the system is
> empty and it is not
> > possible to enter/stop/start/... them. 
> vserver-stat display the vservers, 
> > processes, etc. however, name is empty too.
> > 
> > Has anyone already had this kind of problem ?
> > 
> > We are using a 2.6.9-vs1.9.3 kernel which is a bit
> old but not that
> > much.
> > 
> > Because those are productions systems we would
> like the transition to
> > be as smooth as possible :
> > 1) remove old utils
> > 2) install the new version : util-vserver-0.30.204
> > 3) use it ;-)
> 
> do that with 2.0* and util-vserver-0.30.208 and it
> should
> work just fine ...


Sorry to be so dense, but I have 0.30.207, but can
only find 0.30.204 online.  Can I get a pointer to
0.30.208?  Thanks!


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


Re: [Vserver] problems with vserver create -m yum

2005-05-13 Thread Eric Jorgensen
I've been trying to get a FC3 host system running FC3
guests using yum, and have finally made my first
running vserver!


--- Enrico Scholz
<[EMAIL PROTECTED]> wrote:
> 
> 3. Now, you can begin to create vservers
> 
>| # vserver test build -m yum -- -d fc3
> 
>and install additional packages; e.g.
> 
>| # vyum test -- install cfengine
>| # vrpm test -- -q cfengine
> 
> 
> 4. When you really need it, you can internalize the
> packagemanagement
>with
> 
>| # vserver test -- pkgmgmt internalize
> 


I'm using 0.30.207, and when I try to run that
command, I get a usage message:

Usage: /usr/sbin/vserver
{start|stop|suexec|restart|condrestart|exec|enter|chkconfig|running|status}


I would like to be able to use yum inside the vserver
to keep them current with patches.

Thanks!

jorgy

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


[Vserver] FC3

2005-05-11 Thread Eric Jorgensen
Still plugging away on FC3 with vs2.0-pre4, and am
having some interesting errors(?).

Running Herbert's test script:


./testme.sh
Linux-VServer Test [V0.12] (C) 2003-2005 H.Poetzl
chcontext is working.
chbind is working.
Linux 2.6.11.8-vs2.0-pre4 i686/0.30.204/0.30.204 [Ea]
VCI:  0001:0025 273 0316
---
[000]# succeeded.
[001]# succeeded.
[011]# succeeded.
[031]# succeeded.
[101]# succeeded.
[102]# succeeded.
[201]# succeeded.
[202]# succeeded.


But I also see messages like these to syslog:

/sbin/vshelper: (startup 49234) returned sync with 256
/sbin/vshelper: (shutdown 49234) returned sync with
256
/sbin/vshelper: (startup 45678) returned sync with 256
/sbin/vshelper: (shutdown 45678) returned sync with
256
/sbin/vshelper: (startup 49235) returned sync with 256
/sbin/vshelper: (shutdown 49235) returned sync with
256



Is this normal behaviour?

Thanks,

jorgy


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


Re: [Vserver] FC3 with yum on vs2.0-pre4

2005-05-11 Thread Eric Jorgensen
Thanks! Got past that part!

Now, I'm stuck again.  Does vyum "honor" the
http_proxy variable like regular yum does?

Thanks!


--- Enrico Scholz <[EMAIL PROTECTED]>
wrote:

> [EMAIL PROTECTED] (Eric Jorgensen) writes:
> 
> > However, I'm getting errors about gpg keys not
> existing.  I had
> > set gpgcheck=0 in all the *.repo files (both in
> /etc/yum.repos.d
> > and /usr/lib/util-vserver/...).
> 
> GPG keys will be added automatically from
> 
> |
> "$__CONFDIR/.distributions/$DISTRIBUTION/pubkeys" \
> | "$__CONFDIR/.distributions/.common/pubkeys" \
> | "$__DISTRIBDIR/$DISTRIBUTION/pubkeys"
> 
> First two places are for your customization so you
> can copy the
> keys into it.
> 
> 
> 
> Enrico
> > ___
> 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] FC3 with yum on vs2.0-pre4

2005-05-10 Thread Eric Jorgensen
Using this document mostly:

http://linux-vserver.org/FedoraCore3_HowTo

I've been trying to set up FC3 as a vserver host.

I used a vanilla 2.6.11.8 core along with this patch:
http://vserver.13thfloor.at/Experimental/patch-2.6.11.8-vs2.0-pre4.diff

Everything went fine with the kernel build and reboot.
(actually, had to do a "mkdir
/lib/modules/2.6.11.8-vs2.0-pre4" for some reason)

Then I downloaded:

http://www.13thfloor.at/vserver/d_rel26/v1.9.5/util-vserver-0.30.204.tar.bz2


I'm not ready for a local repository (like Enrico
Scholz email yesterday), so I copied yum.repos.d
directory to /usr/lib/util-vserver/distributions/fc3.

However, I'm getting errors about gpg keys not
existing.  I had set gpgcheck=0 in all the *.repo
files (both in /etc/yum.repos.d and
/usr/lib/util-vserver/...).

I also added the keys to the host rpm db.  

But now I'm stuck.  How do I add the keys for the
right version of yum for the vserver guests?  


Thanks!

jorgy

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


Re: [Vserver] problems with vserver create -m yum

2005-05-06 Thread Eric Jorgensen
Please ignore this request - I didn't see Enrico's
excellent and detailed email about yum repositories
until after I had posted.

--- Eric Jorgensen <[EMAIL PROTECTED]> wrote:
> Yes.  I am very interested in this as well,
> particularly using yum with FC, and also in having a
> local cache of RPMs that is available to the host,
> as
> well as to running yum in the guest instances.
> 
> --- "Paul S. Gumerman" <[EMAIL PROTECTED]> wrote:
> > Enrico,
> > 
> > Is there anywhere to be found an explanation of
> how
> > package management 
> > works with the new util-vserver system?
> > 
> > What I am particularly curious about is the usage
> of
> > the various .rpmdb 
> > directories inside each vserver, and the .pkg
> > directory structure under 
> > the vdirbase, and how they are related.
> > 
> > Best regards,
> >Paul
> > 
> > Paul S. Gumerman wrote:
> > 
> > > Setting releasever="4" in yum.conf in the 
> > > /usr/lib/util-vserver/distributions/centos4/yum
> > directory didn't help, 
> > > either.
> > >
> > > Any ideas?
> > >
> > > Paul S. Gumerman wrote:
> > >
> > >> Yes, but *which* configuration files?  I do not
> > find it anywhere.
> > >>
> > >> If I cheat, and replace the "$releasever"
> strings
> > in the repository 
> > >> info with "4", it gets farther, but complains
> > about not finding the 
> > >> proper strings later in the process.
> > >>
> > >> Daniel Hokka Zakrisson wrote:
> > >>
> > >>> Paul S. Gumerman wrote:
> > >>>
> > >>>> That's part of what vserver create should be
> > installing, but it 
> > >>>> can't run properly.
> > >>>
> > >>>
> > >>>
> > >>>
> > >>> Ah, I didn't realize this was at build time.
> > You'll want to replace 
> > >>> $releasever in the configuration file(s) with
> > the appropriate value.
> > >>>
> > >> ___
> > >> 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 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] problems with vserver create -m yum

2005-05-06 Thread Eric Jorgensen
Yes.  I am very interested in this as well,
particularly using yum with FC, and also in having a
local cache of RPMs that is available to the host, as
well as to running yum in the guest instances.

--- "Paul S. Gumerman" <[EMAIL PROTECTED]> wrote:
> Enrico,
> 
> Is there anywhere to be found an explanation of how
> package management 
> works with the new util-vserver system?
> 
> What I am particularly curious about is the usage of
> the various .rpmdb 
> directories inside each vserver, and the .pkg
> directory structure under 
> the vdirbase, and how they are related.
> 
> Best regards,
>Paul
> 
> Paul S. Gumerman wrote:
> 
> > Setting releasever="4" in yum.conf in the 
> > /usr/lib/util-vserver/distributions/centos4/yum
> directory didn't help, 
> > either.
> >
> > Any ideas?
> >
> > Paul S. Gumerman wrote:
> >
> >> Yes, but *which* configuration files?  I do not
> find it anywhere.
> >>
> >> If I cheat, and replace the "$releasever" strings
> in the repository 
> >> info with "4", it gets farther, but complains
> about not finding the 
> >> proper strings later in the process.
> >>
> >> Daniel Hokka Zakrisson wrote:
> >>
> >>> Paul S. Gumerman wrote:
> >>>
>  That's part of what vserver create should be
> installing, but it 
>  can't run properly.
> >>>
> >>>
> >>>
> >>>
> >>> Ah, I didn't realize this was at build time.
> You'll want to replace 
> >>> $releasever in the configuration file(s) with
> the appropriate value.
> >>>
> >> ___
> >> 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 mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] RedHat ES4 and Vserver with vanilla kernel.

2005-02-17 Thread Eric Jorgensen

--- Herbert Poetzl <[EMAIL PROTECTED]> wrote:
> 
> hehe, maybe VMware is sooo good at emulating a
> real PC that it also adds the broken memory found
> in most recent machines (just kidding ;)
> 

Actually, it's pretty close!  In earlier versions of
VMware running a guest of Windows 2000, a dialog would
pop up saying basically "your system is about to
blue-screen.  we have detected this and caught it, but
there's nothing we can do."


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


"next gen" platform (was Re: [Vserver] VServer 2.6.9-1.9.3 uptime 63d :-))

2005-01-19 Thread Eric Jorgensen
This thread actually brings up a good question I've
been meaning to ask.  I've set of several vserver
machines with several dozen guests, all on a RH9 base:

kernel-2.4.22ctx-17c
kernel-2.4.25-vs1.26
kernel-2.4.26-vs1.28smp

I've now been looking to make a switch for my host OS.
 I was less than impressed with Fedora Core 1 and 2,
but have been quite pleased with Fedora Core 3, at
least on the desktop.   And since it does have a 2.6
series kernel, I'm contemplating switching to it.  But
I'd rather wait for the platform to completely stable
before moving.  I'd rather not be changing/upgrading
every week. I'd also like to transparently move my
existing vserver guests.  I am RH/Fedora leaning. 
Where are others going with their 2.6 installations,
especially those wanting to be on the "trailing" edge?

Thanks,

Eric






--- Tomas Fasth <[EMAIL PROTECTED]> wrote:

> Talking about uptime and stability; The following is
> an old 
> installation of ours still serving customers;
> 
> serverhost$ uname -rvm
> 2.4.20-mppe+ctx+xfs+vlan-k7 #1 Mon Sep 15 11:18:51
> CEST 2003 i686
> serverhost$ echo $(uptime) # getting rid of double
> spaces
> 15:07:55 up 490 days, 8:24, 1 user, load average:
> 0.02, 0.03, 0.00
> serverhost$ sudo vserver-stat | expr $(wc -l) - 2
> 32
> 
> Well, not much of a load for the moment. But still
> ... ;)
> 
> // Tomas
> ___
> 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] Merry Xmas to everyone!

2004-12-24 Thread Eric Jorgensen
Thanks Herbert, and the rest of the vserver developers
for a great program.  You probably don't hear it often
enough, but vserver is great!  I use it daily, and it
saves me tons of time (I have to provision servers
quickly to test out various packages, and it makes it
a breeze).  Thanks again!



--- Herbert Poetzl <[EMAIL PROTECTED]> wrote:

> 
> Merry Xmas!
> 
> enjoy linux-vserver and all the other stuff ...
> 
> and remember, software should be free!
> 
> best,
> Herbert
> 
> ___
> 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] problems with apache and php in a vserver

2004-10-20 Thread Eric Jorgensen
Hello,

Thanks for the pointers.  I was unable to get things
to compile properly, and the reason for choosing the
setup the way I did (to use strictly RPMs and not
compile from source) was soon violated.   So, I went
ahead and "downgraded" my entire system from the
patched RH9 to the vanilla RH9 with no updates.  I
figure that the only service open on the vserver host
is ssh, and I can update individual packages on the
vserver clients.

I'm off and going again!  Thanks,

Eric




--- Liam Helmer <[EMAIL PROTECTED]> wrote:

> I've had issues on and off with the debian unstable
> binaries for apache,
> with similar types of problems. What consistently
> fixes my problem is to
> rebuild apache with the the updated kernel headers
> (obtainable for
> whatever distro you're using). You may have a
> similar thing going.
> 
> Try getting a source rpm for it and doing an
> rpmbuild --rebuild  rpm name> (I think that's the command... I haven't
> used redhat in a
> while) and using the resulting rpms. you can, while
> you're at it, add an
> --arch=i686 specification to it (presuming you're
> not running a really
> old box, or an older via box), and speed up your
> apache to boot ;)
> 
> Another potential issue may be ipv6... I don't know
> if that's an issue
> with the 1.2.x series, but it certainly is with the
> 1.9.x series. You
> can do ip -6 addr flush to dump any ipv6  addresses
> for all your
> interfaces (including lo), and see if the problem
> persists.
> 
> Cheers,
> Liam
> 
> On Wed, 2004-10-06 at 03:49 +0200, Herbert Poetzl
> wrote:
> > On Tue, Oct 05, 2004 at 11:45:03AM -0700, Eric
> Jorgensen wrote:
> > > Hello,
> > > 
> > > I am having an unusual problem with apache and
> php
> > > running inside a vserver.
> > > 
> > > 
> > > The host system looks like:
> > > 
> > > RedHat 9, patched to latest RH levels
> > > glibc-2.3.2-27.9.7
> > > kernel: 2.4.25-vs1.26
> > > 
> > > 
> > > The vserver looks like:
> > > glibc-2.3.2-27.9.7
> > > httpd-2.0.40-21
> > > 
> > > If I start up apache without php, it works just
> fine. 
> > > However, if I
> > > install the RPM for php (4.2.2-17) it segfaults.
> > > 
> > > [EMAIL PROTECTED]:v009 root]httpd
> > > [EMAIL PROTECTED]:v009 root]apachectl stop
> > > [EMAIL PROTECTED]:v009 root]httpd
> > > [EMAIL PROTECTED]:v009 root]rpm -i
> php-4.2.2-17.i386.rpm
> > > [EMAIL PROTECTED]:v009 root]apachectl restart
> > > /usr/sbin/apachectl: line 105: 32238
> Segmentation
> > > fault  $HTTPD -k $ARGV
> > 
> > hmm, strace of apache would be fine, try with
> > strace -fF -o apache.trace /path/to/httpd -k ...
> > 
> > if possible make the output available via url
> > 
> > TIA,
> > Herbert
> > 
> > > If I remove the php rpm, it works fine.  Has
> anyone
> > > else ever seen anything like this?  I have a
> friend
> > > running the same configuration without problem
> on an
> > > UNPATCHED RH9 system.  I would really like to
> keep
> > > current (as much as possible) for security
> reasons. 
> > > I'm not sure what other info may be needed to
> track
> > > this down, so please ask.  I appreciate any
> help. 
> > > 
> > > Thanks!
> > > 
> > > Eric
> > > 
> > > ___
> > > Vserver mailing list
> > > [EMAIL PROTECTED]
> > >
>
http://list.linux-vserver.org/mailman/listinfo/vserver
> > ___
> > Vserver mailing list
> > [EMAIL PROTECTED]
> >
>
http://list.linux-vserver.org/mailman/listinfo/vserver
> > 
> -- 
> Liam Helmer <[EMAIL PROTECTED]>
> 
> 

___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] problems with apache and php in a vserver

2004-10-11 Thread Eric Jorgensen
Hello,

I downloaded the src rpm, installed the tools such as
gcc etc. to get it compiled, and the httpd daemon is
still dying if the php package is installed.


1.  I downloaded the latest RH 9 kernel header RPMs,
which is glibc-kernheaders-2.4-8.10.  Do I need to
remove this, and download the generic 2.4.25 headers
instead, and recompile?  The kernel I am running is
2.4.25-vs1.26.

2.  I'm not sure of the syntax for the "ip -6"
command.  "ip addr" shows:

1: lo:  mtu 16436 qdisc noqueue 
link/loopback 00:00:00:00:00:00 brd
00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
2: eth0:  mtu 1500 qdisc
pfifo_fast qlen 1000
link/ether 00:b0:d0:68:72:17 brd ff:ff:ff:ff:ff:ff
inet 10.0.0.5/24 brd 10.0.0.255 scope global eth0
inet 10.0.0.200/24 brd 10.0.0.255 scope global
secondary eth0:v000
inet 10.0.0.201/24 brd 10.0.0.255 scope global
secondary eth0:v001
inet 10.0.0.202/24 brd 10.0.0.255 scope global
secondary eth0:v002
inet 10.0.0.203/24 brd 10.0.0.255 scope global
secondary eth0:v003
inet 10.0.0.207/24 brd 10.0.0.255 scope global
secondary eth0:v007
inet 10.0.0.206/24 brd 10.0.0.255 scope global
secondary eth0:v006
inet 10.0.0.208/24 brd 10.0.0.255 scope global
secondary eth0:v008
inet 10.0.0.209/24 brd 10.0.0.255 scope global
secondary eth0:v009

To my (uninformed) eye, it looks like there is no ipv6
"contamination".

Thanks!

Eric



--- Liam Helmer <[EMAIL PROTECTED]> wrote:

> I've had issues on and off with the debian unstable
> binaries for apache,
> with similar types of problems. What consistently
> fixes my problem is to
> rebuild apache with the the updated kernel headers
> (obtainable for
> whatever distro you're using). You may have a
> similar thing going.
> 
> Try getting a source rpm for it and doing an
> rpmbuild --rebuild  rpm name> (I think that's the command... I haven't
> used redhat in a
> while) and using the resulting rpms. you can, while
> you're at it, add an
> --arch=i686 specification to it (presuming you're
> not running a really
> old box, or an older via box), and speed up your
> apache to boot ;)
> 
> Another potential issue may be ipv6... I don't know
> if that's an issue
> with the 1.2.x series, but it certainly is with the
> 1.9.x series. You
> can do ip -6 addr flush to dump any ipv6  addresses
> for all your
> interfaces (including lo), and see if the problem
> persists.
> 
> Cheers,
> Liam
> 
> On Wed, 2004-10-06 at 03:49 +0200, Herbert Poetzl
> wrote:
> > On Tue, Oct 05, 2004 at 11:45:03AM -0700, Eric
> Jorgensen wrote:
> > > Hello,
> > > 
> > > I am having an unusual problem with apache and
> php
> > > running inside a vserver.
> > > 
> > > 
> > > The host system looks like:
> > > 
> > > RedHat 9, patched to latest RH levels
> > > glibc-2.3.2-27.9.7
> > > kernel: 2.4.25-vs1.26
> > > 
> > > 
> > > The vserver looks like:
> > > glibc-2.3.2-27.9.7
> > > httpd-2.0.40-21
> > > 
> > > If I start up apache without php, it works just
> fine. 
> > > However, if I
> > > install the RPM for php (4.2.2-17) it segfaults.
> > > 
> > > [EMAIL PROTECTED]:v009 root]httpd
> > > [EMAIL PROTECTED]:v009 root]apachectl stop
> > > [EMAIL PROTECTED]:v009 root]httpd
> > > [EMAIL PROTECTED]:v009 root]rpm -i
> php-4.2.2-17.i386.rpm
> > > [EMAIL PROTECTED]:v009 root]apachectl restart
> > > /usr/sbin/apachectl: line 105: 32238
> Segmentation
> > > fault  $HTTPD -k $ARGV
> > 
> > hmm, strace of apache would be fine, try with
> > strace -fF -o apache.trace /path/to/httpd -k ...
> > 
> > if possible make the output available via url
> > 
> > TIA,
> > Herbert
> > 
> > > If I remove the php rpm, it works fine.  Has
> anyone
> > > else ever seen anything like this?  I have a
> friend
> > > running the same configuration without problem
> on an
> > > UNPATCHED RH9 system.  I would really like to
> keep
> > > current (as much as possible) for security
> reasons. 
> > > I'm not sure what other info may be needed to
> track
> > > this down, so please ask.  I appreciate any
> help. 
> > > 
> > > Thanks!
> > > 
> > > Eric
> > > 
> > > ___
> > > Vserver mailing list
> > > [EMAIL PROTECTED]
> > >
>
http://list.linux-vserver.org/mailman/listinfo/vserver
> > ___
> > Vserver mailing list
> > [EMAIL PROTECTED]
> >
>
http://list.linux-vserver.org/mailman/listinfo/vserver
> > 
> -- 
> Liam Helmer <[EMAIL PROTECTED]>
> 
> 

___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] problems with apache and php in a vserver

2004-10-05 Thread Eric Jorgensen

--- Herbert Poetzl <[EMAIL PROTECTED]> wrote:

> On Tue, Oct 05, 2004 at 11:45:03AM -0700, Eric
> Jorgensen wrote:
> > Hello,
> > 
> > I am having an unusual problem with apache and php
> > running inside a vserver.
> > 
> > 
> > The host system looks like:
> > 
> > RedHat 9, patched to latest RH levels
> > glibc-2.3.2-27.9.7
> > kernel: 2.4.25-vs1.26
> > 
> > 
> > The vserver looks like:
> > glibc-2.3.2-27.9.7
> > httpd-2.0.40-21
> > 
> > If I start up apache without php, it works just
> fine. 
> > However, if I
> > install the RPM for php (4.2.2-17) it segfaults.
> > 
> > [EMAIL PROTECTED]:v009 root]httpd
> > [EMAIL PROTECTED]:v009 root]apachectl stop
> > [EMAIL PROTECTED]:v009 root]httpd
> > [EMAIL PROTECTED]:v009 root]rpm -i
> php-4.2.2-17.i386.rpm
> > [EMAIL PROTECTED]:v009 root]apachectl restart
> > /usr/sbin/apachectl: line 105: 32238 Segmentation
> > fault  $HTTPD -k $ARGV
> 
> hmm, strace of apache would be fine, try with
> strace -fF -o apache.trace /path/to/httpd -k ...
> 
> if possible make the output available via url
> 
> TIA,
> Herbert
> 

Hello,

The file is at http://portal.unixguys.com/apache.trace

Thanks!

Eric

___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] problems with apache and php in a vserver

2004-10-05 Thread Eric Jorgensen
Hello,

I am having an unusual problem with apache and php
running inside a vserver.


The host system looks like:

RedHat 9, patched to latest RH levels
glibc-2.3.2-27.9.7
kernel: 2.4.25-vs1.26


The vserver looks like:
glibc-2.3.2-27.9.7
httpd-2.0.40-21

If I start up apache without php, it works just fine. 
However, if I
install the RPM for php (4.2.2-17) it segfaults.

[EMAIL PROTECTED]:v009 root]httpd
[EMAIL PROTECTED]:v009 root]apachectl stop
[EMAIL PROTECTED]:v009 root]httpd
[EMAIL PROTECTED]:v009 root]rpm -i php-4.2.2-17.i386.rpm
[EMAIL PROTECTED]:v009 root]apachectl restart
/usr/sbin/apachectl: line 105: 32238 Segmentation
fault  $HTTPD -k $ARGV

If I remove the php rpm, it works fine.  Has anyone
else ever seen anything like this?  I have a friend
running the same configuration without problem on an
UNPATCHED RH9 system.  I would really like to keep
current (as much as possible) for security reasons. 
I'm not sure what other info may be needed to track
this down, so please ask.  I appreciate any help. 

Thanks!

Eric

___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver