Search Postgresql Archives

Re: initdb error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David Noel <david.i.noel@xxxxxxxxx> writes:
> On 12/13/12, Tom Lane <tgl@xxxxxxxxxxxxx> wrote:
>> You could get more information by using the --noclean switch to prevent
>> removal of the datadir after failure, and then having a look at the
>> debris.  Is there a pg_xlog subdirectory inside /zdb/pgsql/data, and if
>> so what permissions has it got?  Perhaps it is not a directory, but a
>> symlink to somewhere else?

[ nothing obviously wrong there... ]

Well, it looks like there are no easy answers here, so we'll have to
start digging.  Is this a purely stock version of Postgres?  Which
release exactly?  Where did you get it from, or if you built it
yourself, what configuration options did you use?  What's the platform
exactly?

What I'd suggest as a next step is to use strace or local equivalent on
the initdb run, to capture a log of everything it does with pg_xlog.
(And everything else too --- the log is likely to be bulky, so please
don't post it here.  You could send it to me off-list if it makes no
sense to you.)

			regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux