Problems with installation of cygwin/postgreSQL - Mailing list pgsql-cygwin

From doglio@libero.it
Subject Problems with installation of cygwin/postgreSQL
Date
Msg-id I0HU4M$87FFC73FD4893F7DFCCAEE3D2C6965F8@libero.it
Whole thread Raw
List pgsql-cygwin
Problems with installation of cygwin/postgreSQL
-----------------------------------------------

I have installed cygwin today directy from internet
  (http://cygwin.com/  --> "Install Cygwin now'
   with PostgreSQL database).


I have downloaded and installed cygipc-1.14-1.tar.bz2


In the Cygwin shell  :

    ipc-daemon &


    initdb -D /usr/local/pgsql/data -W -E LATIN1


    but i receive tbe error :

    $ initdb -D /usr/local/pgsql/data -W -E LATIN1
    The files belonging to this database system will be owned by user "hhdg".
    This user must also own the server process.

    The database cluster will be initialized with locale C.

    creating directory /usr/local/pgsql/data... ok
    creating directory /usr/local/pgsql/data/base... ok
    creating directory /usr/local/pgsql/data/global... ok
    creating directory /usr/local/pgsql/data/pg_xlog... ok
    creating directory /usr/local/pgsql/data/pg_clog... ok
    selecting default max_connections... Signal 12
    Signal 12
    Signal 12
    Signal 12
    Signal 12
    Signal 12
    10
    selecting default shared_buffers... Signal 12
    Signal 12
    Signal 12
    Signal 12
    Signal 12
    Signal 12
    Signal 12
    Signal 12
    Signal 12
    Signal 12
    Signal 12
    50
    creating configuration files... ok
    creating template1 database in /usr/local/pgsql/data/base/1... FATAL:  lock file
     "/usr/local/pgsql/data/postmaster.pid" already exists
    HINT:  Is another postgres (PID 1036) running in data directory "/usr/local/pgsq
    l/data"?

    initdb: failed
    initdb: removing data directory "/usr/local/pgsql/data"



Can you hekp me ?

Thanks...


Horacio Doglio

doglio@libero.it

Italy.


pgsql-cygwin by date:

Previous
From: Jean-François Trevien
Date:
Subject: problem installing postgresql
Next
From: K-Sudhakaran
Date:
Subject: Problem running psql on win32 - reg.