Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TEWPU-0002Hx-Pv for pgsql-bugs@postgresql.org; Thu, 20 Sep 2012 02:22:36 +0000 Received: from mail-pb0-f46.google.com ([209.85.160.46]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TEWPT-0007gu-Tt for pgsql-bugs@postgresql.org; Thu, 20 Sep 2012 02:22:36 +0000 Received: by pbbrr13 with SMTP id rr13so3928184pbb.19 for ; Wed, 19 Sep 2012 19:22:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=RvVU7iy5GQfeVb2BN1aZ3SiFAHqzyGQaK76eq5p4w/I=; b=Tg6NU7dFG6jUvOvNnL+xWNB1vTaS/cScksGIDi45u6EXY6kq5cRtA/TWnS1+UMcpCk Kiupj1Z9JrT8hwi3qdUjVWrMdozImxbtMPkWwpOIJwysLu09LwlpeiughCgRfPkMpeV1 Eal6uTotwhFkxnB3cUxaNrYj1AJW78dx4ytnIsNfa6FjYSbfu97SXcGuK0VemvKLBVqm Lxgvflz+6z7wypkym9apMyu/ZMZ0JN2n78HwryBdCzMI9NzzDoWR+D5a3xYR0GNlQrKj jfX9hnj9thOjrATnOgUWkxDkmjbQndUBZvqLpNmjjrkUv8JmMZctD4ybcIV9Pxd5DmGT 9VMw== Received: by 10.68.129.5 with SMTP id ns5mr2343858pbb.103.1348107754136; Wed, 19 Sep 2012 19:22:34 -0700 (PDT) Received: from ayaki.localdomain (office1.postnewspapers.com.au. [150.101.171.128]) by mx.google.com with ESMTPS id ko8sm2724952pbc.40.2012.09.19.19.22.31 (version=SSLv3 cipher=OTHER); Wed, 19 Sep 2012 19:22:33 -0700 (PDT) Message-ID: <505A7DE5.5020707@ringerc.id.au> Date: Thu, 20 Sep 2012 10:22:29 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: pathak.anurag@gmail.com CC: pgsql-bugs@postgresql.org Subject: Re: BUG #7558: Postgres service not starting. References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQmtWHG8gr0luzUKzG8p3fy9e1CNPoXUNyShAkPW6NqzFjoEutqLA/u5vGtddNk1Dsd+3oXU X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201209/222 X-Sequence-Number: 34216 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