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

Re: FATAL: lock file "usr/local/pgsql/data/postmaster.pid

From: Reini Urban <rurban(at)x-ray(dot)at>
To: tracy ong <tracy_ong(at)rocketmail(dot)com>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: FATAL: lock file "usr/local/pgsql/data/postmaster.pid
Date: 2004-09-14 08:36:45
Message-ID: 4146AD9D.8010208@x-ray.at (view raw or flat)
Thread:
Lists: pgsql-cygwin
tracy ong schrieb:
> I'm currently running PostgreSQL 7.4.5 using cygwin on Windows 2000. 
> When i tried to initialise the db using the following:
...
> "/usr/local/pgsql/data/postmaster.pid" already exists
> HINT: Is another postgres (PID 1164) running in data directory 
> "/usr/local/pgsq
> l/data"?
> 
> initdb: failed
> initdb: removing data directory "/usr/local/pgsql/data"
> [1]+ Done ipc-daemon
> 
> i tried to run ps -a:
> 
> $ ps -a
> PID PPID PGID WINPID TTY UID STIME COMMAND
> 1500 1 1500 1500 ? 500 12:00:11 /usr/local/bin/ipc-daemo
> n
> 1900 1 1900 1900 con 500 12:23:33 /usr/bin/bash
> 700 1900 700 1804 con 500 12:34:49 /usr/bin/ps
> 
> it seems like there's no other process running this DB.
> 
> So I'm not sure where is the problem. Any ideas anyone??

if you are using the 7.4.5 cygwin release you may not use ipc-daemon!
you must use cygserver instead. This is in the readme.
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

In response to

pgsql-cygwin by date

Next:From: Jason TishlerDate: 2004-09-16 11:09:47
Subject: Re: postgres on cygwin
Previous:From: Terry BranscombeDate: 2004-09-13 15:44:25
Subject: Re: [SOLVED] Postmaster service on W2K

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