
On Wednesday, March 15, 2017 1:56:27 PM EDT shubham dubey wrote:
I am running it as normal user because when I am running it as root user it is giving me following error
"root" execution of the PostgreSQL server is not permitted. The server must be started under an unprivileged user ID to prevent possible system security compromise. See the documentation for more information on how to properly start the server.
Yes don't run that part as root. What I usually do after installing the packages and configuring the database is sudo to postgres and run psql engine. Then paste the part between the double quotes in. I always manage to screw up the quotes otherwise.
On Wed, Mar 15, 2017 at 10:14 PM, Fred Rolland <frolland@redhat.com> wrote:
Under which user are you running this command ? In the guide, it is specified to run it as root.
On Wed, Mar 15, 2017 at 6:30 PM, shubham dubey <sdubey504@gmail.com>
wrote:
Hello, I am trying to setup ovirt-engine using this link http://www.ovirt.org/develop/developer-guide/engine/engine-d evelopment-environment/. Now when I am trying these commands I am getting following error $postgres -c "psql -d template1 -c \"create user engine password 'engine';\"" FATAL: -c psql -d template1 -c "create user engine password 'engine';" requires a value
and $postgres -c "psql -d template1 -c "create database engine \ owner engine template template0 encoding 'UTF8' lc_collate \ 'en_US.UTF-8' lc_ctype 'en_US.UTF-8';\"" FATAL: -c psql -d template1 -c "create database engine owner engine template template0 encoding 'UTF8' lc_collate 'en_US.UTF-8' lc_ctype 'en_US.UTF-8';" requires a value
So I think the syntax given there is not right,So can anyone tell me the correct syntax.Or maybe I am doing something wrong.
Thanks, Shubham
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel