Re: 9.3 debian install setup failure - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: 9.3 debian install setup failure
Date
Msg-id 20140322093007.GB12234@svana.org
Whole thread Raw
In response to 9.3 debian install setup failure  ("john.tiger" <john.tigernassau@gmail.com>)
List 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@svana.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

Attachment

pgsql-general by date:

Previous
From: Devrim GÜNDÜZ
Date:
Subject: Re: configure errors on Fedora 20
Next
From: James Harper
Date:
Subject: spi in bgworker