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

BUG #5896: When server cannot be started, first it says that it couldn't be started and then Server Started

From: "Nacho Mezzadra" <nachomezzadra(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5896: When server cannot be started, first it says that it couldn't be started and then Server Started
Date: 2011-02-21 15:54:48
Message-ID: 201102211554.p1LFsmnJ088295@wwwmaster.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-bugs
The following bug has been logged online:

Bug reference:      5896
Logged by:          Nacho Mezzadra
Email address:      nachomezzadra(at)gmail(dot)com
PostgreSQL version: 8.3.14-1
Operating system:   Red Hat 5.3 Enterprise
Description:        When server cannot be started, first it says that it
couldn't be started and then Server Started
Details: 

When running the command service postgresql-8.3 start, and, lets say that
the port is already in use, and server cannot be started, then a message
comes up saying that the server could not be started (which is correct given
that the specified port was already in use), and right after that a message
says that PostgreSQL started successfully (which is obviously wrong).

Here is the output I get:

[root(at)RHEL53Nachao 40594]# service postgresql-8.3 start
Starting PostgreSQL 8.3: 
waiting for server to
start...............................................................could
not start server
PostgreSQL 8.3 started successfully
[root(at)RHEL53Nachao 40594]#

Responses

pgsql-bugs by date

Next:From: Tom LaneDate: 2011-02-21 18:10:36
Subject: Re: BUG #5798: Some weird error with pl/pgsql procedure
Previous:From: Maxim BogukDate: 2011-02-21 10:58:38
Subject: Re: BUG #5798: Some weird error with pl/pgsql procedure

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