Hello,
Fbsd 5.3-RELEASE, apache 2.53, php4 installed. Everything was working
than i got a report of site's being down. I investigated and learned that
apache was not starting. I tried a restart, which did not produce an error,
however checking for an http process ID didn't show anything. I then checked
/var/log/messages and /var/log/httpd-access.log and found that the apache
startup was dying on a signal 4. Googling on this did not tell me what it
was or more importantly how to fix it.
Signal 4 is SIGILL, illegal instruction. (man 3 signal) If you've been able to run the same httpd+modules successfully this is probably indicative of a hardware failure. Usually memory, but it could be your CPU or motherboard or a variety of other things.
If this is your hardware and you can afford the downtime, put memtest86 on a boot disk or CD and run it overnight to see if it spots anything. You could also try running Apache through truss and seeing if it gets the error in the same place every time. You could recompile Apache with debugging code, but that will probably make this error go away (by changing the code just enough to obscure the underlying problem). If you are running in a jail, get your hosting company to look at the host system's dmesg/logs since they may see warnings about memory parity errors which might otherwise not be passed to your jail.
Linux folks also say that compiling the kernel is a good "stress test." Usually if there's a memory or other hardware problem it will cause gcc to die. I expect that doing a make world would have similar effects. You could try that if all else fails.
_______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
