Skip site navigation (1) Skip section navigation (2)

Re: Problems when initdb on WinXP with SP2.

From: "Qingqing Zhou" <zhouqq(at)cs(dot)toronto(dot)edu>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Problems when initdb on WinXP with SP2.
Date: 2005-11-26 19:07:31
Message-ID: dmabnu$26nk$1@news.hub.org (view raw or flat)
Thread:
Lists: pgsql-admin
"Johnson Zhao" <tianqi1981(at)gmail(dot)com> wrote
>
> run the windows cmd by:
>
> runas /user:postgres cmd
>
> and run the initdb program like:
>
> initdb --locale=C --username=postgres -W -A md5 -E UNICODE -D ../data
>
> then it says:
>
> creating directory ../data/ ... ok
> creating directory ../data/global ... ok
> creating directory ../data/pg_xlog ... ok
> creating directory ../data/pg_xlog/archive_status ... ok
> creating directory ../data/pg_clog ... ok
> creating directory ../data/pg_subtrans ... ok
> creating directory ../data/base ... ok
> creating directory ../data/base/1 ... ok
> creating directory ../data/pg_tblspc ... ok
> selecting default max_connections  ....
>
> and the command window stayed there!
>

I can't reproduce your problem. Did you set some odd permission to user 
"postgres"? Let's simplify it first, is there any problem if you login to 
windows as "postgres" first, then do your initdb?

Regards,
Qingqing 



In response to

pgsql-admin by date

Next:From: Thomas HaroldDate: 2005-11-27 04:42:55
Subject: Re: Problems when initdb on WinXP with SP2.
Previous:From: hubert depesz lubaczewskiDate: 2005-11-26 10:39:22
Subject: Re: pgstattuple, vacuum and free_space

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group