[Users] Exception: Database creation failed

Alex Lourie alourie at redhat.com
Mon Apr 30 07:40:23 UTC 2012


On 04/27/2012 08:10 AM, Patrick Roughan wrote:
> Hey,
>
> While running engine-setup i get,
>
> creating database....        [ERROR]
> Database creation failed
>
> the following is in the log file
>
> 2012-04-27 14:33:23::ERROR::engine-setup::2453::root:: Traceback (most 
> recent call last):
>   File "/usr/bin/engine-setup", line 2447, in <module>
>     main(confFile)
>   File "/usr/bin/engine-setup", line 2269, in main
>     runMainFunctions(conf)
>   File "/usr/bin/engine-setup", line 2187, in runMainFunctions
>     runFunction([_createDB,  _updateVDCOptions], 
> output_messages.INFO_CREATE_DB)
>   File "/usr/bin/engine-setup", line 1170, in runFunction
>     raise Exception(instance)
> Exception: Database creation failed
>
> when i installed from repos which install the dependences including 
> postgresql. postgresql failed to start, so i ran
>
> restorecon -R /var
> service postgresql initdb
> systemctl start postgresql.service
> service postgresql start
>
> i wasnt able to login to though
> so i change /var/lib/pqsql/data/pg_hba.conf values to trust
>
> now postgresql is run and can login (psql -U postgres)
>
> Any ideas?
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

Hello Patrick

This problem could mean many things. Could you please attach the 
complete log file? Additionally, please attach the corresponding 
'engine-db-install' log file.

Finally, there's another log 
*/usr/share/ovirt-engine/dbscripts/create_db.sh.log*. Please take a look 
in it to see if there are any errors, and if so, paste them too in your 
answer.

Thank you.

-- 
Alex Lourie.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120430/5d3f817e/attachment.html>


More information about the Users mailing list