|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
Segmentation fault (11) - Apache
I get these errors repeatedly below
Code:
child pid 54123 exit signal Segmentation fault (11) thanks |
|
|||
application
how do i find out which application is generating the error.
thanks |
|
|||
logs
hi again
Code:
Jul 11 15:20:13 B6745 kernel: pid 58662 (httpd), uid 1002: exited on signal 11 Jul 11 15:20:26 B6745 kernel: pid 58665 (httpd), uid 1002: exited on signal 11 Jul 11 15:21:28 B6745 kernel: pid 58674 (httpd), uid 1002: exited on signal 11 Jul 11 15:22:35 B6745 kernel: pid 58633 (httpd), uid 1002: exited on signal 11 Jul 11 15:22:40 B6745 kernel: pid 58673 (httpd), uid 1002: exited on signal 11 Jul 11 15:22:43 B6745 kernel: pid 58675 (httpd), uid 1002: exited on signal 11 Jul 11 15:25:03 B6745 kernel: pid 58681 (httpd), uid 1002: exited on signal 11 Jul 11 15:25:34 B6745 kernel: pid 58678 (httpd), uid 1002: exited on signal 11 Jul 11 15:27:38 B6745 kernel: pid 58690 (httpd), uid 1002: exited on signal 11 Jul 11 15:29:03 B6745 kernel: pid 58689 (httpd), uid 1002: exited on signal 11 Jul 11 15:30:49 B6745 kernel: pid 58697 (httpd), uid 1002: exited on signal 11 Jul 11 15:31:00 B6745 kernel: pid 58214 (httpd), uid 1002: exited on signal 11 Jul 11 15:31:40 B6745 kernel: pid 58729 (httpd), uid 1002: exited on signal 11 The error_log of apache is full of them as you can see occurs ever 2 minutes. The above output is from /var/log/messages server setup = freebsd 5.4, apache2, php5 with zend optimzer enabled, Mysql5, postfix
__________________
Freebsd 7 64 bit apache2.2 php5 mysql5 Last edited by ijk; 11th July 2008 at 02:55 PM. |
|
|||
from source
No.
followed the instructions given in the link to install apache. http://www.bsdguides.org/guides/free...e2_install.php
__________________
Freebsd 7 64 bit apache2.2 php5 mysql5 |
|
||||
The Sig11 FAQ
http://www.bitwizard.nl/sig11/
__________________
da more I know I know I know nuttin' |
|
|||
not a hardware problem than
out of dd if=/dev/eY0x4t of=/dev/null bs=1024k count=1014
Quote:
__________________
Freebsd 7 64 bit apache2.2 php5 mysql5 |
|
|||
Is the Apache error log the only place your seeing these errors? For example are you having trouble compiling large applications and is there anything out of the ordinary in your /var/log/messages ? If you are having trouble compiling stuff too I'm betting the RAM is at fault.
|
|
||||
Please confirm what version of FreeBSD you are running. (uname -a)
Oh, and I take it you have run memtest86 (or similar) for an hour or so to rule out memory errors? Did you follow the guide that you linked to? If so, then send a brick to the person that wrote it. I don't know how you are going to get rid of that out-of-date, incorrectly compiled version of apache. If you still have the source directory, then "make uninstall" or "make deinstall" might do it. Then you can reinstall the current version, correctly, using the port. Code:
cd /usr/ports/www/apache22 make install clean
__________________
The only dumb question is a question not asked. The only dumb answer is an answer not given. |
|
|||
freebsd version 5.4
apache logs are not the only place is see these messages.
I also see them in /var/log/messages Code:
Jul 11 15:21:28 D6666 kernel: pid 58674 (httpd), uid 1002: exited on signal 11 Jul 11 15:22:35 D6666 kernel: pid 58633 (httpd), uid 1002: exited on signal 11 Jul 11 15:22:40 D6666 kernel: pid 58673 (httpd), uid 1002: exited on signal 11 Jul 11 15:22:43 D6666 kernel: pid 58675 (httpd), uid 1002: exited on signal 11 Jul 11 15:25:03 D6666 kernel: pid 58681 (httpd), uid 1002: exited on signal 11 Jul 11 15:25:34 D6666 kernel: pid 58678 (httpd), uid 1002: exited on signal 11 Jul 11 15:27:38 D6666 kernel: pid 58690 (httpd), uid 1002: exited on signal 11 Jul 11 15:29:03 D6666 kernel: pid 58689 (httpd), uid 1002: exited on signal 11 Jul 11 15:30:49 D6666 kernel: pid 58697 (httpd), uid 1002: exited on signal 11 Jul 11 15:31:00 D6666 kernel: pid 58214 (httpd), uid 1002: exited on signal 11 Jul 11 15:31:40 D6666 kernel: pid 58729 (httpd), uid 1002: exited on signal 11 Jul 11 15:31:43 D6666 kernel: pid 58679 (httpd), uid 1002: exited on signal 11 Jul 11 15:33:14 D6666 kernel: pid 58666 (httpd), uid 1002: exited on signal 11 Jul 11 15:33:30 D6666 kernel: pid 58728 (httpd), uid 1002: exited on signal 11 Jul 11 15:33:39 D6666 kernel: pid 58739 (httpd), uid 1002: exited on signal 11 Jul 11 15:36:06 D6666 kernel: pid 58664 (httpd), uid 1002: exited on signal 11 Jul 11 15:37:17 D6666 kernel: pid 58740 (httpd), uid 1002: exited on signal 11 Jul 11 15:38:21 D6666 kernel: pid 58730 (httpd), uid 1002: exited on signal 11 Quote:
I have included my server settings in my signature. My freebsd version is 5.4. The server team have done various tests and assure me it is not a hardware problem. Quote:
Trying to find out what is generating these errors is it a php script or is it incorrectly configured apache. I have upgraded to the latest version of apache 2.0 using the instructions below http://daemonforums.org/showthread.php?t=1315
__________________
Freebsd 7 64 bit apache2.2 php5 mysql5 Last edited by ijk; 12th July 2008 at 07:20 AM. |
|
|||
freebsd 5.4
no specific reason just not got round to upgrading as it.
__________________
Freebsd 7 64 bit apache2.2 php5 mysql5 |
|
||||
Quote:
If you don't want to upgrade, then make sure you use the tag RELEASE_5_EOL when cvsuping your ports collection, since FreeBSD 5 is no longer supported in the ports collection.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
||||
Did you manually compile Apache as you described in this thread?
http://daemonforums.org/showthread.php?t=1315 If you did, then uninstall the manually compiled version and install Apache from ports. The ports collection applies several patches to Apache, mainly stability and security stuff (i.e. stuff you want), so this alone is reason enough to use ports IMO. I can not see a single advantage to compiling Apache manually instead of using ports.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
||||
Please upgrade at least to FreeBSD 6! It is a smooth transition. FreeBSD 5 is no longer supported.
http://www.freebsd.org/doc/en/books/...makeworld.html (assumes you have already synced your sources via csup) Last edited by Weaseal; 15th July 2008 at 11:06 AM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Segmentation fault error139 | delboy | FreeBSD Ports and Packages | 8 | 9th July 2009 06:32 PM |
MYSQL 's fault? | disappearedng | FreeBSD General | 3 | 14th October 2008 11:53 PM |
Segmentation fault | ccc | FreeBSD General | 8 | 28th June 2008 02:15 PM |
MySQL C library - segmentation fault on mysql_select_db() when using CC optimisation | gor | OpenBSD Packages and Ports | 7 | 10th June 2008 11:42 PM |
Intermitant fault upon booting | Johnny2Bad | FreeBSD Installation and Upgrading | 7 | 17th May 2008 07:43 PM |