Re: Postgres: Packaging & Server Startup

From: CM J <postgres(dot)newbie(at)gmail(dot)com>
To: rod(at)iol(dot)ie
Cc: Richard Huxton <dev(at)archonet(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Postgres: Packaging & Server Startup
Date: 2009-04-01 14:15:26
Message-ID: d65fd1a40904010715k79908cfcyc4a0b8f553768144@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I did not run the initdb.exe and thats why i could not start the
server.Here is what i did:

1. Executed initdb.exe as follows:

runas /user:postgres "D:\pgsql\bin\initdb.exe -D:\pgsql\data"

2.Started the server by executing the following cmd:

runas /user:postgres "D:\pgsql\bin\pg_ctl.exe -w start -D D:\pgsql\data"

and it started fine.Thanks to Richard and Ray !

On Tue, Mar 31, 2009 at 6:13 PM, Raymond O'Donnell <rod(at)iol(dot)ie> wrote:

> On 31/03/2009 12:14, CM J wrote:
>
> > D:\pgsql\bin\pg_ctl.exe -U postgres -P <mypasswd> -w start -D
> D:\pgsql\data
>
> I wonder if that -P is causing trouble? According to the output of
> --help, there's no -P option with a START operation; however, -p is used
> to specify the path to the postgres binaries.
>
> Just a stab in the dark.
>
> Ray.
>
> ------------------------------------------------------------------
> Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
> rod(at)iol(dot)ie
> Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
> ------------------------------------------------------------------
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Laurent Rahuel 2009-04-01 14:38:10 Statement trigger on delete object OID
Previous Message Justin Funk 2009-04-01 14:14:56 Retain PREPARE or CONNECT TRIGGER