<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi all,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Did anybody see this error message (see details below) trying to start mapserver with apache2 ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I have successfully built mapserver docker image using URL
<a href="https://github.com/mapserver/mapserver.git">https://github.com/mapserver/mapserver.git</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I got mapserver 7.3-dev, shall I point to another more stable release ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Do you have any information describing how to configure mapserver using fastcgi on apache to provide good performance for mapserver requests ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Erwann.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">root@9387ca67f455:/var/www/html# wget "<a href="http://localhost:80/mapserv?map=WMS_S1_ORTHO&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities">http://localhost:80/mapserv?map=WMS_S1_ORTHO&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities</a>"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">--2018-09-14 12:51:57--  <a href="http://localhost/mapserv?map=WMS_S1_ORTHO&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities">
http://localhost/mapserv?map=WMS_S1_ORTHO&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Resolving localhost (localhost)... 127.0.0.1, ::1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Connecting to localhost (localhost)|127.0.0.1|:80... connected.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">HTTP request sent, awaiting response... </span>
<span lang="ES">503 Service Unavailable<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ES">2018-09-14 12:53:00 ERROR 503: Service Unavailable.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="ES"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="ES">root@9387ca67f455:/var/www/html# cd /var/log/apache2/<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">root@9387ca67f455:/var/log/apache2# cat error.log<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[Fri Sep 14 12:45:54.403288 2018] [:debug] [pid 9:tid 140006272603328] mod_mapcache.c(316): creating a child process mapcache connection pool on server 172.27.0.2 for alias /mapcache<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[Fri Sep 14 12:45:54.404128 2018] [:debug] [pid 10:tid 140006272603328] mod_mapcache.c(316): creating a child process mapcache connection pool on server 172.27.0.2 for alias /mapcache<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[Fri Sep 14 12:51:57.095671 2018] [:debug] [pid 9:tid 140005934626560] mod_mapcache.c(448): [client 127.0.0.1:36524] mapcache quick handler hook on uri /mapserv<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[Fri Sep 14 12:51:57.096511 2018] [authz_core:debug] [pid 9:tid 140005934626560] mod_authz_core.c(809): [client 127.0.0.1:36524] AH01626: authorization result of Require all granted: granted<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[Fri Sep 14 12:51:57.096543 2018] [authz_core:debug] [pid 9:tid 140005934626560] mod_authz_core.c(809): [client 127.0.0.1:36524] AH01626: authorization result of <RequireAny>: granted<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[Fri Sep 14 12:53:00.186071 2018] [fcgid:warn] [pid 9:tid 140005934626560] [client 127.0.0.1:36524]
<b><span style="color:red">mod_fcgid: can't apply process slot for /usr/lib/cgi-bin/mapserv.fcgi</span></b><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">mapserv -v<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">MapServer version 7.3-dev OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
 SUPPORTS=FASTCGI SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal">root@9387ca67f455:/var/log/apache2# apache2 -v<o:p></o:p></p>
<p class="MsoNormal">Server version: Apache/2.4.25 (Debian)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>