[MapProxy] mapnik source running under apache

Vish Uma viswaug at yahoo.com
Mon Nov 24 18:39:00 PST 2014


 Hi,
I am running into issues running a mapproxy configuration under apache on a CentOS 7 box. Here is the apache log with the error entry
[Mon Nov 24 21:32:33.980378 2014] [core:notice] [pid 31520] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0[Mon Nov 24 21:32:33.982164 2014] [suexec:notice] [pid 31520] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message[Mon Nov 24 21:32:34.008073 2014] [auth_digest:notice] [pid 31520] AH01757: generating secret for digest authentication ...[Mon Nov 24 21:32:34.009978 2014] [lbmethod_heartbeat:notice] [pid 31520] AH02282: No slotmem from mod_heartmonitor[Mon Nov 24 21:32:34.019638 2014] [mpm_prefork:notice] [pid 31520] AH00163: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations[Mon Nov 24 21:32:34.019686 2014] [core:notice] [pid 31520] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'[Mon Nov 24 21:33:09.444160 2014] [core:error] [pid 31533] [client 172.30.0.83:61733] End of script output before headers: mapproxy.py[Mon Nov 24 21:33:10.061485 2014] [core:notice] [pid 31520] AH00052: child pid 31521 exit signal Segmentation fault (11)

The mapproxy configuration file runs fine under mapproxy-util serve-develop. I also tried mapproxy-util serve-multiapp-develop. They bot run fine. So, I am only running into issues when hosting on apache. The map configuration file does use a mapnik source, so I did add the "WSGIApplicationGroup %{GLOBAL}" entry to the .conf file.
Here is the content of my apache .conf file
WSGIScriptAlias / /usr/local/txwrap/mapproxy.pyWSGIDaemonProcess mapproxy-wsgi-daemon processes=8 threads=25WSGIProcessGroup mapproxy-wsgi-daemonWSGIApplicationGroup %{GLOBAL}<Directory /usr/local/txwrap> Options FollowSymlinks AllowOverride none Require all granted</Directory>

Any ideas on what might be going wrong here? 
Thank You,Vish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20141125/1cc25969/attachment.html>


More information about the MapProxy mailing list