Segfault in apache

1 post / 0 new
#1 Sat, 2017-07-08 05:46
mcandre
  • mcandre's picture
  • Offline
  • Last seen: 1 month 3 days ago
  • Joined: 2016-02-09

I'm trying to configure a basic forward proxy with Apache in Alpine. However, one of the child pids is segfaulting.

Trace:

$ httpd
$ tail /var/log/apache2/error.log 
[Sat Jul 08 03:38:26.001112 2017] [lbmethod_heartbeat:notice] [pid 5] AH02282: No slotmem from mod_heartmonitor
[Sat Jul 08 03:38:26.002205 2017] [mpm_prefork:notice] [pid 5] AH00163: Apache/2.4.26 (Unix) configured -- resuming normal operations
[Sat Jul 08 03:38:26.002237 2017] [core:notice] [pid 5] AH00094: Command line: 'httpd -D FOREGROUND'
[Sat Jul 08 03:39:17.084999 2017] [core:notice] [pid 5] AH00052: child pid 8 exit signal Segmentation fault (11)

Setup:

$ apk add -U apache2 apache2-proxy
$ mkdir -p /run/apache2
$ echo "LoadModule slotmem_shm_module modules/mod_slotmem_shm.so" >> /etc/apache2/httpd.conf && \
$ echo "ServerName localhost" >> /etc/apache2/httpd.conf && \
$ mkdir -p /etc/apache2/sites-enabled && \
$ ln -s /etc/apache2/sites-available/default /etc/apache2/sites-enabled/default

/etc/apache2/sites-available/default:

NameVirtualHost *:8080
 
<VirtualHost *:8080>
ProxyRequests On
ProxyVia On
 
<Proxy *>
Allow from all
</Proxy>
</VirtualHost>

Any suggestions for working around the segfault?