[OPEN-ILS-GENERAL] postgres: FATAL: role "root" does not exist

Ben Shum ben at evergreener.net
Sun Jul 10 11:59:04 EDT 2016


The create user step from the README says to do it as the postgres user.
You're attempting to run the command as the root user, hence the error
message. You can switch users using something like "su postgres"

-- Ben

Sent from my Nexus 6

On Jul 10, 2016 11:53 AM, "Jim Lynch" <jim at fayettedigital.com> wrote:

> It looks like the install of postgres went in without error by running:
> root at ubuntu-OptiPlex-755:~/Evergreen-ILS-2.10.5# make -f
> Open-ILS/src/extras/Makefile.install postgres-server-ubuntu-trusty
> But when I issued:
>
> root at ubuntu-OptiPlex-755:~/Evergreen-ILS-2.10.5# createuser -s -P
> evergreen
> Enter password for new role:
> Enter it again:
> createuser: could not connect to database postgres: FATAL:  role "root"
> does not exist
>
> Just in case I did
> root at ubuntu-OptiPlex-755:~/Evergreen-ILS-2.10.5# /etc/init.d/postgresql
> start
>  * Starting PostgreSQL 9.3 database server
>
> But a second attempt ad creating a user failed in the same manner. I'm not
> a postgres person.  I know mysql well.
>
> Thanks,
> Jim.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20160710/7ab3bdf8/attachment-0001.html>


More information about the Open-ils-general mailing list