pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <ringerc@ringerc.id.au>
To: pathak.anurag@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7558: Postgres service not starting.
Date: Thu, 20 Sep 2012 10:22:29 +0800
Message-ID: <505A7DE5.5020707@ringerc.id.au> (raw)
In-Reply-To: <E1TEKD9-0000l5-7F@wrigleys.postgresql.org>
References: <E1TEKD9-0000l5-7F@wrigleys.postgresql.org>

On 09/19/2012 09:21 PM, pathak.anurag@gmail.com wrote:
> The following bug has been logged on the website:
>
> Bug reference:      7558
> Logged by:          Anurag
> Email address:      pathak.anurag@gmail.com
> PostgreSQL version: 8.4.13
> Operating system:   Microsoft 2008 Server
> Description:
>
> Hello,
>
> I installed Postgres and tried by populating SHP files form PostGIS pulgin.
> When I tried to update pg_hba.conf for adding a CIDR addrs. When I connected
> again It shows following error-
> ERROR  : Error connecting to the server: FATAL:  could not load pg_hba.conf
>
> after that when I am trying to connect the database by double clicking, it
> is showing service is not present, start the service first.

There is no sign that this is a bug. Try asking on the pgsql-general 
mailing list or Stack Overflow. Include more detail, in particular check 
your `pg_log` folder and get the most recent log messages. Also check 
the Windows event viewer for service messages related to PostgreSQL.

Guesses:

- Your text editor still has pg_hba.conf open. In Windows that locks the 
file so PostgreSQL can't open it.

- You changed the file permissions when you replaced/edited pg_hba.conf, 
so PostgreSQL can't open it now.

- You edited pg_hba.conf incorrectly, creating syntax errors.

Please do not reply to me, post on -general or SO.

--
Craig Ringer





view thread (2+ messages)

Message-ID: <505A7DE5.5020707@ringerc.id.au>
Permalink:  ../505A7DE5.5020707@ringerc.id.au/
Also on:    postgresql.org/message-id/505A7DE5.5020707@ringerc.id.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: ringerc@ringerc.id.au, pathak.anurag@gmail.com
  Subject: Re: BUG #7558: Postgres service not starting.
  In-Reply-To: <505A7DE5.5020707@ringerc.id.au>
  References: <E1TEKD9-0000l5-7F@wrigleys.postgresql.org> <505A7DE5.5020707@ringerc.id.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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