Skip to content

pg_autoctl create postgres := ERROR Connection to database failed: fe_sendauth: no password supplied #647

Answered by DimCitus
sacrophyte asked this question in Q&A
Discussion options

You must be logged in to vote

So, we use template1 to issue the create database statement because we can count on that database existing in Postgres. Then, I see you use ``--pghost urblimsdbdev2a.admin.uillinois.eduand I believe that's where you problem comes from. Please try without using--pghost`, allowing the local connections to use Unix Domain Sockets.

Finally, pg_autoctl is the parent process of Postgres. So when pg_autoctl is not running, Postgres is not running, that's expected.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@sacrophyte
Comment options

@DimCitus
Comment options

@sacrophyte
Comment options

Answer selected by sacrophyte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants