delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/13/20:41:19

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sat, 13 Mar 2004 20:40:50 -0500
From: "Jason B. Alonso" <jalonso AT mit DOT edu>
To: cygwin AT cygwin DOT com
Subject: WinXP Pro and PostgreSQL
Message-ID: <20040314014050.GA4180@jacobian.MIT.EDU>
Mail-Followup-To: "Jason B. Alonso" <jalonso AT mit DOT edu>, cygwin AT cygwin DOT com
Mime-Version: 1.0
User-Agent: Mutt/1.4.1i
X-IsSubscribed: yes

I know this has appeared several times on this list, but it never seems to be addressed with perfection...

initializing pg_shadow... FATAL:  /usr/bin/postgres: could not locate postgres executable

... is a bug that appears on WinXP Pro but not on Win2K.  The optimal quick fix is: "chown postgres /usr/bin/postgres.exe" as an administrator and try again.

For the hackers out there, notice that "/usr/bin/postgres -D /somedir" fails with the same error when running as user postgres, but only when the -boot option is removed (a feature in the initdb script, which is indicated by the fact that this error does not appear on previous steps of initdb).

Perhaps the quick fix will lead to some sort of resolution, but it most certainly needs to appear in the Cygwin-README for postgresql!

Cheers,
Jason

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019