pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Unsworth <dunswort@hotmail.com>
To: pgsql-admin-owner@postgresql.org <pgsql-admin-owner@postgresql.org>
To: pgsql-in-general@postgresql.org <pgsql-in-general@postgresql.org>
To: pgsql-in-general-owner@postgresql.org <pgsql-in-general-owner@postgresql.org>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
To: pgsql-general-owner@postgresql.org <pgsql-general-owner@postgresql.org>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Cannot start the PostgreSQL service
Date: Sat, 30 Jan 2016 16:24:20 +0000
Message-ID: <DUB110-W8187210B20142A57FC0DC8DDDC0@phx.gbl> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Hello.  Sorry if I have sent this to too may mail boxes.  I hope one of them is correct.  Please forward this on if not.
 
This was working until recently.  In Services I right clicked on properties and I think I changed the METHOD in pg_hba.conf from md5 to trust.
I think after making this change the problems started.
 
In Services I cannot start the PostgreSQL Server 8.4 due to Error:1069 The service did not start due to a logon failure.
 
I have tried to set up pg_hba.conf correctly.  Currently it is set to the following - 
 
# TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD
# IPv4 local connections:
host    all         all         127.0.0.1/32          trust
host    all         all         192.168.1.1/5432      trust
# IPv6 local connections:
host    all         all         ::1/128               trust
 
I have tried to set up pgpass.conf correctly as this was empty.  Currently set to the following - 
 
127.0.0.1:5432:*:postgres:dbpass
 
The errors remain.  Also I have been getting the error "could not connect to Server: Connection refused" detailed below - 
 
http://www.pgadmin.org/docs/1.14/connect-error.html
 
I wanted to reload the configuration (before attempting to start the Service again ) and I got the error "Reload command returned an error (1)".
 
I am not sure what to try next.  I have some databases I do not want to lose if I can avoid it.  
 
Any ideas?
 
Thanks, Dave.
 
 
 


 

 		 	   		  =

view thread (8+ messages)  latest in thread

Message-ID: <DUB110-W8187210B20142A57FC0DC8DDDC0@phx.gbl>
Permalink:  ../DUB110-W8187210B20142A57FC0DC8DDDC0@phx.gbl/
Also on:    postgresql.org/message-id/DUB110-W8187210B20142A57FC0DC8DDDC0@phx.gbl

 · 

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-admin@postgresql.org
  Cc: dunswort@hotmail.com, pgsql-admin-owner@postgresql.org, pgsql-in-general@postgresql.org, pgsql-in-general-owner@postgresql.org, pgsql-general@postgresql.org, pgsql-general-owner@postgresql.org
  Subject: Re: Cannot start the PostgreSQL service
  In-Reply-To: <DUB110-W8187210B20142A57FC0DC8DDDC0@phx.gbl>
  References: <DUB110-W8187210B20142A57FC0DC8DDDC0@phx.gbl>

* 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