pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Starting postmaster as a service (newbie)
5+ messages / 4 participants
[nested] [flat]

* Starting postmaster as a service (newbie)
@ 2003-06-05 14:12  Vinay <vinay@mdp.net>
  0 siblings, 1 reply; 5+ messages in thread

From: Vinay @ 2003-06-05 14:12 UTC (permalink / raw)
  To: pgsql-admin

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

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Fw: Starting postmaster as a service (newbie)
@ 2003-06-05 14:27  Vinay <vinay@mdp.net>
  0 siblings, 1 reply; 5+ messages in thread

From: Vinay @ 2003-06-05 14:27 UTC (permalink / raw)
  To: pgsql-admin




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

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Fw: Starting postmaster as a service (newbie)
@ 2003-06-06 14:39  Robert Treat <xzilla@users.sourceforge.net>
  parent: Vinay <vinay@mdp.net>
  0 siblings, 0 replies; 5+ messages in thread

From: Robert Treat @ 2003-06-06 14:39 UTC (permalink / raw)
  To: Vinay <vinay@mdp.net>; +Cc: pgsql-admin

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




^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Starting postmaster as a service (newbie)
@ 2003-06-06 14:44  Andrew Sullivan <andrew@libertyrms.info>
  parent: Vinay <vinay@mdp.net>
  0 siblings, 0 replies; 5+ messages in thread

From: Andrew Sullivan @ 2003-06-06 14:44 UTC (permalink / raw)
  To: pgsql-admin

On Thu, Jun 05, 2003 at 10:12:25AM -0400, Vinay wrote:
> figured that it is because I have to do the init db everytime this

I don't know anything about the Cyg Win installation, but you _don't_
need to do initdb every time: that creates a new data area.

A

----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110




^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Starting postmaster as a service (newbie)
@ 2003-06-15 17:18  eladio rodriguez <elarod_ad@hotmail.com>
  0 siblings, 0 replies; 5+ messages in thread

From: eladio rodriguez @ 2003-06-15 17:18 UTC (permalink / raw)
  To: pgsql-admin; +Cc: vinay@mdp.net


greetings.
it verifies that the user of win2000 has supervisor right, you can test, to 
go to the services and to try to initiate it manually, verifies the step 
word.
initdb single runs one you see.
my ingles is poor, is using the translator of google,
hopes helps you.

>From: "Vinay" <vinay@mdp.net>
>To: <pgsql-admin@postgresql.org>
>Subject: [ADMIN] Starting postmaster as a service (newbie)
>Date: Thu, 5 Jun 2003 10:12:25 -0400
>
>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

_________________________________________________________________
Charla con tus amigos en lĂ­nea mediante MSN Messenger: 
http://messenger.yupimsn.com/




^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2003-06-15 17:18 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-06-05 14:12 Starting postmaster as a service (newbie) Vinay <vinay@mdp.net>
2003-06-06 14:44 ` Andrew Sullivan <andrew@libertyrms.info>
2003-06-05 14:27 Fw: Starting postmaster as a service (newbie) Vinay <vinay@mdp.net>
2003-06-06 14:39 ` Robert Treat <xzilla@users.sourceforge.net>
2003-06-15 17:18 Re: Starting postmaster as a service (newbie) eladio rodriguez <elarod_ad@hotmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox