Thread: BUG #3482: Postgresql DB does not start when lanuched via .bat

BUG #3482: Postgresql DB does not start when lanuched via .bat

From
"Nathalie Azzola"
Date:
The following bug has been logged online:

Bug reference:      3482
Logged by:          Nathalie Azzola
Email address:      nahalie.azzola@gmail.com
PostgreSQL version: 8.2.4-1
Operating system:   Windows XP Pro
Description:        Postgresql DB does not start when lanuched via .bat
Details:

Hi,

Steps:
1 - During the installation, I unchecked the option "Start/Use as Windows
Service".
2 - Finished installation without any warning nor error.
3 - Click on the .bat launcher file.
4 - A command window opens and closes 2 seconds after.
5 - Postgresql has not started.

I have been told by someone that this version of Postgresql can only start
through the Windows service.

Regards,
NA

Re: BUG #3482: Postgresql DB does not start when lanuched via .bat

From
"Harald Armin Massa"
Date:
Nathalie,

you should open a command-shell (Run, Execute, cmd)

and start the .bat launcher file from there. Propably you will learn that
the installer did not create a template database when you chose to not
install PostgreSQL as a service. Blease consult the excellent documentation
for "createdb".

Best wishes,

Harald

On 7/24/07, Nathalie Azzola <nahalie.azzola@gmail.com> wrote:
>
>
> The following bug has been logged online:
>
> Bug reference:      3482
> Logged by:          Nathalie Azzola
> Email address:      nahalie.azzola@gmail.com
> PostgreSQL version: 8.2.4-1
> Operating system:   Windows XP Pro
> Description:        Postgresql DB does not start when lanuched via .bat
> Details:
>
> Hi,
>
> Steps:
> 1 - During the installation, I unchecked the option "Start/Use as Windows
> Service".
> 2 - Finished installation without any warning nor error.
> 3 - Click on the .bat launcher file.
> 4 - A command window opens and closes 2 seconds after.
> 5 - Postgresql has not started.
>
> I have been told by someone that this version of Postgresql can only start
> through the Windows service.
>
> Regards,
> NA
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: You can help support the PostgreSQL project by donating at
>
>                 http://www.postgresql.org/about/donate
>



--=20
GHUM Harald Massa
persuadere et programmare
Harald Armin Massa
Spielberger Stra=DFe 49
70435 Stuttgart
0173/9409607
fx 01212-5-13695179
-
EuroPython 2008 will take place in Vilnius, Lithuania - Stay tuned!

Re: BUG #3482: Postgresql DB does not start when lanuched via .bat

From
"Harald Armin Massa"
Date:
adding to my own mail: the command you need to look up in the documentation
will be initdb.exe, not createdb.exe

Best wishes,

Harald

> On 7/24/07, Nathalie Azzola <nahalie.azzola@gmail.com> wrote:
> >
> >
> > The following bug has been logged online:
> >
> > Bug reference:      3482
> > Logged by:          Nathalie Azzola
> > Email address:      nahalie.azzola@gmail.com
> > PostgreSQL version: 8.2.4-1
> > Operating system:   Windows XP Pro
> > Description:        Postgresql DB does not start when lanuched via .bat
> > Details:
> >
> > Hi,
> >
> > Steps:
> > 1 - During the installation, I unchecked the option "Start/Use as
> > Windows
> > Service".
> > 2 - Finished installation without any warning nor error.
> > 3 - Click on the .bat launcher file.
> > 4 - A command window opens and closes 2 seconds after.
> > 5 - Postgresql has not started.
> >
> > I have been told by someone that this version of Postgresql can only
> > start
> > through the Windows service.
> >
> > Regards,
> > NA
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 7: You can help support the PostgreSQL project by donating at
> >
> >                  http://www.postgresql.org/about/donate
> >
>
>
>
> --
> GHUM Harald Massa
> persuadere et programmare
> Harald Armin Massa
> Spielberger Stra=DFe 49
> 70435 Stuttgart
> 0173/9409607
> fx 01212-5-13695179
> -
> EuroPython 2008 will take place in Vilnius, Lithuania - Stay tuned!




--=20
GHUM Harald Massa
persuadere et programmare
Harald Armin Massa
Spielberger Stra=DFe 49
70435 Stuttgart
0173/9409607
fx 01212-5-13695179
-
EuroPython 2008 will take place in Vilnius, Lithuania - Stay tuned!