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" <> wrote:

> It looks like the install of postgres went in without error by running:
> root@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@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@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.

Reply via email to