Re: 7.5 devel initdb failure

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Coloring Graph" <graphcoloring(at)yahoo(dot)com(dot)cn>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 7.5 devel initdb failure
Date: 2004-07-29 08:48:41
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE34BF64@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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(at)yahoo(dot)com(dot)cn]
Sent: Thursday, July 29, 2004 6:39 AM
To: pgsql-hackers(at)postgresql(dot)org
Subject: [HACKERS] 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.
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疯狂搜,您闯入音乐殿堂 <http://music.yisou.com>
美女明星应有尽有,搜遍美图、艳图和酷图 <http://image.yisou.com>
100兆邮箱够不够用?雅虎电邮自助扩容! <http://cn.rd.yahoo.com/mail_cn/tag/100m/*http://cn.promo.yahoo.com/minisite/100m/>

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2004-07-29 09:24:33 Re: more signals (was: Function to kill backend)
Previous Message Bruce Momjian 2004-07-29 06:10:18 Re: [HACKERS] Point in Time Recovery