Kerio Connect service crashes and restarts on its own every minute. Users are logged out of their webmail accounts with every restart.
- Kerio Connect installed on Linux OS (Debian, Ubuntu, CentOS)
- MacOS client connected over Exchange Web Services protocol (EWS) using Outlook or native Apple Mail/Calendar applications experience intermittent and slow account performance issues.
- Kerio is connected to an external network device for archiving/backup purposes, using nfs4
A user on a Mac connected over Exchange Active Sync creates new schedules on the Apple Calendar, and one of the schedules crashes the service. The calendar appointment may contain URLs that become duplicated.
The problem might generate the below error line in the dmesg log at the moment of the crash:
mailserver: segfault at 0 ip 000000000188f5ce sp 00007f1824a977c0 error 4 in mailserver[400000+3012000]
Kerio Connect uses for Archiving and Backup an external storage (a NAS device, for example), which is mounted with nfs4. The below errors will be showing up in the dmesg log every time that the server wants to access the NAS device, and subsequently, everytime the server crashes:
nfs4_reclaim_open_state: Lock reclaim failed
Delete the Exchange Account on the affected Mac and use Webmail or Kerio Connect Client on mac instead.
- Open macOS Settings -> Internet Accounts.
- Select the Exchange account -> click minus sign (-) to remove the account.
- Confirm the deletion by clicking OK.
- Confirm the presence of a nfs4 mount, run the
mountcommand in Linux Terminal; if there is such a device connect, it would show up like this:
umount <device_path>to unmount the device
- Troubleshoot the external storage device separately, and reconnect it once the connection to it is working correctly
Monitor the Kerio Connect service, which should not crash anymore.