[vwnc] Login to postgreSQL on Ubuntu system from windows

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[vwnc] Login to postgreSQL on Ubuntu system from windows

dtrussardi@tiscali.it
Hello All,
 
i have a server 'monviso' with Ubuntu 64bit OS where run postgreSQL "testdb" store database.
 
Now i have VW 7.5 image in the same system and i can connect to repository with:
 
  Interface :     PostfìgreSQLEXDIConnection
  Enviroment:  testdb
  Username:    guest
  Password:    dario
  Table owner : BERN
and all work fine.
 
But if in the enviroment define monviso:5432_testdb the vw erase the error:
 
Unable to connect to ' store database ' because of the following error:
 
    Peer communications error.
 
 
The same problem is on PC with Windows and VW7.4.1.
( This system work fine when login to cincom repository )
 
What i need to define for login to postgreSQL from Windows PC?
 
Any pointers would be greatly appreciated!

Thanks!

Dario

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Login to postgreSQL on Ubuntu system from windows

Stefan Schmiedl
On Fri, 18 Apr 2008 16:47:57 +0200
"Dario Trussardi" <[hidden email]> wrote:

> Hello All,
>
> i have a server 'monviso' with Ubuntu 64bit OS where run postgreSQL "testdb" store database.
>
> But if in the enviroment define monviso:5432_testdb the vw erase the error:
>
> Unable to connect to ' store database ' because of the following error:
>
>     Peer communications error.


In cases like this, take a look at the output of

# netstat -lpn

run as root. The top part displays the listening processes with their
port numbers and IP addresses. From what you describe I'd guess that
you'll find 127.0.0.1:5432 for postmaster (i.e. PostgreSQL server)
and monviso probably resolves to another IP address. Even worse,
it might theoretically only 'listen' to a unix socket which usually only
available on the machine itself.

Change the settings in your postgresql.conf file to use

        listen_addresses = '*'

as a quick and dirty fix.

s.
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc