Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » What happen if a backup can not written?
  •  
scornelissen85

Messages: 17
Karma: 0
Send a private message to this user
We are using Kerio Connect version 7.4.3 on a CentOS server. We have have configured to make a backup to a NFS share. We had an issue with our NFS-server while the full-backup was performed. This causes our Kerio Connect srver go over his open file limit. In the warning log we received this:

Connection attempt to service HTTPS from IP address <ip-address> rejected: too many connections. Connection limit is 1000.

In the error log we can read:

MessageFolder.cpp: Cannot open message file /opt/kerio/mailserver/store/mail/domain.com/user/INBOX/#msgs/0000cc18.eml in mode rb: (24) Too many open files

After that we had messages like User ~user<_at_>domain.com: journal corruption detected - journal was removed. New profiles in email clients may have to be created (specially in Outlook 2011 and ActiveSync) in the warning log.

At this point we cannot acces our e-mailby webmail nor by Outlook or phone. We recovered the connections with restarting the Kerio service.

What happen when a NFS server becomes unreachable with Kerio Connect? Is it possible to change this way so that the Kerio Connect mailserver will be reachable?
  •  
TorW

Messages: 769
Karma: 9
Send a private message to this user
The Kerio Connect backup in itself does not know about NFS mounts. It just writes the backup files to wherever you have configured it to write. If an NFS mount disappears in the middle of a backup, the temporary work file (.part) suddenly disappears for the backup process. File systems are not supposed to go away, so the backup will wait for it to reappear forever.

To get around this, mount the NFS volume soft. I.e. use "soft" as a mount option on the mail server. This will make the backup process give up after a while, and you will get a failed backup instead of a hanging mail server. We use timeo=600,soft in our NFS mounts.
  •  
pcunix

Messages: 594
Karma: 33
Send a private message to this user
Or just backup to a local drive and have a low priority job copy stuff wherever later.

That method also lets you make copies to multiple places and doesn't slowdown the backup because of network speed.

Tony Lawrence
Kerio Preferred Partner and Reseller
Certified for Connect, Control
http://aplawrence.com
Previous Topic: Unsubscription Requests from some devices
Next Topic: KOC setup "The requested operation failed"
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Mon Oct 23 00:40:33 CEST 2017

Total time taken to generate the page: 0.00437 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.