From: | "Carlo Florendo" <fcarlo(at)ntsp(dot)nec(dot)co(dot)jp> |
---|---|
To: | "Samik Raychaudhuri" <samik(at)cae(dot)wisc(dot)edu>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Install postmaster as service in win2K |
Date: | 2002-02-20 08:44:59 |
Message-ID: | 04bd01c1b9ea$e128fc50$213b1cac@ntsp.nec.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi,
I was trying to install postgres as a service in win2k It was both successful and unsuccessful.
Successful in the sense that I could connect to the server (coolio.ntsp.nec.co.jp) from another machine
by running
"psql -d test -h coolio.ntsp.nec.co.jp"
Unsuccessful in the sense that when I connect locally by
"psql -d test"
I get this error message:
connectDBstart() -- connect() failed: No such file or directory
Is the postmaster running locally
and accepting connections on Unix socket '/tmp/.s.PGSQL.5432'?
I checked the bottom part of the manual file postmaster-start.html and it said this:
---------start quote---------------
Alternatively, you'll get this when attempting Unix-socket communication to a local postmaster:
connectDBstart() -- connect() failed: No such file or directory
Is the postmaster running locally
and accepting connections on Unix socket '/tmp/.s.PGSQL.5432'?
The last line is useful in verifying that the client is trying to connect where it is supposed to. If there is in fact no postmaster
running there, the kernel error message will typically be either Connection refused or No such file or directory, as illustrated.
(It is particularly important to realize that Connection refused in this context does not mean that the postmaster got your
connection request and rejected it -- that case will produce a different message, as shown in Section 4.3.) Other error messages
such as Connection timed out may indicate more fundamental problems, like lack of network connectivity.
-----------end of quote---------------
How am I supposed to connect using TCP sockets and not UNIX sockets. And why did it try to connect using UNIX sockets?
Many Thanks!
Carlo Florendo
NEC Telecoms
fcarlo(at)ntsp(dot)nec(dot)co(dot)jp
----- Original Message -----
From: "Samik Raychaudhuri" <samik(at)cae(dot)wisc(dot)edu>
To: <pgsql-general(at)postgresql(dot)org(dot)pgsql-cygwin@postgresql.org>
Sent: Monday, February 11, 2002 2:53 PM
Subject: Re: [GENERAL] Install postmaster as service in win2K
> Seems I am the only person posting to this thread ;)
> It's time to wrap up...
> I got the things done, by following the instructions line by line as
> given in postgresql-7.1.3 readme.
> A copy of the file is available here:
> http://www.ejip.net/faq/postgresql-7.1.3.README
> And an error correction is here:
> http://archives.postgresql.org/pgsql-cygwin/2001-08/msg00107.php
> Thanks and enjoy installing.
> -Samik
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>
From | Date | Subject | |
---|---|---|---|
Next Message | eric | 2002-02-20 09:07:53 | Re: execute permissions of stored procedures? |
Previous Message | Richard Emberson | 2002-02-20 03:33:47 | Re: Mapping tables to disk drives |