[MapServer-users] MapServer-users Digest, Vol 176, Issue 10

Boubacar Bah bahbouba.909 at gmail.com
Tue Sep 20 11:08:41 PDT 2022


hi scott, yes indeed i connect with the same parameter.
but you say that the database must be on the same server, that tinyows is
what you developed a little bit that.
because my database is on my postgis server and tinyows is however an
implementation of mapserver how can I put them on the same server so that
they are not managed by the same software

Le mar. 20 sept. 2022 à 21:02, <mapserver-users-request at lists.osgeo.org> a
écrit :

> Send MapServer-users mailing list submissions to
>         mapserver-users at lists.osgeo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.osgeo.org/mailman/listinfo/mapserver-users
> or, via email, send a message with subject or body 'help' to
>         mapserver-users-request at lists.osgeo.org
>
> You can reach the person managing the list at
>         mapserver-users-owner at lists.osgeo.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of MapServer-users digest..."
>
>
> Today's Topics:
>
>    1. asking help (Boubacar Bah)
>    2. (no subject) (Boubacar Bah)
>    3. Re: asking help (Scott)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 20 Sep 2022 13:12:09 +0200
> From: Boubacar Bah <bahbouba.909 at gmail.com>
> To: mapserver-users at lists.osgeo.org
> Subject: [MapServer-users] asking help
> Message-ID:
>         <
> CALOg8kFaF6FxfDC4o9GbS5Zes1SPFQWLQcF5dcZOXOshcCFZ_g at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
>   Hello, I hope you are doing well.
> here I need your help concerning tinyows. I try to connect tinyows to
> postgis but it sends me an error saying that the connection failed. I
> really don't know what to do anymore.
> any help will be good.
> here are the configuration parameters
> <tinyows online_resource="http://127.0.0.1/cgi-bin/tinyows"
>          schema_dir="C:/ms4w/apps/tinyows/schema/"
>          check_schema="0">
>
> <pg host="localhost" user="postgres" password="97071884" dbname="mli" port=
> "5432"/>
>
> <metadata name="TinyOWS Server"
>           title="TinyOWS Server - WFS-T demo_tyny Service" />
>
> <contact name="TinyOWS Server"
>          site="http://www.tinyows.org/"
>          email="tinyows-users at lists.maptools.org" />
>
> <layer retrievable="1"
>        writable="1"
>        ns_prefix="tows"
>        ns_uri="http://www.tinyows.org/"
>        name="demo_tyny"
>        title="Frida Parks" />
>
> </tinyows>
> and the error message.
> <ows:ExceptionReport xmlns="http://www.opengis.net/ows" xmlns:ows="
> http://www.opengis.net/ows" xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
> http://www.opengis.net/ows
> http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd"
> version="1.1.0"
>  language="en">
> <ows:Exception exceptionCode="ConnectionFailed" locator="init_OWS">
> <ows:ExceptionText>Connection to database failed</ows:ExceptionText>
> </ows:Exception>
> </ows:ExceptionReport>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.osgeo.org/pipermail/mapserver-users/attachments/20220920/69de5739/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 2
> Date: Tue, 20 Sep 2022 13:14:25 +0200
> From: Boubacar Bah <bahbouba.909 at gmail.com>
> To: mapserver-users at lists.osgeo.org
> Subject: [MapServer-users] (no subject)
> Message-ID:
>         <
> CALOg8kEdZPDZxxFDVTZMBzibJwk+nk1J6ShVnChim23RGB6OuA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello, I hope you are doing well.
> here I need your help concerning tinyows. I try to connect tinyows to
> postgis but it sends me an error saying that the connection failed. I
> really don't know what to do anymore.
> any help will be good.
> *error message:*
> <ows:ExceptionReport xmlns="http://www.opengis.net/ows" xmlns:ows="
> http://www.opengis.net/ows" xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
> http://www.opengis.net/ows
> http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd"
> version="1.1.0"
>  language="en">
> <ows:Exception exceptionCode="ConnectionFailed" locator="init_OWS">
> <ows:ExceptionText>Connection to database failed</ows:ExceptionText>
> </ows:Exception>
> </ows:ExceptionReport>
> *here are the configuration parameters:*
> <tinyows online_resource="http://127.0.0.1/cgi-bin/tinyows"
>          schema_dir="C:/ms4w/apps/tinyows/schema/"
>          check_schema="0">
>
> <pg host="localhost" user="postgres" password="97071884" dbname="mli" port=
> "5432"/>
>
> <metadata name="TinyOWS Server"
>           title="TinyOWS Server - WFS-T demo_tyny Service" />
>
> <contact name="TinyOWS Server"
>          site="http://www.tinyows.org/"
>          email="tinyows-users at lists.maptools.org" />
>
> <layer retrievable="1"
>        writable="1"
>        ns_prefix="tows"
>        ns_uri="http://www.tinyows.org/"
>        name="demo_tyny"
>        title="Frida Parks" />
>
> </tinyows>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.osgeo.org/pipermail/mapserver-users/attachments/20220920/dc8fa6db/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 3
> Date: Tue, 20 Sep 2022 07:29:23 -0700
> From: Scott <public at postholer.com>
> To: mapserver-users at lists.osgeo.org
> Subject: Re: [MapServer-users] asking help
> Message-ID: <36938815-4cc4-bbb3-4159-99981ec21773 at postholer.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> It looks like a database connection error. Are you able to connect with
> psql using those parameters? Is tinyows on the same server as your
> database?
>
> You might also try using 127.0.0.1 instead of localhost.
>
>
> On 9/20/22 04:12, Boubacar Bah wrote:
> >  ? Hello, I hope you are doing well.
> > here I need your help concerning tinyows. I try to connect tinyows to
> > postgis but it sends me an error saying that the connection failed. I
> > really don't know what to do anymore.
> > any help will be good.
> > here are the configuration parameters
> > <tinyows online_resource="http://127.0.0.1/cgi-bin/tinyows
> > <http://127.0.0.1/cgi-bin/tinyows>"
> > schema_dir="C:/ms4w/apps/tinyows/schema/"
> > check_schema="0">
> >
> > <pg host="localhost" user="postgres" password="97071884" dbname="mli"
> > port="5432"/>
> >
> > <metadata name="TinyOWS Server"
> > title="TinyOWS Server - WFS-T demo_tyny Service" />
> >
> > <contact name="TinyOWS Server"
> > site="http://www.tinyows.org/ <http://www.tinyows.org/>"
> > email="tinyows-users at lists.maptools.org
> > <mailto:tinyows-users at lists.maptools.org>" />
> >
> > <layer retrievable="1"
> > writable="1"
> > ns_prefix="tows"
> > ns_uri="http://www.tinyows.org/ <http://www.tinyows.org/>"
> > name="demo_tyny"
> > title="Frida Parks" />
> >
> > </tinyows>
> > and the error message.
> > <ows:ExceptionReportxmlns="http://www.opengis.net/ows
> > <http://www.opengis.net/ows>"xmlns:ows="http://www.opengis.net/ows
> > <http://www.opengis.net/ows>"xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance
> > <http://www.w3.org/2001/XMLSchema-instance>"xsi:schemaLocation="
> http://www.opengis.net/ows
> > <http://www.opengis.net/ows>
> > http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd
> > <http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd
> >"version="1.1.0"language="en">
> > <ows:ExceptionexceptionCode="ConnectionFailed"locator="init_OWS">
> > <ows:ExceptionText>Connection to database failed</ows:ExceptionText>
> > </ows:Exception>
> > </ows:ExceptionReport>
> >
> > _______________________________________________
> > MapServer-users mailing list
> > MapServer-users at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> MapServer-users mailing list
> MapServer-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
> ------------------------------
>
> End of MapServer-users Digest, Vol 176, Issue 10
> ************************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20220920/7cef2067/attachment.htm>


More information about the MapServer-users mailing list