From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 123072 invoked by alias); 11 Jan 2017 22:02:22 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 123062 invoked by uid 89); 11 Jan 2017 22:02:21 -0000 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 Received: from smtpa.spamarrest.com (HELO smtpa.spamarrest.com) (74.86.112.12) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 11 Jan 2017 22:02:11 +0000 Received: from [192.168.16.105] (localhost.localdomain [127.0.0.1]) (Authenticated sender: starrychloe) by smtpa.spamarrest.com (Postfix) with ESMTPA id 16F19E6C7FD for ; Wed, 11 Jan 2017 16:02:06 -0600 (CST) Message-ID: <5876AB5E.50206@oliveyou.net> Date: Wed, 11 Jan 2017 22:02:00 -0000 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@cygwin.com Subject: postgresql - Cannot initialize new Postgres database on Cygwin - Super User Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2017-01/txt/msg00102.txt.bz2 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