Re: Unhelpful initdb error message

From: Thom Brown <thom(at)linux(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PGSQL Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Unhelpful initdb error message
Date: 2012-03-06 16:05:55
Message-ID: CAA-aLv6t7V_2XRDrz9+DDrNXd0uK0k2AHCTwawAT0i2EeWqu9Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 6 March 2012 16:02, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Thom Brown <thom(at)linux(dot)com> writes:
>> thom(at)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thom Brown 2012-03-06 16:11:20 Re: Unhelpful initdb error message
Previous Message Adrian Klaver 2012-03-06 16:04:54 Re: Unhelpful initdb error message