About this list Date view Thread view Subject view Author view Attachment view

From: Eric Jorgensen (jorgy_at_yahoo.com)
Date: Mon 11 Oct 2004 - 18:16:53 BST


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: <LOOPBACK,UP> 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: <BROADCAST,MULTICAST,UP> 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 <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


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 11 Oct 2004 - 23:43:51 BST by hypermail 2.1.3