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?