Thread: Problems with Initdb in WindosXP

Problems with Initdb in WindosXP

From
"Pedro C. Arias"
Date:
 
Hello, i'm new in postgresql, i install it on windows xp and when i try to initdb they hangup
Next are the secuence ...
 
$ initdb -D /usr/share/postgresql/data
The files belonging to this database system will be owned by user "parias".
This user must also own the server process.
 
creating directory /usr/share/postgresql/data... ok
creating directory /usr/share/postgresql/data/base... ok
creating directory /usr/share/postgresql/data/global... ok
creating directory /usr/share/postgresql/data/pg_xlog... ok
creating directory /usr/share/postgresql/data/pg_clog... ok
creating template1 database in /usr/share/postgresql/data/base/1...
 
I use cgywin, cgyipc1.13.1 and postgresql7.3.2
 
Any idea about this problem ?
 
Thanks
 
Pedro
Rosario-Argentina

Re: Problems with Initdb in WindosXP

From
"scott.marlowe"
Date:
On Fri, 11 Apr 2003, Pedro C. Arias wrote:

>
> Hello, i'm new in postgresql, i install it on windows xp and when i try to initdb they hangup
> Next are the secuence ...
>
> $ initdb -D /usr/share/postgresql/data
> The files belonging to this database system will be owned by user "parias".
> This user must also own the server process.
>
> creating directory /usr/share/postgresql/data... ok
> creating directory /usr/share/postgresql/data/base... ok
> creating directory /usr/share/postgresql/data/global... ok
> creating directory /usr/share/postgresql/data/pg_xlog... ok
> creating directory /usr/share/postgresql/data/pg_clog... ok
> creating template1 database in /usr/share/postgresql/data/base/1...

How long is it hanging here?  It might in fact take a while to create the
new databases.  Is there any activity showing up for postgresql when this
happens, or is it at 0% CPU?


Re: Problems with Initdb in WindosXP

From
Tom Lane
Date:
"Pedro C. Arias" <parias@unr.edu.ar> writes:
> [ initdb hangs up on windows ]

I think the usual cause of this is you didn't start the cygipc daemon.

There is work underway to make Postgres not dependent on cygwin/cygipc,
but for now you gotta jump through those hoops...

            regards, tom lane