From: Eric Jorgensen (jorgy_at_yahoo.com)
Date: Wed 20 Oct 2004 - 21:54:46 BST
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 <linuxlists_at_thevenue.org> 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 <source
> 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.
> > >
> > > [root_at_vserver:v009 root]httpd
> > > [root_at_vserver:v009 root]apachectl stop
> > > [root_at_vserver:v009 root]httpd
> > > [root_at_vserver:v009 root]rpm -i
> php-4.2.2-17.i386.rpm
> > > [root_at_vserver: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
> > > Vserver_at_list.linux-vserver.org
> > >
>
http://list.linux-vserver.org/mailman/listinfo/vserver
> > _______________________________________________
> > Vserver mailing list
> > Vserver_at_list.linux-vserver.org
> >
>
http://list.linux-vserver.org/mailman/listinfo/vserver
> >
> --
> Liam Helmer <linuxlists_at_thevenue.org>
>
>
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver