Page MenuHomePhorge

Wallace logs errors when run in debug 9 mode
Open, NormalPublic

Description

wallace-0.8.7-1.1.el7.kolab_16.noarch
When I enable debug 9 mode in /etc/sysconfig/wallace file and restart wallace I get the following output in logs:

2017-06-21 08:29:00,193 pykolab.wallace DEBUG [5117]: module_resources.heartbeat(0)
2017-06-21 08:29:00,194 pykolab.auth DEBUG [5117]: Called for domain None
2017-06-21 08:29:00,194 pykolab.auth DEBUG [5117]: Using section domain.tld and domain domain.tld
2017-06-21 08:29:00,194 pykolab.auth DEBUG [5117]: Using section domain.tld and domain domain.tld
2017-06-21 08:29:00,194 pykolab.auth DEBUG [5117]: Connecting to Authentication backend for domain domain.tld
2017-06-21 08:29:00,194 pykolab.auth DEBUG [5117]: Section domain.tld has no option 'auth_mechanism'
2017-06-21 08:29:00,194 pykolab.auth DEBUG [5117]: Starting LDAP...
2017-06-21 08:29:00,311 pykolab.auth DEBUG [5117]: Connecting to LDAP...
2017-06-21 08:29:00,311 pykolab.auth DEBUG [5117]: Attempting to use LDAP URI ldap://ldap.host389
2017-06-21 08:29:00,315 pykolab.auth DEBUG [5117]: Binding with bind_dn: uid=kolab-service,ou=Special Users,dc=domain,dc=tld and password: ***************
2017-06-21 08:29:00,319 pykolab.auth DEBUG [5117]: Finding resource with filter '(&(|(|(objectclass=groupofuniquenames)(objectclass=groupofurls))(objectclass=kolabsharedfolder))(|(mail=*)(alias=*)(nsuniqueid=*)))'
2017-06-21 08:29:00,319 pykolab.auth DEBUG [5117]: Searching root dn for domain 'domain.tld'
2017-06-21 08:29:00,319 pykolab.auth DEBUG [5117]: bind() called but already bound
2017-06-21 08:29:00,320 pykolab.auth DEBUG [5117]: Finding domain root dn for domain domain.tld
2017-06-21 08:29:00,320 pykolab.auth DEBUG [5117]: Searching with filter '(&(associatedDomain=domain.tld))'
2017-06-21 08:29:00,504 pykolab.imap DEBUG [5117]: Logging on to Cyrus IMAP server imap.host
2017-06-21 08:29:00,509 pykolab.wallace ERROR Module resources.heartbeat() failed with error: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/wallace/__init__.py", line 89, in modules_heartbeat
    modules.heartbeat(module, lastrun)
  File "/usr/lib/python2.7/site-packages/wallace/modules.py", line 128, in heartbeat
    return modules[name]['heartbeat'](*args, **kw)
  File "/usr/lib/python2.7/site-packages/wallace/module_resources.py", line 442, in heartbeat
    imap.connect()
  File "/usr/lib/python2.7/site-packages/pykolab/imap/__init__.py", line 170, in connect
    self._imap[hostname].login(admin_login, admin_password)
  File "/usr/lib/python2.7/site-packages/pykolab/imap/cyrus.py", line 142, in login
    cyruslib.CYRUS.login(self, *args, **kw)
  File "/usr/lib/python2.7/site-packages/cyruslib.py", line 419, in login
    self.__doexception("LOGIN", error)
  File "/usr/lib/python2.7/site-packages/cyruslib.py", line 359, in __doexception
    self.__doraise( function.upper(), msg )
  File "/usr/lib/python2.7/site-packages/cyruslib.py", line 368, in __doraise
    raise CYRUSError( idError[0], mode, msg )
CYRUSError: (10, 'LOGIN', '[Errno 9] Bad file descriptor')

Details

Ticket Type
Task