LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-04-2008, 05:57 PM   #1
Mark007
Member
 
Registered: Apr 2004
Location: Sussex, UK
Distribution: Centos, Cisco IOS, Win<n>X64
Posts: 34

Rep: Reputation: 15
Apache Segmentation Fault



Hi all,

The local electricity company did a triple yesterday on us and my slackware 10 box has taken a hit. (the UPS is not intelligent...)

After sorting out the filing system, something to do with Apache now is damaged. when I start Apache I get..

Line 199 12442 Segmentation fault (core dumped) $HTTPD.

so, for good or bad. I reinstalled Apache using the package manager, thinking it would re-write any damaged files or links etc.

still no joy...

I did a bit googleling, (like u do...) and using gdb and the coredump, and I get this..


This GDB was configured as "i486-slackware-linux"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

Core was generated by `/usr/sbin/httpd'.
Program terminated with signal 11, Segmentation fault.
#0 0x4099b600 in ?? ()
(gdb)



what's this telling me (in plain English!) any guidance would be gratefully received.



73 Mark

 
Old 03-04-2008, 06:34 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
That gdb output doesn't make too much sense to me, but I'd be looking at the
libraries that apache is linked against as well as the actual binary.

You don't need to reinstall them all, btw. Just compare their sizes and
dates against their values in MANIFEST.bz2 (on your CDs).

Maybe something like this
Code:
ldd `which httpd`|awk '{print $1}' > files
bzcat /cdrom/slackware/MANIFEST.bz2 | egrep -f files
and compare the output to your system.


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apache segmentation fault kloppster Linux - Software 6 07-19-2004 01:56 PM
Apache segmentation fault with with default index files paijm021 Linux - Software 13 04-22-2004 08:51 AM
HELP PLEASE! Apache Segmentation Fault gabriele_101 Linux - Software 4 08-01-2003 12:56 AM
Apache CGI Segmentation Fault Jon- Linux - Software 1 07-15-2003 09:16 AM
Apache Segmentation Fault.... morbo Linux - General 2 12-14-2001 03:14 PM


All times are GMT -5. The time now is 04:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration