Re: BUG #4785: Installation fails

From: goldenhawking <goldenhawking(at)hotmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4785: Installation fails
Date: 2009-07-13 04:54:20
Message-ID: 24456184.post@talk.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


En, I have that damm problem sloved.
Are you using a Non-English Version of Windows? for example, JPN, CHS?
If you install your PSQL in an Asian-language windows, be sure that "local"
settings should be setted manualy to a supported language, English-USA is
good.

this is the errmsg when you're using default local settings:

Running the post-installation/upgrade actions:
Delete the temporary scripts directory...
Write the base directory to the ini file...
Write the version number to the ini file...
Initialising the database cluster (this may take a few minutes)...
Executing cscript
Script exit code: 0

Script output:

Ensuring we can write to the data directory (using cacls):
数据无效。

The files belonging to this database system will be owned by user
"GoldenHawk".
This user must also own the server process.

The database cluster will be initialized with locale Chinese_People's
Republic of China.936.
initdb: could not find suitable text search configuration for locale
Chinese_People's Republic of China.936
The default text search configuration will be set to "simple".

fixing permissions on existing directory D:/PSQLDATA ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 32MB
creating configuration files ... ok
creating template1 database in D:/PSQLDATA/base/1 ... ok
initializing pg_authid ... FATAL: database locale is incompatible with
operating system
DETAIL: The database was initialized with LC_COLLATE "Chinese_Peoples
Republic of China.936", which is not recognized by setlocale().
HINT: Recreate the database with another locale or install the missing
locale.
child process exited with exit code 1
initdb: removing contents of data directory "D:/PSQLDATA"

Granting service account access to the data directory (using cacls):
处理的目录: D:\PSQLDATA

initcluster.vbs ran to completion

Script stderr:

Configuring database server startup...
Executing cscript
Script exit code: 0

Script output:
startupcfg.vbs ran to completion

Script stderr:
--
View this message in context: http://www.nabble.com/BUG--4785%3A-Installation-fails-tp23323059p24456184.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2009-07-13 05:02:40 Re: BUG #4917: NULLs Last as a Global Option
Previous Message MIchael Blake 2009-07-12 23:48:30 BUG #4917: NULLs Last as a Global Option