| От | Tom Lane |
|---|---|
| Тема | Re: FATAL: role "postgres" does not exist |
| Дата | |
| Msg-id | 5731.1187281731@sss.pgh.pa.us обсуждение |
| Ответ на | FATAL: role "postgres" does not exist (bob.middaugh@comcast.net (Bob Middaugh)) |
| Список | pgsql-ports |
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
В списке pgsql-ports по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера