Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 1A8149FA4B8 for ; Thu, 16 Aug 2007 13:29:04 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 35927-07 for ; Thu, 16 Aug 2007 13:28:58 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 34BB99F9A04 for ; Thu, 16 Aug 2007 13:28:53 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l7GGSp3f005732; Thu, 16 Aug 2007 12:28:51 -0400 (EDT) To: bob.middaugh@comcast.net (Bob Middaugh) cc: pgsql-ports@postgresql.org (pgsql-ports) Subject: Re: FATAL: role "postgres" does not exist In-reply-to: <081620071609.24745.46C476B3000B68DF000060A9221352857308099A0E0B0B0703D20D010D@comcast.net> References: <081620071609.24745.46C476B3000B68DF000060A9221352857308099A0E0B0B0703D20D010D@comcast.net> Comments: In-reply-to bob.middaugh@comcast.net (Bob Middaugh) message dated "Thu, 16 Aug 2007 16:09:23 -0000" Date: Thu, 16 Aug 2007 12:28:51 -0400 Message-ID: <5731.1187281731@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/12 X-Sequence-Number: 2576 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