Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] connect to 7.5 devel(win32) failed

From: "Scott Marlowe" <smarlowe(at)qwest(dot)net>
To: "Coloring Graph" <graphcoloring(at)yahoo(dot)com(dot)cn>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-admin(at)postgresql(dot)org
Subject: Re: [HACKERS] connect to 7.5 devel(win32) failed
Date: 2004-07-30 06:29:40
Message-ID: 1091168980.27159.53.camel@localhost.localdomain (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-hackers
Moving the -admin, please don't reply to -hackers on this.

On Fri, 2004-07-30 at 00:04, Coloring Graph wrote:
> I am has some trouble when connect to 7.5 devel PostgreSQL server, 
> see belows
>  
> my setup:
> =======================
> os=Windows2000
> server version=the non-MSI snapshot at
> http://www.hagander.net/pgsql/win32snap/ has been "downgraded" to the
> latest known working snapshot
> path=c:\postgres\bin;c:\postgres\lib
> pgdata=c:\postgres\data
> TZ=CST
> 
>  
> note:
> ======================
> I has NO modify the configure file generated by initdb, 
> and has NO firewall installed in my server
>  
>  
>  
> cmd to run postmaster(run as postgre user):
> ======================
> postmaster -D "C:/postgres/data"
>  
>  
>  
>  
> result1: some lines of the log(postmaster)
> =======================
> LOG: select() failed in statistics buffer: 在一个非套接字上尝试了一个操作
> LOG: statistics collector process (PID 1876) was terminated by signal
> 1
> result2:
> =======================
> When I use pgAdmin III to connect the PostgreSQL server,
> a error is returned:

Is pgadminIII using local domain sockets or TCP/IP sockets?  Out of the
box pgsql usually just answers local domain sockets, and I don't have a
clue what windows supports in that way, etc...  Since local domain
sockets only work for processes on the same machine, this means that,
after initial install, postgresql is not visible on anything other than
the box it's installed on.

You'll need to edit pg_hba.conf to give other machines permission to
authenticate, as well as postgresql.conf to accept tcpip connections,
then restart the server.

Learning to admin on a pre-beta 1st port of windows could be a bit of
work, so hang in there.  These questions should probably go on -general
or -admin first.


In response to

pgsql-hackers by date

Next:From: Mamta SinghDate: 2004-07-30 07:01:29
Subject: Regarding the logging in Postgres
Previous:From: Coloring GraphDate: 2004-07-30 06:04:44
Subject: connect to 7.5 devel(win32) failed

pgsql-admin by date

Next:From: Saurabh PathakDate: 2004-07-30 09:37:11
Subject: ERROR Urgent
Previous:From: Coloring GraphDate: 2004-07-30 06:04:44
Subject: connect to 7.5 devel(win32) failed

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group