Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Segmentation Fault - core dumped |
|
Author |
|
buntyray
Joined: 23 May 2013 Posts: 9 Location: Australia,Melbourne
|
Posted: Tue 28 May '13 3:36 Post subject: Segmentation Fault - core dumped |
|
|
Hi,
I recently build an apache server in Solaris10 SRAC server and enabled the following modules.
LoadModule foo_module modules/mod_foo.so
LoadModule jk_module modules/mod_jk.so
LoadModule weblogic_module modules/mod_wl_22.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadFile "/usr/lib/libxml2.so"
LoadModule xml2enc_module modules/mod_xml2enc.so
LoadModule proxy_html_module modules/mod_proxy_html.so
Post that I tried a simple Reverse Proxy setup to confirm the apache work fine as a reverse proxy
### Proxy Setup ####
ProxyVia On
ProxyPass /console http://<apps-host>:8980/console
<Location /console>
ProxyPassReverse http://<apps-host>:8980/console
</Location>
Post these changes when I try starting apache I get the error - Segmentation Fault - core dumped
Checked the Error Logs it shows -
[Mon May 27 14:09:24 2013] [notice] child pid 29964 exit signal Segmentation fault (11)
[Mon May 27 14:09:32 2013] [notice] child pid 29963 exit signal Segmentation fault (11)
[Mon May 27 14:11:14 2013] [notice] caught SIGTERM, shutting down
[Mon May 27 14:11:19 2013] [warn] RSA server certificate CommonName (CN) `BUNTY RAY' does NOT match server name!?
[Mon May 27 14:11:19 2013] [warn] No JkLogFile defined in httpd.conf. Using default /opt/apache-2.2.24/logs/mod_jk.log
[Mon May 27 14:11:19 2013] [warn] No JkShmFile defined in httpd.conf. Using default /opt/apache-2.2.24/logs/jk-runtime-status
[Mon May 27 14:11:19 2013] [notice] Oracle WebLogic plugin build date/time: Feb 9 2011 11:03:26. Change Number: 1386101
[Mon May 27 14:11:19 2013] [warn] RSA server certificate CommonName (CN) `BUNTY RAY' does NOT match server name!?
[Mon May 27 14:11:19 2013] [warn] No JkLogFile defined in httpd.conf. Using default /opt/apache-2.2.24/logs/mod_jk.log
[Mon May 27 14:11:19 2013] [warn] No JkShmFile defined in httpd.conf. Using default /opt/apache-2.2.24/logs/jk-runtime-status
[Mon May 27 14:11:19 2013] [notice] Apache/2.2.24 (Unix) mod_ssl/2.2.24 OpenSSL/0.9.7d proxy_html/3.1.2 mod_jk/1.2.37 configured -- resuming normal operations
[Mon May 27 14:35:53 2013] [notice] child pid 29982 exit signal Segmentation fault (11)
[Mon May 27 14:36:02 2013] [notice] child pid 29986 exit signal Segmentation fault (11)
[Mon May 27 14:58:30 2013] [notice] caught SIGTERM, shutting down |
|
Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7404 Location: EU, Germany, Next to Hamburg
|
Posted: Wed 29 May '13 17:58 Post subject: |
|
|
I don't see the core dumped in that log part that you posted.
However edit your httpd.conf
add
Code: |
CoreDumpDirectory /tmp/apache2-gdb-dump
|
Code: |
mkdir -p /tmp/apache2-gdb-dump
chmod 0777 /tmp/apache2-gdb-dump
|
restart apache and than
ls /tmp/apache2-gdb-dump
than use gdb. |
|
Back to top |
|
buntyray
Joined: 23 May 2013 Posts: 9 Location: Australia,Melbourne
|
Posted: Thu 30 May '13 14:18 Post subject: |
|
|
The issue is fixed now....I had wrongly compiled the mod_proxy module with the 'apxs' binary of a apache-2.2.24 and used it with apache 2.4.4 |
|
Back to top |
|
|
|
|
|
|