initdb/XP/could not locate executable

From: Pete Boysen <pboysen(at)iastate(dot)edu>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: initdb/XP/could not locate executable
Date: 2003-01-08 15:53:25
Message-ID: 5.2.0.9.2.20030108094403.010c2618@pboysen.mail.iastate.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

I am having trouble getting postgres initdb to run on an XP machine under the postgres account. Here are the particulars:

1. cygwin 1.3.18-1
2. cygipc 1.13-2
3. Windows XP-Pro
4. Same configuration installs correctly on my laptop
5. My desktop system is the same except for Novell Login Client (if that makes any difference)
6. initdb runs fine under my desktop administrator account
7. Giving postgres administrator privileges still doesn't fix the problem
8. I have installed this system successfully many times under Win2K.

Any suggestions of where I could look? I have Googled and looked at mail archives and although there are a few reports
of similar problems, I didn't find any solutions.

postgres(at)PBOYSEN ~
$ ipc-daemon&
[1] 2324

postgres(at)PBOYSEN ~
$ initdb -D /usr/share/postgresql/data
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.

Fixing permissions on existing 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... ok
creating configuration files... ok
initializing pg_shadow... LOG: FindExec: invalid binary "/usr/bin/postgres"
FATAL: /usr/bin/postgres: could not locate executable, bailing out...

initdb failed.
[1]+ Done ipc-daemon

Pete Boysen Iowa State University pboysen(at)iastate(dot)edu
(515)294-6663 Ames, Iowa 50011 http://www.public.iastate.edu/~pboysen

Browse pgsql-cygwin by date

  From Date Subject
Next Message King_Henree@yahoo.com 2003-01-08 23:07:48 HowTo TOAD and PostgreSQL???
Previous Message Jason Tishler 2003-01-08 13:29:46 Re: cygipc mirror?