Re: Unhelpful initdb error message - Mailing list pgsql-general

From Thom Brown
Subject Re: Unhelpful initdb error message
Date
Msg-id CAA-aLv6t7V_2XRDrz9+DDrNXd0uK0k2AHCTwawAT0i2EeWqu9Q@mail.gmail.com
Whole thread Raw
In response to Re: Unhelpful initdb error message  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Unhelpful initdb error message  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On 6 March 2012 16:02, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Thom Brown <thom@linux.com> writes:
>> thom@swift:~/Development$ initdb
>> The files belonging to this database system will be owned by user "thom".
>> This user must also own the server process.
>
>> The database cluster will be initialized with locale en_GB.UTF-8.
>> The default database encoding has accordingly been set to UTF8.
>> The default text search configuration will be set to "english".
>
>> fixing permissions on existing directory /home/thom/Development/data ... ok
>> creating subdirectories ... ok
>> selecting default max_connections ... 10
>> selecting default shared_buffers ... 400kB
>> creating configuration files ... ok
>> creating template1 database in /home/thom/Development/data/base/1 ...
>> FATAL:  could not remove old lock file "postmaster.pid": No such file
>> or directory
>> HINT:  The file seems accidentally left over, but it could not be
>> removed. Please remove the file by hand and try again.
>> child process exited with exit code 1
>> initdb: removing contents of data directory "/home/thom/Development/data"
>
> Um ... I assume this is some patched version rather than pristine
> sources?  It's pretty hard to explain why it's falling over like that.

No, I did a "git stash", "git clean -f" and "git pull" before trying to build.

--
Thom

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Unhelpful initdb error message
Next
From: Thom Brown
Date:
Subject: Re: Unhelpful initdb error message