From: Scott Marlowe <smarlowe@qwest.net>
To: Coloring Graph <graphcoloring@yahoo.com.cn>
Cc: pgsql-hackers@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: Re: [HACKERS] connect to 7.5 devel(win32) failed
Date: Fri, 30 Jul 2004 00:29:40 -0600
Message-ID: <1091168980.27159.53.camel@localhost.localdomain> (raw)
In-Reply-To: <20040730060444.30387.qmail@web15601.mail.cnb.yahoo.com>
References: <20040730060444.30387.qmail@web15601.mail.cnb.yahoo.com>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: smarlowe@qwest.net, graphcoloring@yahoo.com.cn, pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] connect to 7.5 devel(win32) failed
In-Reply-To: <1091168980.27159.53.camel@localhost.localdomain>
References: <20040730060444.30387.qmail@web15601.mail.cnb.yahoo.com> <1091168980.27159.53.camel@localhost.localdomain>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox