Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » IM Databases not creating (IM Databases not creating, IM clients are unable to connect.)
  •  
GetSync'd

Messages: 213
Karma: 16
Send a private message to this user
We are seeing the following messages in our warning log, this group of message is repeated every 15 minutes. Because these databases are not created, we cannot get IM clients to connect with the server.

[10/Jul/2013 09:54:28] Instant Messaging [external]: Failed to process domain adtechnc.com (DomainFullSync$ExtDomainsHandler.handle): com.kerio.im.xmpp.api.XmppException: Creating new database /opt/kerio/mailserver/store/xmpp/database/adtechnc.com failed at com.kerio.im.tigase.derby.DerbyHandler.create(DerbyHandler.j ava:48) at com.kerio.im.tigase.DomainServiceImpl.activate(DomainService Impl.java:154) at com.kerio.im.core.domain.DomainControl.add(DomainControl.jav a:69) at com.kerio.im.core.domain.DomainFullSync$ExtDomainsHandler.ha ndle(DomainFullSync.java:87) at com.kerio.im.connect.AdminApi.getAllDomains(AdminApi.java:12 6) at com.kerio.im.connect.ExtServiceImpl.getAllDomains(ExtService Impl.java:99) at com.kerio.im.core.domain.DomainFullSync.sync(DomainFullSync. java:44) at com.kerio.im.core.domain.DomainFullSync.run(DomainFullSync.j ava:35) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknow n Source) at java.util.concurrent.Futu
[10/Jul/2013 09:54:28] Instant Messaging [external]: Failed to process domain getvist.com (DomainFullSync$ExtDomainsHandler.handle): com.kerio.im.xmpp.api.XmppException: Creating new database /opt/kerio/mailserver/store/xmpp/database/getvist.com failed at com.kerio.im.tigase.derby.DerbyHandler.create(DerbyHandler.j ava:48) at com.kerio.im.tigase.DomainServiceImpl.activate(DomainService Impl.java:154) at com.kerio.im.core.domain.DomainControl.add(DomainControl.jav a:69) at com.kerio.im.core.domain.DomainFullSync$ExtDomainsHandler.ha ndle(DomainFullSync.java:87) at com.kerio.im.connect.AdminApi.getAllDomains(AdminApi.java:12 6) at com.kerio.im.connect.ExtServiceImpl.getAllDomains(ExtService Impl.java:99) at com.kerio.im.core.domain.DomainFullSync.sync(DomainFullSync. java:44) at com.kerio.im.core.domain.DomainFullSync.run(DomainFullSync.j ava:35) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknow n Source) at java.util.concurrent.Future
[10/Jul/2013 09:54:28] Instant Messaging [external]: Failed to process domain wolfgangusa.com (DomainFullSync$ExtDomainsHandler.handle): com.kerio.im.xmpp.api.XmppException: Creating new database /opt/kerio/mailserver/store/xmpp/database/wolfgangusa.com failed at com.kerio.im.tigase.derby.DerbyHandler.create(DerbyHandler.j ava:48) at com.kerio.im.tigase.DomainServiceImpl.activate(DomainService Impl.java:154) at com.kerio.im.core.domain.DomainControl.add(DomainControl.jav a:69) at com.kerio.im.core.domain.DomainFullSync$ExtDomainsHandler.ha ndle(DomainFullSync.java:87) at com.kerio.im.connect.AdminApi.getAllDomains(AdminApi.java:12 6) at com.kerio.im.connect.ExtServiceImpl.getAllDomains(ExtService Impl.java:99) at com.kerio.im.core.domain.DomainFullSync.sync(DomainFullSync. java:44) at com.kerio.im.core.domain.DomainFullSync.run(DomainFullSync.j ava:35) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknow n Source) at java.util.concurren
[10/Jul/2013 09:54:28] Instant Messaging [external]: Failed to process domain newea.org (DomainFullSync$ExtDomainsHandler.handle): com.kerio.im.xmpp.api.XmppException: Failed to check database /opt/kerio/mailserver/store/xmpp/database/newea.org at com.kerio.im.tigase.derby.DerbyChecker.check(DerbyChecker.ja va:74) at com.kerio.im.tigase.DomainServiceImpl.activate(DomainService Impl.java:150) at com.kerio.im.core.domain.DomainControl.add(DomainControl.jav a:69) at com.kerio.im.core.domain.DomainFullSync$ExtDomainsHandler.ha ndle(DomainFullSync.java:87) at com.kerio.im.connect.AdminApi.getAllDomains(AdminApi.java:12 6) at com.kerio.im.connect.ExtServiceImpl.getAllDomains(ExtService Impl.java:99) at com.kerio.im.core.domain.DomainFullSync.sync(DomainFullSync. java:44) at com.kerio.im.core.domain.DomainFullSync.run(DomainFullSync.j ava:35) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknow n Source) at java.util.concurrent.FutureTask.runA
[10/Jul/2013 09:54:28] Instant Messaging [external]: Failed to process domain theopenpivot.com (DomainFullSync$ExtDomainsHandler.handle): com.kerio.im.xmpp.api.XmppException: Failed to check database /opt/kerio/mailserver/store/xmpp/database/theopenpivot.com at com.kerio.im.tigase.derby.DerbyChecker.check(DerbyChecker.ja va:74) at com.kerio.im.tigase.DomainServiceImpl.activate(DomainService Impl.java:150) at com.kerio.im.core.domain.DomainControl.add(DomainControl.jav a:69) at com.kerio.im.core.domain.DomainFullSync$ExtDomainsHandler.ha ndle(DomainFullSync.java:87) at com.kerio.im.connect.AdminApi.getAllDomains(AdminApi.java:12 6) at com.kerio.im.connect.ExtServiceImpl.getAllDomains(ExtService Impl.java:99) at com.kerio.im.core.domain.DomainFullSync.sync(DomainFullSync. java:44) at com.kerio.im.core.domain.DomainFullSync.run(DomainFullSync.j ava:35) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknow n Source) at java.util.concurrent.F
[10/Jul/2013 09:54:28] Instant Messaging [external]: Failed to process domain justformac.co.uk (DomainFullSync$ExtDomainsHandler.handle): com.kerio.im.xmpp.api.XmppException: Failed to check database /opt/kerio/mailserver/store/xmpp/database/justformac.co.uk at com.kerio.im.tigase.derby.DerbyChecker.check(DerbyChecker.ja va:74) at com.kerio.im.tigase.DomainServiceImpl.activate(DomainService Impl.java:150) at com.kerio.im.core.domain.DomainControl.add(DomainControl.jav a:69) at com.kerio.im.core.domain.DomainFullSync$ExtDomainsHandler.ha ndle(DomainFullSync.java:87) at com.kerio.im.connect.AdminApi.getAllDomains(AdminApi.java:12 6) at com.kerio.im.connect.ExtServiceImpl.getAllDomains(ExtService Impl.java:99) at com.kerio.im.core.domain.DomainFullSync.sync(DomainFullSync. java:44) at com.kerio.im.core.domain.DomainFullSync.run(DomainFullSync.j ava:35) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknow n Source) at java.util.concurrent.F
[10/Jul/2013 09:54:28] Instant Messaging [external]: Failed to process domain benecomllc.com (DomainFullSync$ExtDomainsHandler.handle): com.kerio.im.xmpp.api.XmppException: Failed to check database /opt/kerio/mailserver/store/xmpp/database/benecomllc.com at com.kerio.im.tigase.derby.DerbyChecker.check(DerbyChecker.ja va:74) at com.kerio.im.tigase.DomainServiceImpl.activate(DomainService Impl.java:150) at com.kerio.im.core.domain.DomainControl.add(DomainControl.jav a:69) at com.kerio.im.core.domain.DomainFullSync$ExtDomainsHandler.ha ndle(DomainFullSync.java:87) at com.kerio.im.connect.AdminApi.getAllDomains(AdminApi.java:12 6) at com.kerio.im.connect.ExtServiceImpl.getAllDomains(ExtService Impl.java:99) at com.kerio.im.core.domain.DomainFullSync.sync(DomainFullSync. java:44) at com.kerio.im.core.domain.DomainFullSync.run(DomainFullSync.j ava:35) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknow n Source) at java.util.concurrent.Futur
[10/Jul/2013 09:54:28] Instant Messaging [external]: Failed to process domain hamachitoro.com (DomainFullSync$ExtDomainsHandler.handle): com.kerio.im.xmpp.api.XmppException: Failed to check database /opt/kerio/mailserver/store/xmpp/database/hamachitoro.com at com.kerio.im.tigase.derby.DerbyChecker.check(DerbyChecker.ja va:74) at com.kerio.im.tigase.DomainServiceImpl.activate(DomainService Impl.java:150) at com.kerio.im.core.domain.DomainControl.add(DomainControl.jav a:69) at com.kerio.im.core.domain.DomainFullSync$ExtDomainsHandler.ha ndle(DomainFullSync.java:87) at com.kerio.im.connect.AdminApi.getAllDomains(AdminApi.java:12 6) at com.kerio.im.connect.ExtServiceImpl.getAllDomains(ExtService Impl.java:99) at com.kerio.im.core.domain.DomainFullSync.sync(DomainFullSync. java:44) at com.kerio.im.core.domain.DomainFullSync.run(DomainFullSync.j ava:35) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknow n Source) at java.util.concurrent.Fut
[10/Jul/2013 09:54:28] Instant Messaging [external]: Failed to process domain sudburyfoundation.org (DomainFullSync$ExtDomainsHandler.handle): com.kerio.im.xmpp.api.XmppException: Failed to check database /opt/kerio/mailserver/store/xmpp/database/sudburyfoundation. org at com.kerio.im.tigase.derby.DerbyChecker.check(DerbyChecker.ja va:74) at com.kerio.im.tigase.DomainServiceImpl.activate(DomainService Impl.java:150) at com.kerio.im.core.domain.DomainControl.add(DomainControl.jav a:69) at com.kerio.im.core.domain.DomainFullSync$ExtDomainsHandler.ha ndle(DomainFullSync.java:87) at com.kerio.im.connect.AdminApi.getAllDomains(AdminApi.java:12 6) at com.kerio.im.connect.ExtServiceImpl.getAllDomains(ExtService Impl.java:99) at com.kerio.im.core.domain.DomainFullSync.sync(DomainFullSync. java:44) at com.kerio.im.core.domain.DomainFullSync.run(DomainFullSync.j ava:35) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknow n Source) at java.util.co
[10/Jul/2013 09:54:28] Instant Messaging [external]: Failed to process domain massdrunkdriving.com (DomainFullSync$ExtDomainsHandler.handle): com.kerio.im.xmpp.api.XmppException: Failed to check database /opt/kerio/mailserver/store/xmpp/database/massdrunkdriving.c om at com.kerio.im.tigase.derby.DerbyChecker.check(DerbyChecker.ja va:74) at com.kerio.im.tigase.DomainServiceImpl.activate(DomainService Impl.java:150) at com.kerio.im.core.domain.DomainControl.add(DomainControl.jav a:69) at com.kerio.im.core.domain.DomainFullSync$ExtDomainsHandler.ha ndle(DomainFullSync.java:87) at com.kerio.im.connect.AdminApi.getAllDomains(AdminApi.java:12 6) at com.kerio.im.connect.ExtServiceImpl.getAllDomains(ExtService Impl.java:99) at com.kerio.im.core.domain.DomainFullSync.sync(DomainFullSync. java:44) at com.kerio.im.core.domain.DomainFullSync.run(DomainFullSync.j ava:35) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknow n Source) at java.util.conc
[10/Jul/2013 09:54:28] Instant Messaging [external]: Failed to process domain theurbangrape.com (DomainFullSync$ExtDomainsHandler.handle): com.kerio.im.xmpp.api.XmppException: Failed to check database /opt/kerio/mailserver/store/xmpp/database/theurbangrape.com at com.kerio.im.tigase.derby.DerbyChecker.check(DerbyChecker.ja va:74) at com.kerio.im.tigase.DomainServiceImpl.activate(DomainService Impl.java:150) at com.kerio.im.core.domain.DomainControl.add(DomainControl.jav a:69) at com.kerio.im.core.domain.DomainFullSync$ExtDomainsHandler.ha ndle(DomainFullSync.java:87) at com.kerio.im.connect.AdminApi.getAllDomains(AdminApi.java:12 6) at com.kerio.im.connect.ExtServiceImpl.getAllDomains(ExtService Impl.java:99) at com.kerio.im.core.domain.DomainFullSync.sync(DomainFullSync. java:44) at com.kerio.im.core.domain.DomainFullSync.run(DomainFullSync.j ava:35) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknow n Source) at java.util.concurrent

