On 9/23/2013 9:30 PM, Ray Stell wrote:
No, there is a missing line in pg_hba.conf that should look something like this: host replication repuser xxx trust (where "xxx" is the hostname) See the pg_hba.conf file for more examples. Note that "replication" is a special database tag and a replicating connection must have one of these defined as "all" does not match it. You can use "host", "hostssl" or "hostnossl"; "trust" means that no password is demanded and for obvious reasons should NOT be used for other than a local connection that can be trusted implicitly. I prefer not to use that method for other than local socket connections and then only on a machine where nobody signs in that is untrusted (e.g. only admins are permitted general access.) If you are connecting over an insecure channel or untrusted users are on the machine then consider SSL to encrypt the traffic and either use md5 for the password or use a certificate. You can reload the file without restarting postgres with "pg_ctl -D data-directory reload" (where "data-directory" is wherever the data directory that has the pg_hba.conf file -- and the rest of the base of the data store -- is) |
<<attachment: smime.p7s>>