Migrating from Windows to Linux: trouble with mapfiles

Steven De Vriendt gisaalter at GMAIL.COM
Wed Nov 14 08:27:19 PST 2007


Solved the error too, it was a DMZ-IP-issue.
Now, I'm able to acces my WMS, can add the layer "grens", but it's not
showing up in qgis.
I'm not suppose to handle all this on the list though. I'm working it out.
Thanks for all your help !

On Nov 14, 2007 5:20 PM, Milo van der Linden <mlinden at zeelandnet.nl> wrote:

>  It seems that this might be a rights issue. Is the postGIS database
> running on the same machine as qGIS? is the webserver on the same machine as
> the database? Did you allow access to the postGIS database in the
> pg_hba.conf? or is it set to localhost access only?
>
> Kind regards,
>
> Milo van der Linden
>
>
> Steven De Vriendt schreef:
>
> Gregor,
> I'm trying to access my wms in qgis. When I access this url in qgis:
>
> http://80.201.239.208:8888/cgi-bin/mapserv?map=/etc/mapserver/wmsserver.map&version=1.1.0&service=wms&request=getcapabilities
> I'm getting an error that qgis can't access the postgis db.
> However, when I try to connect to postgis-db in qgis using same connection
> params I can access it just fine...strange..
>
> Steven
>
> On Nov 14, 2007 5:02 PM, Gregor Mosheh <gregor at hostgis.com> wrote:
>
> > Steven De Vriendt wrote:
> > > Gregor:
> > > this is my layer-setup for postgis-wms..
> > > am I missing out something ?
> >
> >  When you request the layer, what is your request? I ask because you
> > have
> > a wms_title, so I wonder whether you're requesting layer grens or layer
> > gemeentgrens -- it should be grens.
> >
> > Other than that, looks great. What is it doing instead of working? When
> > you hit mapserv directly via a manual WMS request, does it generate a
> > blank image, or an error? Do you have a WMS URL pointing at this layer,
> > which we could use to check?
> >
> > I might also recommend that you go over the WMS Server HOWTO on the
> > website, just in case something got overlooked. Check the usual stuff:
> > projections, wms_srs listing, read your WMS server's capabilities
> > document and make sure it's sane, ...
> >
> > --
> >  Gregor Mosheh / Greg Allensworth
> > System Administrator, HostGIS cartographic development & hosting
> > services
> > http://www.HostGIS.com/
> >
> > "Remember that no one cares if you can back up,
> >  only if you can restore." - AMANDA
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20071114/d549151c/attachment.htm>


More information about the MapServer-users mailing list