Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [PORTS] FATAL: role "postgres" does not exist

From: Tom Lane <tgl(at)sss.pgh.pa.us>
Date: Thu Aug 16 2007 - 12:28:51 EDT


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

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings Received on Thu Aug 16 12:31:06 2007

This archive was generated by hypermail 2.1.8 : Mon Oct 08 2007 - 17:50:03 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library