initdb 'no such file or directory' error - Mailing list pgsql-cygwin

From Ian Oxley
Subject initdb 'no such file or directory' error
Date
Msg-id 20050711120312.57E4552882@svr1.postgresql.org
Whole thread Raw
Responses Re: initdb 'no such file or directory' error
List pgsql-cygwin

Hi

 

I am having trouble running initdb on Cygwin/Windows XP Pro: the error I am getting is as follows:

 

$ initdb –D /home/pgdata

 

The files belonging to this database system will be owned by user "postgres".

This user must also own the server process.

 

The database cluster will be initialized with locale C.

 

creating directory /home/pgdata... ok

creating directory /home/pgdata/base... ok

creating directory /home/pgdata/global... ok

creating directory /home/pgdata/pg_xlog... ok

creating directory /home/pgdata/pg_clog... ok

cp: cannot stat ‘/dev/null.exe’: no such file or directory

 

Having searched the lists I cannot seem to find anything relating to this last line: cp: cannot stat ‘/dev/null.exe’: no such file or directory

 

Any help that anyone can provide would be much appreciated.

 

Thanks

 

Ian

pgsql-cygwin by date:

Previous
From: Richard Dunne
Date:
Subject: initialzing a cluster
Next
From: Erik Brunar
Date:
Subject: Re: initdb 'no such file or directory' error