Обсуждение: Cannot initdb - Windows 98 SE
When I tried to initdb with -D /usr/share/postgres/data and after setting env variable PGDATA, I get the following response. .... and wait for a LONG while... no response. Am I missing something obvious? $ initdb This database system will be initialized with username "keith". This user will own all the data files and must also own the server process. Creating directory /usr/share/postgres/data Creating directory /usr/share/postgres/data/base Creating directory /usr/share/postgres/data/global Creating directory /usr/share/postgres/data/pg_xlog Creating template1 database in /usr/share/postgres/data/base/1 -- Keith Gray Technical Development Manager Heart Consulting Services P/L mailto:keith@heart.com.au
> -----Original Message----- > From: Keith Gray [mailto:keith@heart.com.au] > Sent: 03 October 2001 07:27 > To: Cygwin > Subject: [CYGWIN] Cannot initdb - Windows 98 SE > > > When I tried to initdb with -D /usr/share/postgres/data > and after setting env variable PGDATA, I get the following response. > > .... and wait for a LONG while... no response. > > Am I missing something obvious? Make sure the cygwin IPC daemon is running. Regards, Dave.
> -----Original Message-----
> From: Keith Gray [mailto:keith@heart.com.au]
> Sent: 03 October 2001 09:30
> To: Dave Page
> Subject: Re: [CYGWIN] Cannot initdb - Windows 98 SE
>
>
> Dave Page wrote:
> > Make sure the cygwin IPC daemon is running.
> >
>
> How??
From a bash session on my W2K box:
PC20 $ ipc-daemon &
[1] 568
PC20 $ ps
PID PPID PGID WINPID TTY UID STIME COMMAND
1564 1 1564 1564 0 500 13:56:56 /usr/bin/bash
568 1564 568 1608 0 500 13:57:50
/usr/local/bin/ipc-daemon
1436 1564 1436 868 0 500 13:57:52 /usr/bin/ps
The second process shown by the ps is the ipc-daemon running correctly. Note
that it doesn't ship by default with either Cygwin or PostgreSQL, so you may
need to download it from
http://www.neuro.gatech.edu/users/cwilson/cygutils/V1.1/cygipc/index.html.
See /usr/doc/Cygwin/postgresql-7.1.3.README for more details.
Regards, Dave.