aerobase / unifiedpush-server

UnifiedPush Server
https://github.com/aerobase/unifiedpush-server
Apache License 2.0
25 stars 9 forks source link

Application Fails to start for Fedora release 22 (Twenty Two) #7

Closed yanivmn closed 9 years ago

yanivmn commented 9 years ago

The following error is logged to /var/log/unifiedpush/unifiedpush-server/current:

Caused by: org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "127.0.0.1", user "unifiedpush_server", database "keycloak_server", SSL off

yanivmn commented 9 years ago
Fedora 22 default /etc/hosts fail to resolve localhost entry:

127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6

Edit /etc/hosts localhost entry:

127.0.0.1 localhost localhost.localdomain

Reconfigure system

sudo rm -rf /var/opt/unifiedpush/ sudo unifiedpush-ctl reconfigure