Re: Can't find postmaster

Поиск
Список
Период
Сортировка
От Jason Tishler
Тема Re: Can't find postmaster
Дата
Msg-id 20010503154022.B440@dothill.com
обсуждение исходный текст
Ответ на Can't find postmaster  (<james_beetlebrow@ednet.co.uk>)
Список pgsql-cygwin
James,

On Thu, May 03, 2001 at 06:12:25PM +0100, james_beetlebrow@ednet.co.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/command.com?  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/command.com:

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

assuming that you installed Cygwin in C:\Cygwin.

Jason

--
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.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

В списке pgsql-cygwin по дате отправления:

Предыдущее
От:
Дата:
Сообщение: Can't find postmaster
Следующее
От: Lüdde Mirko
Дата:
Сообщение: newbie: ODBC?