Skip site navigation (1) Skip section navigation (2)

Re: FATAL: role "postgres" does not exist

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: bob(dot)middaugh(at)comcast(dot)net (Bob Middaugh)
Cc: pgsql-ports(at)postgresql(dot)org (pgsql-ports)
Subject: Re: FATAL: role "postgres" does not exist
Date: 2007-08-16 16:28:51
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-ports
bob(dot)middaugh(at)comcast(dot)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

In response to

pgsql-ports by date

Next:From: Bob MiddaughDate: 2007-08-16 18:43:37
Subject: Re: FATAL: role "postgres" does not exist
Previous:From: Peter EisentrautDate: 2007-08-16 16:27:53
Subject: Re: FATAL: role "postgres" does not exist

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group