Re: Connections?

From: Jan Wieck <janwieck(at)yahoo(dot)com>
To: Archibald Zimonyi <archie(at)netg(dot)se>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Connections?
Date: 2001-12-20 13:03:43
Message-ID: 200112201303.fBKD3hp01657@saturn.jw.home
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at)Yahoo(dot)com #

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

In response to

  • Connections? at 2001-12-20 08:56:07 from Archibald Zimonyi

Browse pgsql-sql by date

  From Date Subject
Next Message Robert B. Easter 2001-12-20 13:24:41 Re: controlling process priority
Previous Message Archibald Zimonyi 2001-12-20 08:56:07 Connections?