GetSync'd.Com
Certified Hosted Kerio Connect Solutions
Kerio Mail Boxes / Dedicated Kerio Servers / Managed Kerio Cloud
http://www.getsyncd.com
  •  
Mark Price (Kerio)

Messages: 136
Karma: 17
Send a private message to this user
Hello there!

I do have a suggestion that may correct, but! if this doesn't you may want to consider raising a support ticket please!

stop Connect first, locate the xmpp/database folder located in the error and remove the domain folders that are erroring. Start Connect and then try again.

If this doesn't work, then please raise a ticket!

Mark Price
Kerio technical support.

Log Support Incidents here: http://www.kerio.com/support
Also, please use our KB: http://kb.kerio.com
  •  
netground

Messages: 21
Karma: 0
Send a private message to this user
We get the same warnings on 3 different Kerio Connect servers, even after updating to Kerio Connect 8.1.2 (1523) on Ubuntu 10.04, x86_64.

Strange thing is that on all the servers the amount of domains created is different from the amount of domains who have a database in /home/kerio/xmpp/database/.

On 1 server there are 72 created domains on the server but only 54 have a folder in /home/kerio/xmpp/database/
The warnings that appear are about the domains that do not have their own folder.

Amount of domains on the server:
root@kerio2:/home/kerio/mail# ls -1 |wc -l
72

