[mapserver-users] Re: Mapserver + mapcache + Google Map

thomas bonfort thomas.bonfort at gmail.com
Fri May 11 08:48:05 EDT 2012


actually, from your logs:

[Mon May 07 13:54:32 2012] [error] [client 160.91.28.61] curl failed
to request url http://localhost/cgi-bin/mapserv?map=/var/www/html/waves/underway/maps/test.map&VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&STYLES=&BBOX=-20428865.927609,-20428865.927609,20428865.927609,20428865.927609&WIDTH=1044&HEIGHT=1044&FORMAT=image/png&SRS=EPSG:900913&LAYERS=atl_ind&TRANSPARENT=true
: Failed to connect to ::1: Permission denied,

so you seem to have a network connectivity problem, maybe related to a
firewall and ipv6. Try replacing localhost with 127.0.0.1 in your wms
source in mapcache.xml

--
thomas


On Fri, May 11, 2012 at 2:32 PM, mkrassovski <krassovskimb at ornl.gov> wrote:
> Thomas,
> all I can see in apache log are lines like:
>
> [Fri May 11 08:16:01 2012] [error] [client ] mapcache fcgi conf file:
> /var/www/mapcache/mapcache.xml, referer:
> http://cdiac5.ornl.gov/waves/underway/test_mapcache.html
> [Fri May 11 08:16:01 2012] [error] [client ] mapcache fcgi conf file:
> /var/www/mapcache/mapcache.xml, referer:
> http://cdiac5.ornl.gov/waves/underway/test_mapcache.html
> [Fri May 11 08:16:02 2012] [error] [client ] mapcache fcgi conf file:
> /var/www/mapcache/mapcache.xml, referer:
> http://cdiac5.ornl.gov/waves/underway/test_mapcache.html
> [Fri May 11 08:16:02 2012] [error] [client ] mapcache fcgi conf file:
> /var/www/mapcache/mapcache.xml, referer:
> http://cdiac5.ornl.gov/waves/underway/test_mapcache.html
> [Fri May 11 08:16:02 2012] [error] [client ] tile x=-1 not in [0,8[,
> referer: http://cdiac5.ornl.gov/waves/underway/test_mapcache.html
> [Fri May 11 08:16:02 2012] [error] [client ] mapcache fcgi conf file:
> /var/www/mapcache/mapcache.xml, referer:
> http://cdiac5.ornl.gov/waves/underway/test_mapcache.html
> [Fri May 11 08:16:02 2012] [error] [client ] tile x=-1 not in [0,8[,
> referer: http://cdiac5.ornl.gov/waves/underway/test_mapcache.html
> [Fri May 11 08:16:02 2012] [error] [client ] mapcache fcgi conf file:
> /var/www/mapcache/mapcache.xml, referer:
> http://cdiac5.ornl.gov/waves/underway/test_mapcache.html
> [Fri May 11 08:16:02 2012] [error] [client ] mapcache fcgi conf file:
> /var/www/mapcache/mapcache.xml, referer:
> http://cdiac5.ornl.gov/waves/underway/test_mapcache.html
> [Fri May 11 08:16:02 2012] [error] [client ] mapcache fcgi conf file:
> /var/www/mapcache/mapcache.xml, referer:
> http://cdiac5.ornl.gov/waves/underway/test_mapcache.html
> [Fri May 11 08:16:47 2012] [error] [client ] mapcache fcgi conf file:
> /var/www/mapcache/mapcache.xml, referer:
> http://cdiac5.ornl.gov/waves/underway/test_mapcache.html
> [Fri May 11 08:16:47 2012] [error] [client ] mapcache fcgi conf file:
> /var/www/mapcache/mapcache.xml, referer:
> http://cdiac5.ornl.gov/waves/underway/test_mapcache.html
> [Fri May 11 08:16:47 2012] [error] [client ] mapcache fcgi conf file:
> /var/www/mapcache/mapcache.xml, referer:
> http://cdiac5.ornl.gov/waves/underway/test_mapcache.html
> [Fri May 11 08:16:47 2012] [error] [client ] tile x=-1 not in [0,8[,
> referer: http://cdiac5.ornl.gov/waves/underway/test_mapcache.html
> ....... and so on
>
> If I query wms server directly (without mapcache) it creates almost correct
> images. In this case it doesn't matter what projection I use (900913 or
> 4326) to query wms , it produces the same result. You can see the image
> here:
> http://cdiac3.ornl.gov/waves/img/wms_900913.png
>
> And this is what I have when I use mapcache:
> http://cdiac3.ornl.gov/waves/img/mapcache_4326.png
>
>
> Misha
>
> --
> View this message in context: http://osgeo-org.1560.n6.nabble.com/Mapserver-mapcache-Google-Map-tp4958439p4968271.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list