Ask Your Question
0

Why Puppet Enterprise PostgreSQL database server Failed to start

asked 2018-05-07 01:36:13 -0500

sk14188 gravatar image

updated 2018-05-07 18:26:57 -0500

binford2k gravatar image

I am installing PE on centOS 7.5, PE Installation fail for mono installation due to below error. ports are open for localhost. service itself not getting started, i even tried manually to start pe-postgresql service but fail with same error..

Error: Warning: Error connecting to localhost on 8081 at route /pdb/query/v4, error message received was 'Failed to open TCP connection to localhost:8081 (Connection refused - connect(2) for "localhost" port 8081)'. Failing over to the next PuppetDB server_url in the 'server_urls' list

Error:
2018-05-04 10:45:43,973 - [Error]: Systemd start for pe-postgresql failed!
journalctl log for pe-postgresql:
– Logs begin at Fri 2018-05-04 05:31:05 UTC, end at Fri 2018-05-04 10:45:43 UTC. –
May 04 10:45:42 ip-10-57-182-180 systemd[1]: Starting Puppet Enterprise PostgreSQL database server...
May 04 10:45:43 ip-10-57-182-180 pg_ctl[10405]: pg_ctl: could not start server
May 04 10:45:43 ip-10-57-182-180 systemd[1]: pe-postgresql.service: control process exited, code=exited status=1
May 04 10:45:43 ip-10-57-182-180 systemd[1]: Failed to start Puppet Enterprise PostgreSQL database server.
May 04 10:45:43 ip-10-57-182-180 systemd[1]: Unit pe-postgresql.service entered failed state.
May 04 10:45:43 ip-10-57-182-180 systemd[1]: pe-postgresql.service failed.
2018-05-04 10:45:43,974 - [Error]: /Stage[main]/Pe_postgresql::Server::Service/Service[postgresqld]/ensure: change from 'stopped' to 'running' failed: Systemd sta
rt for pe-postgresql failed!
journalctl log for pe-postgresql:
– Logs begin at Fri 2018-05-04 05:31:05 UTC, end at Fri 2018-05-04 10:45:43 UTC. –
May 04 10:45:42 ip-10-57-182-180 systemd[1]: Starting Puppet Enterprise PostgreSQL database server...
May 04 10:45:43 ip-10-57-182-180 pg_ctl[10405]: pg_ctl: could not start server
May 04 10:45:43 ip-10-57-182-180 systemd[1]: pe-postgresql.service: control process exited, code=exited status=1
May 04 10:45:43 ip-10-57-182-180 systemd[1]: Failed to start Puppet Enterprise PostgreSQL database server.
May 04 10:45:43 ip-10-57-182-180 systemd[1]: Unit pe-postgresql.service entered failed state.
May 04 10:45:43 ip-10-57-182-180 systemd[1]: pe-postgresql.service failed.
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2018-05-08 21:15:48 -0500

sk14188 gravatar image

Hi. This issue has resolved. One PostgreSQL instance was already running on the same server. I removed that instance then pe-PostgreSQL service started successful.

Thanks. Subodh

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-05-07 01:36:13 -0500

Seen: 38 times

Last updated: May 08