A spinned Apache

Published on and tagged with apache  debian  problem

In the last few days I had a bit of trouble with the Apache webserver on my local machine. As I noticed the problem, the error log has already filled a good portion of my hard disk. Every second more than a dozen entries were written to the log:

[Sat Oct 21 10:35:06 2006] [notice] child pid 9360 exit signal
Segmentation fault (11)

After debugging with strace (after hours of unsuccessful searching), I found out that a function is called which is not implemented:

set_thread_area({entry_number:-1 -> -1, base_addr:0x809a640,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}) = -1 ENOSYS (Function
not implemented)

Hm, but how to fix it? Well, I “fixed” it by accident. As I started my computer the next time I had chosen to load a 2.6.x kernel, and the problem disappeared. Now I am a bit in a dilemma, on the one hand I need a 2.6.x kernel for Apache, and on the other hand I need a 2.4.x kernel for my trackpoint…

© daniel hofstetter. Licensed under a Creative Commons License