[NBLUG/talk] Couple of things..

Christopher Wagner chrisw at pacaids.com
Mon May 12 15:39:00 PDT 2003


The Apache logs are useless they just say "Segmentation Fault", and it's
doing it with all of the tables.  Let me check my mysql logs.. Nope,
absolutely nothing..  No error messages at all..  This is bizarre.

It only happens when a PHP script attempts to access the database.
Otherwise PHP and Apache seem to function up to expectations, which are
fairly high considering it's running Linux. :)

Hm..  Trying a Knoppix disc is a good idea..  I think I'll go download the
latest and greatest.  Thanks for the idea. :)

- Christopher Wagner
chrisw at pacaids.com

Packaging Aids Corporation - Information Systems
P.O. Box 9144
San Rafael, CA 94912-9144
http://www.pacaids.com/
(415) 454-4868 x116
 

-----Original Message-----
From: talk-admin at nblug.org [mailto:talk-admin at nblug.org]On Behalf Of
troy
Sent: Saturday, May 10, 2003 1:45 AM
To: talk at nblug.org
Subject: Re: [NBLUG/talk] Couple of things..


On Fri, May 09, 2003 at 10:38:06AM -0700, Christopher Wagner wrote:
> I need help on a couple issues, I'm hoping people here can help me trouble
> shoot this..
> 
> 1) I'm running Apache 1.3.27-1.7.2 (rpm) w/ php 4.1.2-7.2.6 (rpm) and the
> latest and greatest pear from their website.  I'm running MySQL-4.0.12-0
> (rpm) Server.  I'm attempting to run Squirrelmail and store my preferences
> and whatnot in a MySQL database.  Whenever I implement the database,
apache
> starts seg faulting, whenver there's an access to the DB..  Of course this
> is rather fustrating. :)  Any ideas?  What packages should I try
> reinstalling?  I should point out, that apache doesn't seg fault the
entire
> time, just most of the time.  It does work when it doesn't seg fault.

Are these all rpm's distributed by redhat?
Have you run a myisamchk on your mysql tables?
Does other mysql/apache/php stuff barf too?

Definitely take Augie's advice and look at your log files, especially
httpd and mysql.  You may have to consult httpd.conf to see where apache
is logging to for that virtual host.

It may help to set up some more verbose php error logging:
<?php
error_reporting (E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
ini_set('display_errors','on');
?>

> 2) This may be a bit simpler (I hope).  I have a Dell Latitude CPi laptop
> that I've installed Debian on.  It seems to run great, had to play a bit
to
> get a few little things working, but it's pretty much solid.  I am truly
> loving apt-get. :)  My only gripe is that I cannot, for the life of me,
get
> my sound card working in the darn thing.  I read something that said this
> thing is supposed to have a CS4232 compatible chipset?  That doesn't
work..
> I've tried compiling in all kinds of drivers, I just can't get the darn
> thing working..  Does anyone know what sound card this thing has and which
> driver I'm supposed to use?  or do I need to patch my kernel?  I *know*
this
> thing will work as I had it running under Redhat 8.

If it is CS4232, then see if cs4232.o is loaded.  (lsmod)  If it is not,
load
it: # lsmod cs4232

You can set this up to happen at boot with the 'modconf' command.

If that doesn't work, pop in a knoppix cd (man, that name is coming up a
lot isn't it?) and do an lsmod to see what module(s) it loads for your
sound hardware.

And again, see /var/log/messages for clues. 

-troy

_______________________________________________
talk mailing list
talk at nblug.org
http://nblug.org/mailman/listinfo/talk



More information about the talk mailing list