pg.ddx.io pgsql-bugs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
error reading c:\Program Files\PostgreSQL\8.3\data\postgresql.conf during installation 2+ messages / 2 participants [nested] [flat]
* error reading c:\Program Files\PostgreSQL\8.3\data\postgresql.conf during installation @ 2009-01-22 08:02 Kent Tong <kent@cpttm.org.mo> 0 siblings, 0 replies; 2+ messages in thread From: Kent Tong @ 2009-01-22 08:02 UTC (permalink / raw) To: pgsql-bugs Package: One click installer of PostgreSQL 8.3 Env: Windows XP SP2 (Traditional Chinese) What's wrong: It says error reading c:\Program Files\PostgreSQL\8.3\data\postgresql.conf during installation. That data directory is empty. Obviously, you can't start the server later. Fix: This error is caused by the failure of initdb in creating a DB. It fails probably due to the locale. To fix the problem: runas /user:postgres cmd c: cd "\Program Files\PostgreSQL\8.3\bin" initdb -D "c:\Program Files\PostgreSQL\8.3\data" -E UTF8 --locale=English It is very important that you specify the encoding and the locale. Otherwise it will fail and report that the locale is invalid. -- Kent Tong SME accounting software package for just MOP30. See http://www.cpttm.org.mo/index_c.php?pg=cpttm/department/is/ispu/accsys/index.htm for more. ^ permalink raw reply [nested|flat] 2+ messages in thread
* error reading c:\Program Files\PostgreSQL\8.3\data\postgresql.conf during installation @ 2013-01-21 04:40 Giannis Mavropoulos <gmavropoulos85@gmail.com> 0 siblings, 0 replies; 2+ messages in thread From: Giannis Mavropoulos @ 2013-01-21 04:40 UTC (permalink / raw) To: pgsql-bugs Installer 9.0 for Vista32 error reading c:\Program Files\PostgreSQL\8.3\data\postgresql.conf during installation tried this solution: http://www.postgresql.org/message-id/49782810.9050309@cpttm.org.mo Message for access denied Ran on Command Prompts as admin. Pls help ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2013-01-21 04:40 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2009-01-22 08:02 error reading c:\Program Files\PostgreSQL\8.3\data\postgresql.conf during installation Kent Tong <kent@cpttm.org.mo> 2013-01-21 04:40 error reading c:\Program Files\PostgreSQL\8.3\data\postgresql.conf during installation Giannis Mavropoulos <gmavropoulos85@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox