Problems with Initdb in WindosXP

Started by Pedro C. Ariasalmost 23 years ago3 messagesgeneral
Jump to latest
#1Pedro C. Arias
parias@unr.edu.ar

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

#2scott.marlowe
scott.marlowe@ihs.com
In reply to: Pedro C. Arias (#1)
Re: Problems with Initdb in WindosXP

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?

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: Pedro C. Arias (#1)
Re: Problems with Initdb in WindosXP

"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