Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25778

[Solved] Failed to ping db err

$
0
0

I am trying to set up a production environment within the Google Compute Platform. I've created a Ubuntu VM for the database and was able to get the PostgreSQL db up and running. I created the second Ubuntu VM, installed the Mattermost package and updated the config.json file, but I keep running into this error:

[10/28/15 16:00:40] [INFO] Current version is 1.1.0 (2920/Wed Oct 14 19:29:00 UTC 2015/4ad9e0673ca8950597a290f10db1
0475b18b67cc)
[10/28/15 16:00:40] [INFO] Current working directory is /home/rorysmith/mattermost/bin
[10/28/15 16:00:40] [INFO] Loaded config file from /home/rorysmith/mattermost/config/config.json
[10/28/15 16:00:40] [INFO] Server is initializing...
[10/28/15 16:00:40] [INFO] Pinging sql master database
[10/28/15 16:00:40] [CRIT] Failed to ping db err:dial tcp 10.240.0.2:5432: connection refused
panic: Failed to open sql connection dial tcp 10.240.0.2:5432: connection refused

I've set up firewall rules to allow tcp traffic on ports 80, 8065 and 5432. Any other suggestions?


Viewing all articles
Browse latest Browse all 25778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>