Обсуждение: pg_autovacuum (7.4) nss_ldap oddity

Поиск
Список
Период
Сортировка

pg_autovacuum (7.4) nss_ldap oddity

От
Oliver Elphick
Дата:
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.

Oliver Elphick


Re: pg_autovacuum (7.4) nss_ldap oddity

От
"Matthew T. O'Connor"
Дата:
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

Re: pg_autovacuum (7.4) nss_ldap oddity

От
Oliver Elphick
Дата:
On Wed, 2004-09-01 at 16:24, Matthew T. O'Connor wrote:
> 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
...
>      Can you look into this
> further?  Do you get similar messages when you use psql to connect to a
> database?

Well, something has happened on that machine while I've been away.  Now
it isn't happening at all.  If it starts again, I'll try to debug some
more.
--
Oliver Elphick                                          olly@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA  92C8 39E7 280E 3631 3F0E  1EC0 5664 7A2F A543 10EA
                 ========================================
     "But God said to him, You fool! This very night your
      soul is required of you; and now who will own what you
      have prepared? So is the man who lays up treasure for
      himself, and is not rich toward God."
                                        Luke 12:20,21