pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: bob.middaugh@comcast.net
Cc: pgsql-ports@postgresql.org
Subject: Re: FATAL: role "postgres" does not exist
Date: Thu, 16 Aug 2007 12:28:51 -0400
Message-ID: <5731.1187281731@sss.pgh.pa.us> (raw)
In-Reply-To: <081620071609.24745.46C476B3000B68DF000060A9221352857308099A0E0B0B0703D20D010D@comcast.net>
References: <081620071609.24745.46C476B3000B68DF000060A9221352857308099A0E0B0B0703D20D010D@comcast.net>

bob.middaugh@comcast.net (Bob Middaugh) writes:
> Exception in thread "main" org.postgresql.util.PSQLException: Backend start-up failed: org.postgresql.util.PSQLException: FATAL: role "postgres" does not exist

> I don't know what it's looking for.  When you install the server from ports, it creates the user "pgsql" in /etc/passwd.  

FreeBSD is being a bit out of step here --- the default superuser name
is "postgres" in most distros.  If you can't persuade the OpenNMS
installer to use a nonstandard superuser name, it's no big deal ---
just create a second superuser role named "postgres".  See the CREATE
ROLE command, or use the "createuser" script.

			regards, tom lane



view thread (4+ messages)  latest in thread

Message-ID: <5731.1187281731@sss.pgh.pa.us>
Permalink:  ../5731.1187281731@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5731.1187281731@sss.pgh.pa.us

 · 

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-ports@postgresql.org
  Cc: tgl@sss.pgh.pa.us, bob.middaugh@comcast.net
  Subject: Re: FATAL: role "postgres" does not exist
  In-Reply-To: <5731.1187281731@sss.pgh.pa.us>
  References: <081620071609.24745.46C476B3000B68DF000060A9221352857308099A0E0B0B0703D20D010D@comcast.net> <5731.1187281731@sss.pgh.pa.us>

* 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