[Users] Exception: Database creation failed

Patrick Roughan patrick at epochcapital.com.au
Fri Apr 27 05:10:42 UTC 2012


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?





More information about the Users mailing list