Oliver Elphick wrote:
> I get this in the logs for every database open by pg_autovacuum:
>
> Sep 1 14:02:45 cerberus pg_autovacuum: nss_ldap: could not connect to
> any LDAP server as (null) - Can't contact LDAP server
>
> This is produced by the bind_to() call in libnss-ldap. This is invoked
> when /etc/nss_switch.conf specifies ldap; what I don't understand yet is
> what pg_autovacuum is doing differently from every other application so
> as to cause this message.
Good question, I don't know either. All pg_autovacuum does is call the
libpq function to connect to the database. Can you look into this
further? Do you get similar messages when you use psql to connect to a
database?
Matthew