Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    kopano-spamd crashes with MAPI error 8004010F (MAPI_E_NOT_FOUND) etc.

    Kopano Groupware Core
    3
    5
    750
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • PRO123
      PRO123 last edited by PRO123

      Hi,

      we have only been using kopano-spamd for 4 days now and have seen in the log today that the service showed 2 errors yesterday and crashed at the 2nd as follows:

      2019-11-04 15:59:27,147 - spamd - ERROR - Traceback (most recent call last):
        File "/usr/lib/python3/dist-packages/kopano/property_.py", line 197, in prop
          sprop = HrGetOneProp(mapiobj, proptag)
        File "/usr/lib/python3/dist-packages/MAPI/Defs.py", line 52, in HrGetOneProp
          raise MAPI.Struct.MAPIError.from_hresult(props[0].Value)
      MAPI.Struct.MAPIErrorNotFound: MAPI error 8004010F (MAPI_E_NOT_FOUND)
      
      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "/usr/lib/python3/dist-packages/kopano/log.py", line 103, in log_exc
          try: yield
        File "/usr/lib/python3/dist-packages/kopano_spamd/__init__.py", line 69, in update
          if item.message_class != 'IPM.Note': # TODO None?
        File "/usr/lib/python3/dist-packages/kopano/item.py", line 351, in message_class
          return self._get_fast(PR_MESSAGE_CLASS_W, must_exist=True)
        File "/usr/lib/python3/dist-packages/kopano/properties.py", line 118, in _get_fast
          return self.prop(proptag).value
        File "/usr/lib/python3/dist-packages/kopano/properties.py", line 42, in prop
          proptype=proptype)
        File "/usr/lib/python3/dist-packages/kopano/property_.py", line 206, in prop
          raise NotFoundError('no such property: %s' % REV_TAG.get(proptag, hex(proptag)))
      kopano.errors.NotFoundError: no such property: PR_MESSAGE_CLASS_W
      
      2019-11-05 01:04:12,392 - spamd - ERROR - Traceback (most recent call last):
        File "/usr/lib/python3/dist-packages/kopano/log.py", line 103, in log_exc
          try: yield
        File "/usr/lib/python3/dist-packages/kopano_spamd/__init__.py", line 41, in main
          state = server.sync(importer, state)
        File "/usr/lib/python3/dist-packages/kopano/server.py", line 853, in sync
          return _ics.sync(self, self.mapistore, importer, state, max_changes, window=window, begin=begin, end=end, stats=stats)
        File "/usr/lib/python3/dist-packages/kopano/ics.py", line 253, in sync
          exporter.Config(stream, flags, importer, restriction, None, None, 0)
        File "/usr/lib/python3/dist-packages/MAPICore.py", line 1906, in Config
          return _MAPICore.IExchangeExportChanges_Config(self, lpStream, ulFlags, lpUnk, lpRestriction, lpIncludeProps, lpExcludeProps, ulBufferSize)
      MAPI.Struct.MAPIErrorNetworkError: MAPI error 80040115 (MAPI_E_NETWORK_ERROR)
      
      2019-11-05 01:04:12,394 - spamd - INFO - stopping spamd
      
      

      Unfortunately I can’t say for sure if a mail was moved at that time. The crash was probably caused by the 2nd error around 2019-11-05 01:04. Maybe you should also mention the user when logging, so that you can better trace such errors?

      KSC 8.7.5

      TIA Robert

      PRO123 1 Reply Last reply Reply Quote 0
      • PRO123
        PRO123 @PRO123 last edited by

        @PRO123 said in kopano-spamd crashes with MAPI error 8004010F (MAPI_E_NOT_FOUND) etc.:

        The crash was probably caused by the 2nd error around 2019-11-05 01:04

        That seems to be this bug: https://jira.kopano.io/browse/KC-1447

        On this Univention UCS system kopano server is started automatically once a month because of the server_password_change, which causes spamd to crash every time. :(

        Is there a prognosis when the bug will be fixed?

        TIA Robert

        1 Reply Last reply Reply Quote 0
        • PRO123
          PRO123 last edited by

          The 1st error is independent of KC-1447 and has been recurring since spamd commissioning:

          2019-11-07 12:01:19,592 - spamd - ERROR - Traceback (most recent call last):
            File "/usr/lib/python3/dist-packages/kopano/property_.py", line 197, in prop
              sprop = HrGetOneProp(mapiobj, proptag)
            File "/usr/lib/python3/dist-packages/MAPI/Defs.py", line 52, in HrGetOneProp
              raise MAPI.Struct.MAPIError.from_hresult(props[0].Value)
          MAPI.Struct.MAPIErrorNotFound: MAPI error 8004010F (MAPI_E_NOT_FOUND)
          
          During handling of the above exception, another exception occurred:
          
          Traceback (most recent call last):
            File "/usr/lib/python3/dist-packages/kopano/log.py", line 103, in log_exc
              try: yield
            File "/usr/lib/python3/dist-packages/kopano_spamd/__init__.py", line 69, in update
              if item.message_class != 'IPM.Note': # TODO None?
            File "/usr/lib/python3/dist-packages/kopano/item.py", line 351, in message_class
              return self._get_fast(PR_MESSAGE_CLASS_W, must_exist=True)
            File "/usr/lib/python3/dist-packages/kopano/properties.py", line 118, in _get_fast
              return self.prop(proptag).value
            File "/usr/lib/python3/dist-packages/kopano/properties.py", line 42, in prop
              proptype=proptype)
            File "/usr/lib/python3/dist-packages/kopano/property_.py", line 206, in prop
              raise NotFoundError('no such property: %s' % REV_TAG.get(proptag, hex(proptag)))
          kopano.errors.NotFoundError: no such property: PR_MESSAGE_CLASS_W
          
          
          1 Reply Last reply Reply Quote 0
          • JungleMarc
            JungleMarc last edited by

            I had an error with a Windows client machine today,

            [error ] [ 3026] Could not open data of attachment 0: not found (8004010f)

            But thankfully a simple reboot of the Windows10 client machine did the trick. Weird haha. Just dropping this here in case others gets this error code.

            Merry Xmas and happy new year everyone

            thctlo 1 Reply Last reply Reply Quote 0
            • thctlo
              thctlo @JungleMarc last edited by

              @junglemarc
              Yeah, windows fun… Thats a good tip by the way in general.
              in all cases if it “suddenly” stopped working, check what the latest windows where and reboot.
              And in most cases this will be on wednesdays…

              1 Reply Last reply Reply Quote 0
              • First post
                Last post