of course scott Because l work in local machine Le mar. 20 sept. 2022 à 21:46, <mapserver-users-requ...@lists.osgeo.org> a écrit :
> Send MapServer-users mailing list submissions to > mapserver-users@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-requ...@lists.osgeo.org > > You can reach the person managing the list at > mapserver-users-ow...@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. Re: MapServer-users Digest, Vol 176, Issue 10 (Boubacar Bah) > 2. Re: MapServer-users Digest, Vol 176, Issue 10 (Scott) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 20 Sep 2022 20:08:41 +0200 > From: Boubacar Bah <bahbouba....@gmail.com> > To: mapserver-users@lists.osgeo.org > Subject: Re: [MapServer-users] MapServer-users Digest, Vol 176, Issue > 10 > Message-ID: > < > calog8kgjbdkpevvqp1dzwksov+pctneuk1sz3n9kjusnhww...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > 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-requ...@lists.osgeo.org> a > ?crit : > > > Send MapServer-users mailing list submissions to > > mapserver-users@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-requ...@lists.osgeo.org > > > > You can reach the person managing the list at > > mapserver-users-ow...@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....@gmail.com> > > To: mapserver-users@lists.osgeo.org > > Subject: [MapServer-users] asking help > > Message-ID: > > < > > calog8kfaf6fxfdc4o9gbs5zes1spfqwlqcf5dczoxoshccf...@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-us...@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....@gmail.com> > > To: mapserver-users@lists.osgeo.org > > Subject: [MapServer-users] (no subject) > > Message-ID: > > < > > calog8kedzpdzxxfdvtzmbzibjwk+nk1j6shvnchim23rgb6...@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-us...@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 <pub...@postholer.com> > > To: mapserver-users@lists.osgeo.org > > Subject: Re: [MapServer-users] asking help > > Message-ID: <36938815-4cc4-bbb3-4159-99981ec21...@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-us...@lists.maptools.org > > > <mailto:tinyows-us...@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@lists.osgeo.org > > > https://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > > > ------------------------------ > > > > Subject: Digest Footer > > > > _______________________________________________ > > MapServer-users mailing list > > MapServer-users@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-0001.htm > > > > ------------------------------ > > Message: 2 > Date: Tue, 20 Sep 2022 12:46:25 -0700 > From: Scott <pub...@postholer.com> > To: mapserver-users@lists.osgeo.org > Subject: Re: [MapServer-users] MapServer-users Digest, Vol 176, Issue > 10 > Message-ID: <d7022a5b-8dbd-ce05-bbea-b26aba5c8...@postholer.com> > Content-Type: text/plain; charset=UTF-8; format=flowed > > I was asking if they were both on the same server, that is, they have > the same ip address (127.0.0.1). MapServer/tinyows are on the same > server as PostGIS. > > On 9/20/22 11:08, Boubacar Bah wrote: > > 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 > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > MapServer-users mailing list > MapServer-users@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users > > > ------------------------------ > > End of MapServer-users Digest, Vol 176, Issue 11 > ************************************************ >
_______________________________________________ MapServer-users mailing list MapServer-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users