Re: initdb problems

From: "Mike G(dot)" <mike(at)thegodshalls(dot)com>
To: Michael Mallete <mrmallete(at)gmail(dot)com>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: initdb problems
Date: 2004-09-24 05:16:43
Message-ID: 20040924051643.GA20889@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

It sounds like you either executed initdb earlier or the tests that run after compling did shutdown the database before exiting. You can try and delete that pid file. If Windows blocks you because it is in use you probably should reboot.

On Mon, Sep 20, 2004 at 07:59:51PM +0800, Michael Mallete wrote:
> good day!
>
> i'm having problems with running initdb. my platform is windows 2000
> professional. just installed cygwin 1.5.11-1. i was able to compile
> and install postgresql 7.4.5 from source with simply doing
> ./configure, make, and make install. then i ran "/usr/sbin/cygserver
> &." finally, i ran "initdb -D /usr/local/pgsql/data." but it ends with
> this:
>
> FATAL: lock file "/usr/local/pgsql/data/postmaster.pid" already exists
> HINT: Is another postgres (PID 1884) running in data directory
> "/usr/local/pgsql/data"?
>
>
> thanx in advance! :)
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Mike G. 2004-09-24 05:19:12 Re: PostgreSQL_7.5.4-1 on Windows-XP
Previous Message Klint Gore 2004-09-23 00:24:15 Re: 7.4.5 stopped working? [solved]