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

How to stop properly Postmaster NT Service

From: Bonefoy Rémi <rbonefoy(at)kreon(dot)fr>
To: <pgsql-cygwin(at)postgresql(dot)org>
Subject: How to stop properly Postmaster NT Service
Date: 2001-04-30 09:39:08
Message-ID: 000001c0d159$686a5ef0$5a0a0180@pb011 (view raw or flat)
Thread:
Lists: pgsql-cygwin
First of all, i would like to thank you for your very good job in this
mailing list.

I have installed Postgres7.1 as an NT service (NT4 sp6). After a lot of
instalation
problems, now, it runs nicely (i have re-compiled postgres with my own
options
and noticed that ipc-daemon starts better when it is installed via Invoker
instead
of its own invocation --install-as-service).

My problem is that Postgres don't stop correctly when it is installed as a
NT
service.

At the boot time, it find the file /usr/share/postgresql/postmaster.pid and
fails.

When i worked with the 7.03 version, postmaster failed only when it started
before ipc-daemon. Except this case, it started very nicely.

I read the Fred Yankowski discussion on this subject :

http://www.postgresql.uli.it/mhonarc/pgsql-ports/2001-04/msg00138.html

and saw that it was in developpement.

So i'm wondering if removing the file /usr/share/postgresql/postmaster.pid
at the boot
time is a good thing to start Postmaster or if  i should return to the 7.03
version (good
bye outer join !!).

Have you a tip to stop properly postmaster NT service or i have to wait for
a new
version ? (I would proposed myself for developping this function but my C++
is so
bad, like my english :-) )

Rémi Bonefoy



pgsql-cygwin by date

Next:From: Dave PageDate: 2001-04-30 12:39:57
Subject: RE: Initdb and IpcMemoryCreate Errors
Previous:From: Richard ChurchDate: 2001-04-30 01:23:46
Subject: Postgres 7.1-2 repeatedly fails to connect

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