X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3E606DBDD9 for ; Sat, 26 Nov 2005 15:14:06 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 84795-04 for ; Sat, 26 Nov 2005 19:14:05 +0000 (GMT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id AD12FD6ED8 for ; Sat, 26 Nov 2005 15:14:03 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.13.1/8.13.1) with ESMTP id jAQJE25v075702 for ; Sat, 26 Nov 2005 19:14:02 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.13.1/8.13.1/Submit) id jAQJ6dj2072441 for pgsql-admin@postgresql.org; Sat, 26 Nov 2005 19:06:39 GMT (envelope-from news) From: "Qingqing Zhou" X-Newsgroups: pgsql.admin Subject: Re: Problems when initdb on WinXP with SP2. Date: Sat, 26 Nov 2005 14:07:31 -0500 Organization: Hub.Org Networking Services Lines: 35 Message-ID: References: <1f55ed4c0511240202l742ecd41ofe568cafae80b995@mail.gmail.com> X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=-1.269 required=5 tests=[ALL_TRUSTED=-1.44, AWL=-0.105, MAILTO_TO_SPAM_ADDR=0.276] X-Spam-Score: -1.269 X-Spam-Level: X-Archive-Number: 200511/317 X-Sequence-Number: 19690 "Johnson Zhao" 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