pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedConnections?
2+ messages / 2 participants
[nested] [flat]
* Connections?
@ 2001-12-20 08:56 Archibald Zimonyi <archie@netg.se>
2001-12-20 13:03 ` Re: Connections? Jan Wieck <janwieck@yahoo.com>
0 siblings, 1 reply; 2+ messages in thread
From: Archibald Zimonyi @ 2001-12-20 08:56 UTC (permalink / raw)
To: pgsql-sql
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?
Archie
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Connections?
2001-12-20 08:56 Connections? Archibald Zimonyi <archie@netg.se>
@ 2001-12-20 13:03 ` Jan Wieck <janwieck@yahoo.com>
0 siblings, 0 replies; 2+ messages in thread
From: Jan Wieck @ 2001-12-20 13:03 UTC (permalink / raw)
To: Archibald Zimonyi <archie@netg.se>; +Cc: 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@Yahoo.com #
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2001-12-20 13:03 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-12-20 08:56 Connections? Archibald Zimonyi <archie@netg.se>
2001-12-20 13:03 ` Jan Wieck <janwieck@yahoo.com>
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