Amount of domains with a database folder:
root@kerio2:/home/kerio/xmpp/database# ls -l |wc -l
54


The warning messages come every 15 minutes, for every domain which have no database folder:
[09/Aug/2013 13:29:45] Instant Messaging [external]: Failed to process domain XXXXXXXXXXX.nl (DomainFullSync$ExtDomainsHandler.handle): com.kerio.im.xmpp.api.XmppException: Creating new database /home/kerio/xmpp/database/XXXXXXXXXXXX.nl failed at com.kerio.im.tigase.derby.DerbyHandler.create(DerbyHandler.java:48) at com.kerio.im.tigase.DomainServiceImpl.activate(DomainServiceImpl.java:154) at com.kerio.im.core.domain.DomainControl.add(DomainControl.java:69) at com.kerio.im.core.domain.DomainFullSync$ExtDomainsHandler.handle(DomainFullSync.java:87) at com.kerio.im.connect.AdminApi.getAllDomains(AdminApi.java:126) at com.kerio.im.connect.ExtServiceImpl.getAllDomains(ExtServiceImpl.java:99) at com.kerio.im.core.domain.DomainFullSync.sync(DomainFullSync.java:44) at com.kerio.im.core.domain.DomainFullSync.run(DomainFullSync.java:35) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source) at java.util.concurrent.FutureTask.runAndR

Net Ground B.V.
Domainname registration, webhosting, Kerio hostedmail, Streaming VOD and Live streams, Virtual servers (VMware), dedicated servers, managed servers, cloudhosting.

http://www.netground.nl
  •  
Tomas Skoda (Kerio)

Messages: 107
Karma: 20
Send a private message to this user
It is hard to say what breaks domain synchronisation without seeing complete server and IM logs but I guess you have reached maximum open files limit. Edit the /etc/init.d/kerio-connect file, change "ulimit -n 4096" to "ulimit -n 12000" and restart server.

Please follow Mark suggestion if it does not help.

Cheers,
Tomas Skoda
  •  
GetSync'd

Messages: 213
Karma: 16
Send a private message to this user
Changing the ulimit -n to 8192 has fixed the issue. This maybe something that you want to put in the /etc/init.d script on the next release.

GetSync'd.Com
Certified Hosted Kerio Connect Solutions
Kerio Mail Boxes / Dedicated Kerio Servers / Managed Kerio Cloud
http://www.getsyncd.com
Previous Topic: Spam Repellent logged, but message still delivered
Next Topic: When an appointment was registered
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: Tue Oct 24 00:25:11 CEST 2017

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