Hi All, Is the PostgreSQL server running on dev.openstreetmap.de? The Osmosis Continuous Integration is failing because it can't connect to the server. The full error message is here: http://dev.openstreetmap.de:23457/hudson/job/osmosis-SNAPSHOT-ant/35/testRep... ? The relevant text is: org.openstreetmap.osmosis.core.OsmosisRuntimeException: Unable to establish a database connection. at org.openstreetmap.osmosis.core.apidb.common.DatabaseContext.getPostgresConnection(DatabaseContext.java:113) at org.openstreetmap.osmosis.core.apidb.common.DatabaseContext.getConnection(DatabaseContext.java:82) at org.openstreetmap.osmosis.core.apidb.common.DatabaseContext.executeQuery(DatabaseContext.java:420) at org.openstreetmap.osmosis.core.apidb.v0_6.impl.SchemaVersionValidator.validateDBVersion(SchemaVersionValidator.java:82) at org.openstreetmap.osmosis.core.apidb.v0_6.impl.SchemaVersionValidator.validateVersion(SchemaVersionValidator.java:55) at org.openstreetmap.osmosis.core.apidb.v0_6.ApidbTruncator.run(ApidbTruncator.java:56) at java.lang.Thread.run(Thread.java:636) Caused by: org.postgresql.util.PSQLException: FATAL: missing or erroneous pg_hba.conf file Is this a known issue? Brett PS: For everybody's amusement, here is a Google Translate German "equivalent" ;-) Ist der PostgreSQL Server läuft auf dev.openstreetmap.de? Die Osmose Continuous Integration versagt, weil sie nicht auf dem Server verbinden. Die vollständige Fehlermeldung hier: http://dev.openstreetmap.de:23457/hudson/job/osmosis-SNAPSHOT-ant/35/testRep... ?
2010/1/11 Tobias Wendorff <tobias.wendorff@uni-dortmund.de>
Am Mo, 11.01.2010, 12:26 schrieb Brett Henderson:
Is the PostgreSQL server running on dev.openstreetmap.de?
Yep, it works.
Just for the note: What countries are you importing?
Osmosis unit tests are trying to connect to the osmosisci_api06 database as part of their execution. I can connect using "psql osmosisci_api06", but it fails if I try "psql osmosisci_api06 -h localhost". In other words, I can connect using a unix-domain socket, but not via a TCP/IP socket. The error says that the pg_hba.conf file is either missing or erroneous. Perhaps a dodgy edit has been made to it? I can't use a unix-domain socket because they are not supported by Java. Brett
Brett Henderson <brett@bretth.com> wrote:
I can connect using "psql osmosisci_api06", but it fails if I try "psql osmosisci_api06 -h localhost". In other words, I can connect using a unix-domain socket, but not via a TCP/IP socket.
I can't use a unix-domain socket because they are not supported by Java.
Sorry. Looks like I messed up something while adding the www-data access for Mitja. Should work again now. Sven -- This APT has Super Cow Powers. (apt-get --help on debian woody) /me is giggls@ircnet, http://sven.gegg.us/ on the Web
2010/1/12 Sven Geggus <lists@fuchsschwanzdomain.de>
Brett Henderson <brett@bretth.com> wrote:
I can connect using "psql osmosisci_api06", but it fails if I try "psql osmosisci_api06 -h localhost". In other words, I can connect using a unix-domain socket, but not via a TCP/IP socket.
I can't use a unix-domain socket because they are not supported by Java.
Sorry. Looks like I messed up something while adding the www-data access for Mitja.
Should work again now.
Yes, it looks good now. Thanks. Brett
On Tue, Jan 12, 2010 at 10:41 AM, Tobias Wendorff < tobias.wendorff@uni-dortmund.de> wrote:
Am Mo, 11.01.2010, 23:03 schrieb Brett Henderson:
Should work again now.
Yes, it looks good now. Thanks.
Brett, which countries are you importing?
Um, didn't I reply to this question last night ;-) I'm not importing anything. I'm using the osmosisci_api06 schema for Osmosis unit tests. The unit tests work with a very small set of data that they create and drop during their execution. You can see the results of the build here: http://dev.openstreetmap.de:23457/hudson/job/osmosis-SNAPSHOT-ant/ Brett
On Mon, 11 Jan 2010 22:26:32 +1100, Brett Henderson <brett@bretth.com> wrote:
Is the PostgreSQL server running on dev.openstreetmap.de?
The Osmosis Continuous Integration is failing because it can't connect to the server.
osmosis-0.32 throws the same error. I can still use PostGIS as usual.
participants (4)
-
Brett Henderson -
Mitja Kleider -
Sven Geggus -
Tobias Wendorff