delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/01/11/17:02:35

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; q=dns; s=default; b=XQo
mKNh17Zrh5/svi43te0ng2asUxD1xPrnAmhcMd8RuX81fFFo+nhOqoHx22hRmHtT
FNaOU4COImhunINhsN0XcHntI532Xcwk8jW468AZ+0VQs6R+44O/ex6gT18kcw2i
UlLOIeig8sEoNhmH+sNuhM4tFR/NLy7GQF/4ZLhs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; s=default; bh=XlfjfuzEh
cuP0MLM8mWSRbSRQow=; b=U7SsWkrBahBGroQomX1LKnFdO+ODzZU7NZ7KIZG2G
kggN+Jlkqc6AWPzhR0EoKn5Dx5uQgyhfqmEYzBi9pxGFU3EYCFM2iYlk1OACAd6c
yxAOM/Uq6RzXpg18/+gx6hldHrRJJ2QZTpd3xrDmT1df5BsmjU3USeWShUtKr+Hi
gM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_20,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*UA:6.3, H*u:6.3, H*r:192.168.16, super
X-HELO: smtpa.spamarrest.com
Message-ID: <5876AB5E.50206@oliveyou.net>
Date: Wed, 11 Jan 2017 17:02:06 -0500
From: Chloe <starrychloe AT oliveyou DOT net>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: postgresql - Cannot initialize new Postgres database on Cygwin - Super User

When I try to initialize a new database, I get an error:

    $ /usr/sbin/pg_ctl init
    no data was returned by command ""/usr/sbin/initdb.exe" -V"
    The program "initdb" is needed by pg_ctl but was not found in the
    same directory as "/usr/sbin/pg_ctl".
    Check your installation.
   
    $ /usr/sbin/initdb.exe -V
    initdb (PostgreSQL) 9.6.1
   
    $ "/usr/sbin/initdb.exe" -V
    initdb (PostgreSQL) 9.6.1
   
    $ /usr/sbin/initdb.exe -D /usr/share/postgresql
    no data was returned by command ""/usr/sbin/postgres.exe" -V"
    The program "postgres" is needed by initdb but was not found in the
    same directory as "/usr/sbin/initdb".
    Check your installation.
   
    $ /usr/sbin/postgres -V
    postgres (PostgreSQL) 9.6.1

Cygwin 2.6.1, Postgres 9.6.1


http://superuser.com/questions/1166177/cannot-initialize-new-postgres-database-on-cygwin


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

- Raw text -


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