initdb failure with Postgres 8.4.4

From: "BRUSSER Michael" <Michael(dot)BRUSSER(at)3ds(dot)com>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: initdb failure with Postgres 8.4.4
Date: 2010-12-09 17:06:34
Message-ID: 29EA9BFEF7E7FC4F988818CA0C5C78C2059327@AG-DCC-MBX03.dsone.3ds.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Initdb fails for me when host machine has no access to the Postgres build location.

LOG: could not open directory .../install/share/timezone": No such file or directory
LOG: could not open directory .../install/share/timezone": No such file or directory
WARNING: could not open directory .../install/share/timezonesets": No such file or directory
HINT: This may indicate an incomplete PostgreSQL installation,
or that the file .../bin.Linux/postgres" has been moved away from its proper location.
FATAL: invalid value for parameter "timezone_abbreviations": "Default"
DEBUG: shmem_exit(1): 0 callbacks to make
DEBUG: proc_exit(1): 0 callbacks to make
DEBUG: exit(1)

The postgres executable is in the proper place.
The truncated paths .../install/share/timezone, etc point to the original build location.

The timezone and other files are available in the local directory:
share % ls -1
conversion_create.sql
information_schema.sql
pg_hba.conf.sample
pg_ident.conf.sample
pg_service.conf.sample
postgres.bki
postgres.description
postgresql.conf.sample
postgres.shdescription
psqlrc.sample
recovery.conf.sample
snowball_create.sql
sql_features.txt
system_views.sql
timezone
timezonesets
tsearch_data

I call initdb with the -L option pointing to that directory, from initdb log I can see that it is indeed being used for certain things -

POSTGRES_BKI=.../share/postgres.bki
POSTGRES_DESCR=.../share/postgres.description
POSTGRES_SHDESCR=.../share/postgres.shdescription
POSTGRESQL_CONF_SAMPLE=.../share/postgresql.conf.sample
PG_HBA_SAMPLE=.../share/pg_hba.conf.sample
PG_IDENT_SAMPLE=.../share/pg_ident.conf.sample

I am wondering why the timezone files cannot be found there as well?
This is quite urgent and any help will be greatly appreciated.
Michael.
.

This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged. If you are not one of the named recipients or have received this email in error, (i) you should not read, disclose, or copy it, (ii) please notify sender of your receipt by reply email and delete this email and all attachments, (iii) Dassault Systemes does not accept or assume any liability or responsibility for any use of or reliance on this email.For other languages, go to http://www.3ds.com/terms/email-disclaimer.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Merlin Moncure 2010-12-09 17:08:17 Re: Solving sudoku using SQL
Previous Message Dimitri Fontaine 2010-12-09 16:56:33 Re: Solving sudoku using SQL