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: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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