[postgis] Installation on Windows 2000 using Cygwin

Doug Van Auken dougvanauken@worldnet.att.net
Mon Nov 19 00:51:01 2001


---------------------- multipart/alternative attachment
Figured out the problem: I was extracting the binary with WinZip, which des=
troyed the symlink.  I recreated the link using:
$ ln -s /usr/local/pgsql/bin/postgres.exe /usr/local/pgsql/bin/postmaster

see: http://archives2.us.postgresql.org/pgsql-cygwin/2001-05/msg00019.php

Now, I have another problem:

If I type in any command such as \l or "select * from item", I get "less: n=
ot found."

Does anyone know what this is about?=20
  ----- Original Message -----=20
  From: Doug Van Auken=20
  To: postgis@yahoogroups.com=20
  Sent: Sunday, November 18, 2001 2:06 PM
  Subject: [postgis] Installation on Windows 2000 using Cygwin


  Hello,

  I am trying to install Postgresql 7.1.3 on Windows 2000 and Cygwin, using=
 the binaries contained in Cygwin's postgresql 7.1.3 distribution, but I ca=
n't get it running.

  I have the binaries located in c:/cygwin/local/pgsql/bin.=20=20

  After I unpacked the, I did the following:

  I executed the ipc-daemon:
    Administrator@PHOENIX ~
    $ /usr/local/bin/ipc-daemon.exe &
    [1] 1516


  I executed the initdb command:
    Administrator@PHOENIX /bin
    $ /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data

  Then I ran this command:
     /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data

  At this point, I got a message that said: bash: /usr/local/pgsql/bin/post=
master: No such file or directory

  I don't see any program called postmaster in the postgresql archive, so I=
 tried substituting "POSTGRES" in place of "POSTMASTER", as in:
    $ /usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data

  This generated the following response:
    $ /usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data=20
    DEBUG:  database system was shut down at 2001-11-18 11:46:59
    DEBUG:  CheckPoint record at (0, 1563272)
    DEBUG:  Redo record at (0, 1563272); Undo record at (0, 0); Shutdown TR=
UE
    DEBUG:  NextTransactionId: 615; NextOid: 18720=20
    DEBUG:  database system is in production state
    FATAL 1:  Database "Administrator" does not exist in the system catalog=
.
    DEBUG:  shutting down
    DEBUG:  database system is shut down

  All the documentation I have points to a program called postmaster, but I=
 don't see this program located in the distribution.  I also tried download=
ing the distribution from two different locations, but I still do not see t=
he postmaster program.

  Another strange thing is that I tried to create a postgres user in Window=
s 2000, then logged in as that user.  However, when I started Cygwin, I sti=
ll had the "Administrator@PHOENIX", instead of postgres@PHOENIX prompt.

  Thanks,

  Doug Van Auken

        Yahoo! Groups Sponsor=20
=20=20=20=20=20=20=20
=20=20=20=20=20=20=20

  To unsubscribe from this group, send an email to:
  postgis-unsubscribe@yahoogroups.com



  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.=20


---------------------- multipart/alternative attachment
An HTML attachment was scrubbed...
URL: http://lists.refractions.net/pipermail/postgis-users/attachments/20011118/691588a7/attachment.htm

---------------------- multipart/alternative attachment--