X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 3C154EFEC0 for ; Fri, 6 Jun 2003 14:39:14 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 17367-07 for ; Fri, 6 Jun 2003 14:39:12 +0000 (GMT) Received: from localhost.localdomain (unknown [65.217.53.66]) by svr1.postgresql.org (Postfix) with ESMTP id 96D8FEFEAD for ; Fri, 6 Jun 2003 14:39:12 +0000 (GMT) Received: from thorn.mmrd.com (thorn.mmrd.com [172.25.10.100]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id h56FVHM3002531; Fri, 6 Jun 2003 11:31:17 -0400 Received: from gnvex001.mmrd.com (gnvex001.mmrd.com [192.168.3.55]) by thorn.mmrd.com (8.11.6/8.11.6) with ESMTP id h56EdCL12884; Fri, 6 Jun 2003 10:39:12 -0400 Received: from camel.mmrd.com ([172.25.5.213]) by gnvex001.mmrd.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id M1ZDHTBA; Fri, 6 Jun 2003 10:39:09 -0400 Subject: Re: Fw: Starting postmaster as a service (newbie) From: Robert Treat To: Vinay Cc: pgsql-admin@postgresql.org In-Reply-To: <008d01c32b6e$a68692a0$157a40c0@vinay> References: <008d01c32b6e$a68692a0$157a40c0@vinay> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 06 Jun 2003 10:39:11 -0400 Message-Id: <1054910351.29943.323.camel@camel> Mime-Version: 1.0 X-Archive-Number: 200306/62 X-Sequence-Number: 9053 You should not have to run initdb after each restart, check out the following link on setting up cygwin as a service: http://www.tishler.net/jason/software/postgresql/postgresql-7.3.2.README future questions should be posted to pgsql-cygwin Robert Treat On Thu, 2003-06-05 at 10:27, Vinay wrote: > > > Hi, > I have got a peculiar problem with my postmaster.I have installed > cyg-ipc and postmaster as services on Windows 2000. > But when I restart the system , the postmaster doesn't start.I figured > that it is because I have to do the init db everytime this happens. But > I have to empty the data directory to do initdb in which case I will > lose the created tables. > > Is there any solution for this problem, so that I need not have to run > initdb and delete the data directory every time the postmaster fails to > start. > > Thank you in advance, > help appreciated > > Vinay -- Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL