Skip site navigation (1) Skip section navigation (2)

Re: How to restart postmaster after a violent shutdown ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Helge Bahmann <bahmann(at)math(dot)tu-freiberg(dot)de>
Cc: Gaetan GUYODO <gaetan(dot)guyodo(at)lrb(dot)ap-hop-paris(dot)fr>, pgsql-novice(at)postgresql(dot)org
Subject: Re: How to restart postmaster after a violent shutdown ?
Date: 2001-08-01 14:20:01
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
Helge Bahmann <bahmann(at)math(dot)tu-freiberg(dot)de> writes:
> On Wed, 1 Aug 2001, Gaetan GUYODO wrote:
>> a few minutes ago, an electric fail... my computer had a violent shutdown !
> [...]
>> What must I do, just restart postmaster, or clean some files, or do something 
>> else ?

> Manually remove the socket /tmp/.s.PGSQL.5432 and postmaster should start
> again

If that fixes it, next consider updating to a more recent version of
Postgres.  I know 7.1 can figure out for itself to remove an old socket
file; don't recall about 7.0.  7.1 should be more stable in the face of
power losses anyway, because of its use of WAL.

			regards, tom lane

In response to

pgsql-novice by date

Next:From: Phillip J. AllenDate: 2001-08-02 14:01:03
Subject: Managing a pgsql backend on both a Linux & WinNT workstation with a MSAccess Frontend?
Previous:From: Tom LaneDate: 2001-08-01 14:13:42
Subject: Re: Creating DB

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group