Re: 9.3 debian install setup failure

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: "john(dot)tiger" <john(dot)tigernassau(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 9.3 debian install setup failure
Date: 2014-03-22 09:30:08
Message-ID: 20140322093007.GB12234@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Mar 21, 2014 at 05:47:54PM -0600, john.tiger wrote:
> 9.3 install on debian jessie 64amd

Firstly, you did read: /usr/share/doc/postgresql-9.3/README.Debian.gz
right?

> sudo -u postgres psql => worked
> alter user postgres with password 'password' => alter role

Why on earth would you want to do that. The default is peer, so you
don't need a password to login as the postgres user.

> su - postgress
> enter password => authentication failure
>
> hba.conf edited to allow "trust" to local - shouldn't this be set
> up as standard default ?

Did you not read the comment above it saying you should change that if
you expect the default maintainence scripts to keep working?

> still authentication failure (after rebooting)
>
> now sudo -u postgres psql => could not connect - is server running
> - shouldn't install set up server to be booted on start up ?

Check if the server is actually running with ps. Maybe you typoed the
config file?

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> He who writes carelessly confesses thereby at the very outset that he does
> not attach much importance to his own thoughts.
-- Arthur Schopenhauer

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ilya Ivanov 2014-03-22 16:37:47 Regexp matching + typecasts
Previous Message Devrim GÜNDÜZ 2014-03-22 08:36:42 Re: configure errors on Fedora 20