Re: could not create lock file postmaster.pid: No such file or directory, but file does exist

From: Rob Goethals / SNP <Rob(dot)Goethals(at)snp(dot)nl>
To: 'Albe Laurenz' <laurenz(dot)albe(at)wien(dot)gv(dot)at>
Cc: "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: could not create lock file postmaster.pid: No such file or directory, but file does exist
Date: 2014-02-17 15:42:17
Message-ID: ED8C42FD028EEC448A5E8B5D3DD4C6C601B18D105621@2003exchange.snp.pit.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

OK, it is clear to me that I didn't make the best choices setting up this database. :(
I am happy I found this list because I am learning a lot in a very short period of time. :) Thank you all for your tips and comments.

I will definitely move the database to a Linux-system and set fsync to on. I hope this will give me a more stable environment. Furthermore I'll dive into the whole database-backup subject so next time I'll have something to restore if things go wrong.

Rob Goethals.

> -----Oorspronkelijk bericht-----
> Van: Albe Laurenz [mailto:laurenz(dot)albe(at)wien(dot)gv(dot)at]
> Verzonden: maandag 17 februari 2014 16:20
> Aan: Rob Goethals
> CC: 'pgsql-general(at)postgresql(dot)org'
> Onderwerp: RE: could not create lock file postmaster.pid: No such file or
> directory, but file does exist
>
> Rob Goethals wrote:
> > OK, clear. I hereby send this reply also to the list.
>
> Cool.
>
> >> Interesting.
> >> How did you get PostgreSQL into this state? Did you set fsync=off or
> similar?
> >> Which storage did you put pg_xlog on?
>
> > 2014-02-15 00:49:04 CET LOG: WAL writer process (PID 1127) was
> > terminated by signal 6: Aborted
>
> Ouch.
>
> > Furthermore I checked my conf-file and my fsync is indeed set to off.
>
> Well, that is one reason why crash recovery is not working.
>
> > I mounted a directory on a NTFS network-disk (because of the available
> > size and considering the amount of OSM-data is pretty big). This is where I
> put all my database data, so also the pg_xlog.
>
> Double ouch.
> CIFS is not a supported file system.
>
> At least that explains your problems.
> Try with a local file system or NFS with hard foreground mount.
>
> Yours,
> Laurenz Albe

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Bruce Momjian 2014-02-17 17:54:02 Re: Can't upgrade a DB from 8.4 to 9.3 with pg_uprade: pg 9 not started
Previous Message Albe Laurenz 2014-02-17 15:20:24 Re: could not create lock file postmaster.pid: No such file or directory, but file does exist

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Hastie 2014-02-17 16:24:31 Re: Database connection Pooling using JNDI
Previous Message Rémi Cura 2014-02-17 15:25:05 Re: Toast and slice of toast