[ale] Linux/Apache Seg Fault.

Eric Z. Ayers eric.ayers at mindspring.com
Mon Sep 3 06:14:00 EDT 2001


If you can find a 'core' file and run 'gdb' on it, you might get a clue 
as to which part of your setup is having problems.

gdb /usr/sbin/httpd core
(gdb) bt


I've used PHP some before.  Does php w/o java work?

#1 There are major warnings all over the place about using mysql inside 
of php.

#2 Also, make sure to comment out all other versions of php from your 
apache config file.

-Eric.

C I wrote:

> I am getting Apache errors everytime that I try and
> run a Java class I get a segmentation error. This
> occurs whenever I load a page that has the php/java
> code in it.  The machine has 256mb of memory and is
> showing no signs of breathing hard, even though for
> some reason my memory usage is real high even when
> idle. Here is the error from my log
> 
> [Thu Aug 30 08:35:33 2001] [notice] child pid xxxxx
> exit signal Segmentation
> fault (11)
> I am running RH 7.1(2.4.2) Apache 1.3.19 with mod_ssl
> and OpenSSL, PHP is
> configured as follows:
> 
> ./configure --with-mysql=/usr/local/mysql
> --with-pfpro=shared,/tmp/verisign/payflowpro/linux
> --enable-trackvars
> --with-apxs=/usr/local/apache/bin/apxs
> --with-java=/usr/java/jdk1.3.1
> --with-zlib
> 
> everything works fine except the Java. I have
> configured the Java before
> using Kaffe and everything ran fan. I switched to
> JDK1.3.1, and also
> configured PHP as a DSO instead of static in case I
> wanted to upgrade I
> didn't have to fight with my system all over again. I
> have since recompiled PHP as a static module and still
> I get the Segmentation Fault.
> 
> Bill
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
> http://im.yahoo.com
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
> 
> 



--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list