Skip site navigation (1) Skip section navigation (2)

Re: Can't find postmaster

From: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
To: james_beetlebrow(at)ednet(dot)co(dot)uk
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Can't find postmaster
Date: 2001-05-03 19:40:22
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-cygwin

On Thu, May 03, 2001 at 06:12:25PM +0100, james_beetlebrow(at)ednet(dot)co(dot)uk wrote:
> I'm trying to run postgres under cygwin. None of the binary distributions of 
> tried contain the postmaster program. What am I doing wrong?

postmaster is a symlink:

    $ tar -tvzf postgresql-7.1-2.tar.gz | fgrep postmaster
    lrw-r--r-- jt/Domain Users       0 2001-04-16 09:00:44 usr/bin/postmaster -> postgres.exe

Are you trying to run it from cmd.exe/  If so, then you must
do something like the following:

    C:\> bash -c "postmaster -D /usr/share/postgresql/data"

Did you extract the binary distributions with something like WinZip?
If so, then the symlink was destroyed.

In bash, you can recreate with:

    $ rm /usr/bin/postmaster
    $ ln -s postgres.exe /usr/bin/postmaster

or in cmd.exe/

    C:\> attrib +s C:\Cygwin\bin\postmaster

assuming that you installed Cygwin in C:\Cygwin.


Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp.               Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA                 WWW:

In response to

pgsql-cygwin by date

Next:From: L├╝dde MirkoDate: 2001-05-04 09:47:08
Subject: newbie: ODBC?
Previous:From: james_beetlebrowDate: 2001-05-03 17:12:25
Subject: Can't find postmaster

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group