7.5 devel initdb failure - Mailing list pgsql-hackers

From Coloring Graph
Subject 7.5 devel initdb failure
Date
Msg-id 20040729043835.23943.qmail@web15207.mail.bjs.yahoo.com
Whole thread Raw
List pgsql-hackers
I am download the 7.5 devel installer version, when I try install in win2000,
I encountered a error, the below is the log:
 
=================================================
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale chinese-simplified.
fixing permissions on existing directory C:/Program Files/PostgreSQL/7.5/data ... ok
creating directory C:/Program Files/PostgreSQL/7.5/data/global ... ok
creating directory C:/Program Files/PostgreSQL/7.5/data/pg_xlog ... ok
creating directory C:/Program Files/PostgreSQL/7.5/data/pg_xlog/archive_status ... ok
creating directory C:/Program Files/PostgreSQL/7.5/data/pg_clog ... ok
creating directory C:/Program Files/PostgreSQL/7.5/data/pg_subtrans ... ok
creating directory C:/Program Files/PostgreSQL/7.5/data/base ... ok
creating directory C:/Program Files/PostgreSQL/7.5/data/base/1 ... ok
creating directory C:/Program Files/PostgreSQL/7.5/data/pg_tblspc ... ok
selecting default max_connections ... 10
selecting default shared_buffers ... 50
creating configuration files ... ok
creating template1 database in C:/Program Files/PostgreSQL/7.5/data/base/1 ... FATAL:  could not select a suitable default timezone
DETAIL:  It appear s that your GMT time zone uses leap seconds. PostgreSQL does not support leap seconds.
delete file - C:\Program Files\PostgreSQL\7.5\data\pg_hba.conf
delete file - C:\Program Files\PostgreSQL\7.5\data\pg_ident.conf
delete file - C:\Program Files\PostgreSQL\7.5\data\PG_VERSION
delete file - C:\Program Files\PostgreSQL\7.5\data\postgresql.conf
child process was terminated by signal 1
initdb: failed
initdb: removing contents of data directory "C:/Program Files/PostgreSQL/7.5/data"
=================================================
 
Note: I am use the local: chinese-simplified, and the encoding: "EUC_CN".
 
After this error, I try set the enviroment variable TZ=CST, and run the installer again, but the there is some exception raisen during the installation, say,
0x0063e45b指令引用的0x00000000内存,该内存不能为"read"
when the exception raisen, the last line of the log file is: 
 
selecting default max_connections ...
 
At the install end, the installer say
------------------------------------------------
Failed to run initdb: 1!
Please see the logfile in "C:\Program files\PostgreSQL\7.5\tmp\initdb.log".
------------------------------------------------



Do You Yahoo!?
150万曲MP3疯狂搜,您闯入音乐殿堂
美女明星应有尽有,搜遍美图、艳图和酷图
100兆邮箱够不够用?雅虎电邮自助扩容!

pgsql-hackers by date:

Previous
From: Alvaro Herrera Munoz
Date:
Subject: Re: try/catch macros for Postgres backend
Next
From: Fabien COELHO
Date:
Subject: Re: try/catch macros for Postgres backend