7.5 devel initdb failure

Started by Coloring Graphover 21 years ago2 messages
#1Coloring Graph
graphcoloring@yahoo.com.cn

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 appears 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锟斤拷锟斤拷眩锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷值锟斤拷锟�
锟斤拷女锟斤拷锟斤拷应锟叫撅拷锟叫o拷锟窖憋拷锟斤拷图锟斤拷锟斤拷图锟酵匡拷图
100锟斤拷锟斤拷锟戒够锟斤拷锟斤拷锟矫o拷锟脚伙拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟捷o拷

#2Magnus Hagander
mha@sollentuna.net
In reply to: Coloring Graph (#1)
Re: 7.5 devel initdb failure

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 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&gt;
美女明星应有尽有,搜遍美图、艳图和酷图 <http://image.yisou.com&gt;
100兆邮箱够不够用?雅虎电邮自助扩容! <http://cn.rd.yahoo.com/mail_cn/tag/100m/*http://cn.promo.yahoo.com/minisite/100m/&gt;