[mapserver-users] Problem install mapserver on ubuntu 18.04

Richard Greenwood richard.greenwood at gmail.com
Thu Apr 4 05:44:09 PDT 2019


To run it as fcgi it needs the .fcgi file extension. You can just symlink:
   sudo ln -s /usr/lib/cgi-bin/mapserv /usr/lib/cgi-bin/mapserv.fcgi
and then your request needs to be:
   http://localhost/cgi-bin/mapserv*.fcgi*
?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities


On Thu, Apr 4, 2019 at 6:34 AM Roberto Marzocchi <roberto.marzocchi at gter.it>
wrote:

> sorry I enable fastcgi but not cgi
>
> R
>
> Eng. Roberto Marzocchi, PhD
> GIS Project Coordinator
> Gter srl (Unige spin-off)
> Piazza De Marini 3/61 - 16123 GenovaP.IVA/CF 01998770992
> ph: 010-8694830 - mob: 349-8786575
> E-mail: roberto.marzocchi at gter.it
> skype: roberto.marzocchi84www.gter.it
>
> --
> Gter socialwww.twitter.com/Gteronline - www.facebook.com/Gteronline - https://plus.google.com/+GterIt/posts www.linkedin.com/company/gter-srl-innovazione-in-geomatica-gnss-e-gis
>
> -----------------------------------------------------------------
> Please consider the environment before printing this email!
>
>
>
>
> ---- On gio, 04 apr 2019 14:29:33 +0200 *Richard Greenwood
> <richard.greenwood at gmail.com <richard.greenwood at gmail.com>>* wrote ----
>
> Have you enabled cgi and fcgi?
>    sudo a2enmod cgi fcgid
> php is not used or necessary for WMS.
>
> On Thu, Apr 4, 2019 at 6:20 AM Roberto Marzocchi <
> roberto.marzocchi at gter.it> wrote:
>
>
>
> --
> Richard W. Greenwood, PLS
> www.greenwoodmap.com
>
>
> Permission are right (755) anyway I try to change it and nothing change
>
> Perhaps a problem with fastcgi? I installed php7.2-fpm package
>
> R
>
> Eng. Roberto Marzocchi, PhD
> GIS Project Coordinator
> Gter srl (Unige spin-off)
> Piazza De Marini 3/61 - 16123 GenovaP.IVA/CF 01998770992
> ph: 010-8694830 - mob: 349-8786575
> E-mail: roberto.marzocchi at gter.it
> skype: roberto.marzocchi84www.gter.it
>
> --
> Gter socialwww.twitter.com/Gteronline - www.facebook.com/Gteronline - https://plus.google.com/+GterIt/posts www.linkedin.com/company/gter-srl-innovazione-in-geomatica-gnss-e-gis
>
> -----------------------------------------------------------------
> Please consider the environment before printing this email!
>
>
>
>
> ---- On gio, 04 apr 2019 14:13:36 +0200 *Jeff McKenna
> <jmckenna at gatewaygeomatics.com <jmckenna at gatewaygeomatics.com>>* wrote
> ----
>
> Maybe it is permissions on your mapserv executable. Make sure that your
> Apache user has permissions to execute that file (or chmod to '777'
> temporarily to verify).
>
> -jeff
>
>
>
> --
> Jeff McKenna
> MapServer Consulting and Training Services
> https://gatewaygeomatics.com/
>
>
>
>
> On 2019-04-04 5:19 AM, Roberto Marzocchi wrote:
> > Dear all,
> >
> > I try to install mapserver on ubuntu 18.04 (I have also a qgis server
> > installed but I suppose it is not a problem, I already done the
> > installation in old server)
> >
> >
> > when I type mapserv -v on terminal it's OK
> >
> > MapServer version 7.0.7 OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ
> > SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS
> > SUPPORTS=RSVG SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER
> > SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT
> > SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI
> > SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR
> > INPUT=GDAL INPUT=SHAPEFILE
> >
> > when I try to use the cgi service I have some problem:
> >
> >
> http://localhost/cgi-bin/mapserv?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities
> >
> > No error on apache log and a file not readable as output [1]
> >
> > Thanks in advanced for your support
> >
> > R
> >
> >
> > [1] - https://docs.zoho.eu/file/1htkm3ff6db579e8d41e8835e76364cd84447
> >
> >
> >
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
>
>

-- 
Richard W. Greenwood, PLS
www.greenwoodmap.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20190404/421d7b02/attachment-0001.html>


More information about the mapserver-users mailing list