From: Jan Wieck <janwieck@yahoo.com>
To: Archibald Zimonyi <archie@netg.se>
Cc: pgsql-sql@postgresql.org
Subject: Re: Connections?
Date: Thu, 20 Dec 2001 08:03:43 -0500 (EST)
Message-ID: <200112201303.fBKD3hp01657@saturn.jw.home> (raw)
In-Reply-To: <Pine.LNX.4.21.0112200953250.21206-100000@valdez.netg.se>
Archibald Zimonyi wrote:
>
> Hi everyone,
>
> I get the following error:
>
> psql: connectDBStart() -- connect() failed: Connection refused
> Is the postmaster running locally
> and accepting connections on Unix socket '/tmp/.s.PGSQL.5432'?
>
> when I try to connect after having started the postmaster. The
> problem is that unless I make /tmp writeable for everyone
> postgres is not allowed to create the .s.PGSQL.5432 file. Is
> there any way to make postmaster create this file anywhere else?
The /tmp directory is supposed to be writable by everyone,
and should have the sticky bit set. Alot of unix software
expects that, not only Postgres.
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck@Yahoo.com #
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: janwieck@yahoo.com, archie@netg.se
Subject: Re: Connections?
In-Reply-To: <200112201303.fBKD3hp01657@saturn.jw.home>
* 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