<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 04/27/2012 08:10 AM, Patrick Roughan wrote:
<blockquote cite="mid:4F9A2A52.2010402@epochcapital.com.au"
type="cite">Hey,
<br>
<br>
While running engine-setup i get,
<br>
<br>
creating database.... [ERROR]
<br>
Database creation failed
<br>
<br>
the following is in the log file
<br>
<br>
2012-04-27 14:33:23::ERROR::engine-setup::2453::root:: Traceback
(most recent call last):
<br>
File "/usr/bin/engine-setup", line 2447, in <module>
<br>
main(confFile)
<br>
File "/usr/bin/engine-setup", line 2269, in main
<br>
runMainFunctions(conf)
<br>
File "/usr/bin/engine-setup", line 2187, in runMainFunctions
<br>
runFunction([_createDB, _updateVDCOptions],
output_messages.INFO_CREATE_DB)
<br>
File "/usr/bin/engine-setup", line 1170, in runFunction
<br>
raise Exception(instance)
<br>
Exception: Database creation failed
<br>
<br>
when i installed from repos which install the dependences
including postgresql. postgresql failed to start, so i ran
<br>
<br>
restorecon -R /var
<br>
service postgresql initdb
<br>
systemctl start postgresql.service
<br>
service postgresql start
<br>
<br>
i wasnt able to login to though
<br>
so i change /var/lib/pqsql/data/pg_hba.conf values to trust
<br>
<br>
now postgresql is run and can login (psql -U postgres)
<br>
<br>
Any ideas?
<br>
<br>
<br>
_______________________________________________
<br>
Users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
<br>
</blockquote>
<br>
Hello Patrick<br>
<br>
This problem could mean many things. Could you please attach the
complete log file? Additionally, please attach the corresponding
'engine-db-install' log file. <br>
<br>
Finally, there's another log <b>/usr/share/ovirt-engine/dbscripts/create_db.sh.log</b>.
Please take a look in it to see if there are any errors, and if so,
paste them too in your answer.<br>
<br>
Thank you.<br>
<br>
<pre class="moz-signature" cols="72">--
Alex Lourie.</pre>
</body>
</html>