pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: clive@the-boughtons.net
To: pgsql-bugs@postgresql.org
Subject: BUG #14553: Fatal Error - Role does not exist
Date: Mon, 20 Feb 2017 00:05:38 +0000
Message-ID: <20170220000538.1254.35000@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      14553
Logged by:          Clive Boughton
Email address:      clive@the-boughtons.net
PostgreSQL version: 9.5.6
Operating system:   Fedora 25
Description:        

I've installed (what I downloaded as PG9.6) PG9.5.6 onto Fedora 25.  All
seemed to go OK, but when I went to test 'CREATEDB" I received the
following:
"createdb: could not connect to database postgres: FATAL:  role
"my-Fedora-username" does not exist".
I tried to follow the instructions in the PG User Manual - NOTHING
WORKED!!
Ultimately, I realised that as part of the setup of postgres the
documentation that came with the download specified using "system intidb"
and "systemctl start postgresql.service" but the "systemctl" command 
doesn't showup when searching the manual.  The manual instead mentions
"pg_ctl" which I tried after stopping postgres with "systemctl". The pg_ctl
start command failed with the suggestion that there was no specified
datadir.  I restarted postgres with systemctl and then tried to stop it with
pg_ctl. This resulted in a message to the affect that I could do that as
root (which I was logged in as).  SO WHAT IS GOING ON?? or more likely "WHAT
HAVE I DONE"  I have found the manual to be very confusing on the topic o f
installation.  BTW, I deliberately did not attempt to do an install from
source - that brought with it a whole heap of other (largely hidden issues
concerning other software that PG uses.

CVB


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs


view thread (2+ messages)  latest in thread

Message-ID: <20170220000538.1254.35000@wrigleys.postgresql.org>
Permalink:  ../20170220000538.1254.35000@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20170220000538.1254.35000@wrigleys.postgresql.org

 · 

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: clive@the-boughtons.net
  Subject: Re: BUG #14553: Fatal Error - Role does not exist
  In-Reply-To: <20170220000538.1254.35000@wrigleys.postgresql.org>
  References: <20170220000538.1254.35000@wrigleys.postgresql.org>

* 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