pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Qingqing Zhou <zhouqq@cs.toronto.edu>
To: pgsql-admin@postgresql.org
Subject: Re: Problems when initdb on WinXP with SP2.
Date: Sat, 26 Nov 2005 14:07:31 -0500
Message-ID: <dmabnu$26nk$1@news.hub.org> (raw)
References: <1f55ed4c0511240202l742ecd41ofe568cafae80b995@mail.gmail.com>


"Johnson Zhao" <tianqi1981@gmail.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 





view thread (5+ messages)  latest in thread

Message-ID: <dmabnu$26nk$1@news.hub.org>
Permalink:  ../dmabnu$26nk$1@news.hub.org/
Also on:    postgresql.org/message-id/dmabnu$26nk$1@news.hub.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: zhouqq@cs.toronto.edu
  Subject: Re: Problems when initdb on WinXP with SP2.
  In-Reply-To: <dmabnu$26nk$1@news.hub.org>
  References: <1f55ed4c0511240202l742ecd41ofe568cafae80b995@mail.gmail.com> <dmabnu$26nk$1@news.hub.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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