From: Chloe <starrychloe@oliveyou.net>
To: cygwin@cygwin.com
Subject: postgresql - Cannot initialize new Postgres database on Cygwin - Super User
Date: Wed, 11 Jan 2017 22:02:00 -0000 [thread overview]
Message-ID: <5876AB5E.50206@oliveyou.net> (raw)
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
next reply other threads:[~2017-01-11 22:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-11 22:02 Chloe [this message]
2017-01-12 12:10 ` Marco Atzeri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5876AB5E.50206@oliveyou.net \
--to=starrychloe@oliveyou.net \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).