initdb failure with Postgres 8.4.4 - Mailing list pgsql-hackers

From BRUSSER Michael
Subject initdb failure with Postgres 8.4.4
Date
Msg-id 29EA9BFEF7E7FC4F988818CA0C5C78C2059327@AG-DCC-MBX03.dsone.3ds.com
Whole thread
Responses Re: initdb failure with Postgres 8.4.4
List 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, Click Here

pgsql-hackers by date:

Previous
From: Tim Bunce
Date:
Subject: Re: Optimize PL/Perl function argument passing [PATCH]
Next
From: James Cloos
Date:
Subject: Re: XLog vs SSD [Was: Re: random write in xlog?]