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

Problems with installation of cygwin/postgreSQL

From: "doglio(at)libero(dot)it" <doglio(at)libero(dot)it>
To: "pgsql-cygwin" <pgsql-cygwin(at)postgresql(dot)org>
Subject: Problems with installation of cygwin/postgreSQL
Date: 2004-07-07 18:02:46
Message-ID: I0HU4M$87FFC73FD4893F7DFCCAEE3D2C6965F8@libero.it (view raw or flat)
Thread:
Lists: 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(at)libero(dot)it

Italy.


pgsql-cygwin by date

Next:From: mmehmoodDate: 2004-07-08 00:25:29
Subject: Cygwin 'initdb failed'
Previous:From: Jean-Fran├žois TrevienDate: 2004-07-06 18:06:16
Subject: problem installing postgresql

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