#71 Log successful reconnect
Closed: Fixed None Opened 11 years ago by pspacek.

Plugin should log successful reconnect to LDAP server.

May 31 08:24:14 vm-125.idm.lab.bos.redhat.com named[20174]: LDAP error: Can't contact LDAP server
May 31 08:24:14 vm-125.idm.lab.bos.redhat.com named[20174]: connection to the LDAP server was lost

Next line should say

successfully reconnected to LDAP server

Thanks. This would be very useful when I try to get a status of named:

# service named status
Redirecting to /bin/systemctl  status named.service
named.service - Berkeley Internet Name Domain (DNS)
      Loaded: loaded (/usr/lib/systemd/system/named.service; disabled)
      Active: active (running) since Thu, 31 May 2012 07:58:14 -0400; 41min ago
    Main PID: 20174 (named)
      CGroup: name=systemd:/system/named.service
          └ 20174 /usr/sbin/named -u named

May 31 07:58:22 vm-125.idm.lab.bos.redhat.com named[20174]: LDAP error: Can't contact LDAP server
May 31 07:58:22 vm-125.idm.lab.bos.redhat.com named[20174]: LDAP error: Can't contact LDAP server
May 31 07:58:22 vm-125.idm.lab.bos.redhat.com named[20174]: LDAP error: Can't contact LDAP server
May 31 07:58:22 vm-125.idm.lab.bos.redhat.com named[20174]: LDAP error: Can't contact LDAP server
May 31 07:59:44 vm-125.idm.lab.bos.redhat.com named[20174]: LDAP error: Can't contact LDAP server
May 31 07:59:44 vm-125.idm.lab.bos.redhat.com named[20174]: connection to the LDAP server was lost
May 31 07:59:45 vm-125.idm.lab.bos.redhat.com named[20174]: LDAP error: Can't contact LDAP server
May 31 07:59:45 vm-125.idm.lab.bos.redhat.com named[20174]: connection to the LDAP server was lost
May 31 08:24:14 vm-125.idm.lab.bos.redhat.com named[20174]: LDAP error: Can't contact LDAP server
May 31 08:24:14 vm-125.idm.lab.bos.redhat.com named[20174]: connection to the LDAP server was lost

This way, I cannot know that the LDAP connection has been restored.

Metadata Update from @pspacek:
- Issue assigned to pspacek
- Issue set to the milestone: 3.0 IPA

7 years ago

Login to comment on this ticket.

Metadata