Re: [ovirt-devel] Error in setup of ovirt-engine Development Environment

2017-03-16 Thread Shmuel Melamud
Hi! On Wed, Mar 15, 2017 at 6:30 PM, shubham dubey wrote: > 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 val

Re: [ovirt-devel] Error in setup of ovirt-engine Development Environment

2017-03-16 Thread shubham dubey
thanks,It looks really a great solution.I will try that. On Thu, Mar 16, 2017 at 12:27 PM, Yedidyah Bar David wrote: > On Wed, Mar 15, 2017 at 10:42 PM, Martin Perina > wrote: > > Hi, > > > > I think you have forgotten 'su' command at beginning, correct commands > are: > > > > su - postgres -

Re: [ovirt-devel] Error in setup of ovirt-engine Development Environment

2017-03-15 Thread Yedidyah Bar David
On Wed, Mar 15, 2017 at 10:42 PM, Martin Perina wrote: > Hi, > > I think you have forgotten 'su' command at beginning, correct commands are: > > su - postgres -c "psql -d template1 -c \"create user engine password > 'engine';\"" > su - postgres -c "psql -d template1 -c \"create database engine

Re: [ovirt-devel] Error in setup of ovirt-engine Development Environment

2017-03-15 Thread Martin Perina
Hi, I think you have forgotten 'su' command at beginning, correct commands are: su - postgres -c "psql -d template1 -c \"create user engine password 'engine';\"" su - postgres -c "psql -d template1 -c \"create database engine owner engine template template0 encoding 'UTF8' lc_collate 'en_US.U

Re: [ovirt-devel] Error in setup of ovirt-engine Development Environment

2017-03-15 Thread shubham dubey
Thanks,It just work. One more thing which I added to make it work is that after login with postgres user,if I was running psql then getting this error. $psql -d template1 -c "create user engine password 'engine';" psql: could not connect to server: No such file or directory Is the server runnin

Re: [ovirt-devel] Error in setup of ovirt-engine Development Environment

2017-03-15 Thread Alexander Wels
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 t

Re: [ovirt-devel] Error in setup of ovirt-engine Development Environment

2017-03-15 Thread shubham dubey
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 m

Re: [ovirt-devel] Error in setup of ovirt-engine Development Environment

2017-03-15 Thread Fred Rolland
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 wrote: > Hello, > I am trying to setup ovirt-engine using this link > http://www.ovirt.org/develop/developer-guide/engine/engine- > development-environm

[ovirt-devel] Error in setup of ovirt-engine Development Environment

2017-03-15 Thread shubham dubey
Hello, I am trying to setup ovirt-engine using this link http://www.ovirt.org/develop/developer-guide/engine/engine-development-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 p