Thread: 7.5 devel initdb failure
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.
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"
=================================================
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兆邮箱够不够用?雅虎电邮自助扩容!
This sounds very much like the known bug that has been reported several times over the past couple of days on pgsql-hackers-win32. We're working on tracking it down. At the moment, the non-MSI snapshot at http://www.hagander.net/pgsql/win32snap/ has been "downgraded" to the latest known working snapshot.
//Magnus
From: Coloring Graph [mailto:graphcoloring@yahoo.com.cn]
Sent: Thursday, July 29, 2004 6:39 AM
To: pgsql-hackers@postgresql.org
Subject: [HACKERS] 7.5 devel initdb failureI 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兆邮箱够不够用?雅虎电邮自助扩容!