pg_autoctl create postgres := ERROR Connection to database failed: fe_sendauth: no password supplied #647
-
I am not quite sure what I am doing wrong. If you can help me spot the error of my ways, I would very much appreciate it. "data" is running on port 5432
I do not understand why pg_autoctl is trying to connect to template1 with a password. Further, I do not understand why the following rule in pg_hba.conf seems (to me) to be ignored: I put the above in temporarily to try to get around the fe_sendauth error to no avail (took it back out). Another very weird thing - running this command ALWAYS stops my "data" cluster. I do not know why. What am I doing wrong? Update: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
So, we use Finally, |
Beta Was this translation helpful? Give feedback.
So, we use
template1
to issue thecreate 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 whenpg_autoctl
is not running, Postgres is not running, that's expected.