[MapServer-users] Silent error running mapserver

Troels Arvin troels at arvin.dk
Thu Sep 14 07:05:41 PDT 2023


Hello,

I'm struggling to find out why my newly compiled Mapserver 8 exits 
without any output and without any error messages.

Using Mapserver 6, the following command resulted in PNG output.

/usr/local/bin/mapserv 
QUERY_STRING="map=/foo/my.map&min_x_wc=545984&min_y_wc=6283731.2&max_x_wc=547622.4&max_y_wc=6285369.600000001&layers=theme1&phaseid=00000000-0000-0000-0000-000000000000&elementtypekeys=''&service=WMS&srs=EPSG:25832&workspaceid=66ddb06f-0527-4dc8-89db-d8ed3edf10b3&profileid=00000000-0000-0000-0000-000000000000&_olsalt=0.5323379383513367&width=256&bbox=XXX,XXX,XXX,XXX&height=256&transparent=TRUE&request=GetMap&version=1.1.1&format=image/png&draftid=00000000-0000-0000-0000-000000000000&foo=bar"

But using Mapserver 8, nothing happens. On the command line, the result 
code of the command is 0.

Using strace, the last activities look like this:

================================================

710989 read(3, "ass\n      name \"9.26_0\"\n      expression 
('[elementtypekey]' = '9.26_0' )\n\n      style\n symbo"..., 8192) = 8192
710989 access("/home/foo at bar.org", W_OK) = 0
710989 openat(AT_FDCWD, "/home/foo at bar.org/.local/share/proj/epsg", 
O_RDONLY) = -1 ENOENT (No such file or directory)
710989 openat(AT_FDCWD, "/usr/share/proj/epsg", O_RDONLY) = 5
710989 close(5)                         = 0
710989 close(3)                         = 0
710989 newfstatat(AT_FDCWD, "/usr/share/proj/proj.db", 
{st_mode=S_IFREG|0644, st_size=7921664, ...}, 0) = 0
710989 newfstatat(4, "", {st_mode=S_IFREG|0644, st_size=7921664, ...}, 
AT_EMPTY_PATH) = 0
710989 newfstatat(AT_FDCWD, "/usr/share/proj/proj.db", 
{st_mode=S_IFREG|0644, st_size=7921664, ...}, 0) = 0
710989 close(4)                         = 0
710989 munmap(0x7fc8a3d03000, 135168)   = 0
710989 munmap(0x7fc8a3d24000, 258048)   = 0
710989 exit_group(0)                    = ?
710989 +++ exited with 0 +++

================================================

Output from "mapserv -v":

MapServer version 8.0.1 PROJ version 6.3 GDAL version 3.4 OUTPUT=PNG 
OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO 
SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WFS_SERVER 
SUPPORTS=WCS_SERVER SUPPORTS=OGCAPI_SERVER SUPPORTS=FASTCGI 
SUPPORTS=GEOS SUPPORTS=PBF INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL 
INPUT=SHAPEFILE INPUT=FLATGEOBUF

Any ideas?

-- 
Kind regards,
Troels Arvin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230914/99d2e091/attachment-0001.htm>


More information about the MapServer-users mailing list