Re: BUG #13839: command line restart server fail

From: Ali Raza <alirazaidi(at)hotmail(dot)com>
To: "Shulgin, Oleksandr" <oleksandr(dot)shulgin(at)zalando(dot)de>
Cc: Pg Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #13839: command line restart server fail
Date: 2015-12-30 18:20:30
Message-ID: COL128-W898C2B810646F30ED6BD83C7FD0@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Dear Alex,
Thanks for your positive response.
This happens when localhost is used in pg_hba.conf and stated command stuck at last line until I press enter.

When I see windows services postgres service is stopped.Further more trying to connect with pgAdmin I receive connectivity error.

Best Regards,
Ali Raza

From: oleksandr(dot)shulgin(at)zalando(dot)de
Date: Wed, 30 Dec 2015 15:02:22 +0100
Subject: Re: [BUGS] BUG #13839: command line restart server fail
To: alirazaidi(at)hotmail(dot)com
CC: pgsql-bugs(at)postgresql(dot)org

On Wed, Dec 30, 2015 at 12:48 PM, <alirazaidi(at)hotmail(dot)com> wrote:
The following bug has been logged on the website:

Bug reference: 13839

Logged by: syed Ali Raza Zaidi

Email address: alirazaidi(at)hotmail(dot)com

PostgreSQL version: 9.5rc1

Operating system: Windows 7

Description:

When I execute following command on windows 7 with administarator option i.e

run CMD as administartor.

Postgres service fail to start.

Kindly advise to resolve this issue.

C:\>pg_ctl restart -D "C:\Program Files\PostgreSQL\9.5\data"

waiting for server to shut down.... done

server stopped

server starting

C:\>2015-12-30 16:44:39 PKT LOG: redirecting log output to logging

collector pr

ocess

2015-12-30 16:44:39 PKT HINT: Future log output will appear in directory

"pg_lo

g".

Hello,
I'm not sure what makes you believe the service has failed to start, at least the output above suggests otherwise. Did you check the contents of "...\data\pg_log" directory?
--Alex

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Marek.Petr 2015-12-30 20:20:14 Re: BUG #13822: Slave terminated - WAL contains references to invalid page
Previous Message Greg Clough 2015-12-30 16:39:10 Re: BUG #13770: Extending recovery_min_apply_delay on Standby causes it to be unavailable for a while