Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » Instant messaging service fails to start
  •  
larsgp

Messages: 5

Karma: 0
Send a private message to this user
I've recently upgraded to 8.1.2 and everything was working fine. Suddenly today, I am unable to start the instant messaging service. Here is the log files:

debug.log:
[12/Dec/2013 12:20:10][1167] {im} Process or channel is in unexpected state.
[12/Dec/2013 12:20:10][1167] {im} Going to stop process and channels.
[12/Dec/2013 12:20:10][1167] {im} Deinit XMPP protocol parser.
[12/Dec/2013 12:20:10][1733] {im} Exiting logging thread.
[12/Dec/2013 12:20:10][1167] {im} Stop process and channels finished.
[12/Dec/2013 12:20:10][1167] {im} Going to start process and channels.
[12/Dec/2013 12:20:10][1872] {im} Starting logging thread.
[12/Dec/2013 12:20:10][1167] {im} XMPP debug log setting message has been arranged (id: d0923de7-55ce-49f9-8bb0-0fc9aac4c27d).
[12/Dec/2013 12:20:10][1167] {im} XMPP client open stream message has been arranged (id: fcbdb670-da1d-4cfd-981c-8b6eaf75b1a2).
[12/Dec/2013 12:20:10][1167] {im} Initial config message has been arranged (id: aab576bd-de50-4add-97b2-ac74c66e6fcd). Admin API: 127.0.0.1:4040, Client API: 127.0.0.1:4040
[12/Dec/2013 12:20:10][1167] {im} External Instant Messaging process is expected to listen on '4042' port. Connecting to external process...
[12/Dec/2013 12:20:10][1872] {im} [external] Starting Instant Messaging service (IMService.start)
[12/Dec/2013 12:20:10][1872] {im} [external] Initializing core component (StartServer.run)
[12/Dec/2013 12:20:10][1872] {im} [external] Processing startup configuration (StoreConfiguration.cmd)
[12/Dec/2013 12:20:10][1872] {im} [external] Processing startup configuration successful (StoreConfiguration.cmd)
[12/Dec/2013 12:20:11][1872] {im} [external] Initializing core component successful (StartServer.run)
[12/Dec/2013 12:20:11][1872] {im} [external] Startup timeout set to 180 seconds and counting ...  (StartServer$StartupTimeout.<init>)
[12/Dec/2013 12:20:11][1872] {im} [external] Initializing xmpp component (StartServer.run)
[12/Dec/2013 12:20:11][1872] {im} [external] Adding plugin containers (CheckClassPath.run)
[12/Dec/2013 12:20:11][1872] {im} [external] Class-path changed: javaservices/xmppserver/service-im.jar:javaservices/xmppserver/lib/service-im-tigase.jar:javaservices/xmppserver/lib/tigase-server.jar (CheckClassPath.run)
[12/Dec/2013 12:20:11][1872] {im} [external] Applying default system properties (ApplySystemProperties.run)
[12/Dec/2013 12:20:11][1872] {im} [external] Starting Tigase server (TigaseServerImpl.tigaseMain)
[12/Dec/2013 12:20:11][1872] {im} [external] Checking database root folder /mnt/10.11.12.231/kerio/mailserver/store/xmpp/database (AddDatabaseRoot.run)
[12/Dec/2013 12:20:11][1872] {im} [external] Applying default Tigase configuration values: CONFIG_TYPE (ApplyTigaseProperties.run)
[12/Dec/2013 12:20:11][1872] {im} [external] Added default config parameter: (config-type=--gen-config-def) (ConfiguratorAbstract.processProperty)
[12/Dec/2013 12:20:11][1872] {im} [external] Added default config parameter: (--virt-hosts=kerio-connect.private) (ConfiguratorAbstract.processProperty)
[12/Dec/2013 12:20:11][1872] {im} [external] Added default config parameter: (--cluster-mode=false) (ConfiguratorAbstract.processProperty)
[12/Dec/2013 12:20:11][1872] {im} [external] Added default config parameter: (--user-db=derby) (ConfiguratorAbstract.processProperty)
[12/Dec/2013 12:20:11][1872] {im} [external] Added default config parameter: (--script-dir=/mnt/10.11.12.231/kerio/mailserver/store/xmpp/scripts) (ConfiguratorAbstract.processProperty)
[12/Dec/2013 12:20:11][1872] {im} [external] Added default config parameter: (--user-db-uri=jdbc:derby:/mnt/10.11.12.231/kerio/mailserver/store/xmpp/database/kerio-connect.private) (ConfiguratorAbstract.processProperty)
[12/Dec/2013 12:20:11][1872] {im} [external] Added default config parameter: (--sm-threads-pool=custom:10) (ConfiguratorAbstract.processProperty)
[12/Dec/2013 12:20:11][1872] {im} [external] Added default config parameter: (--sm-plugins= -starttls,+connect-starttls,-vcard-temp,+connect-vcard,-jabber:iq:auth,-urn:ietf:params:xml:ns:xmpp-sasl,+connect-sasl,+urn:ietf:params:xml:ns:xmpp-bind,+urn:ietf:params:xml:ns:xmpp-session,-jabber:iq:register,+jabber:iq:roster,+presence,+jabber:iq:privacy,+jabber:iq:version,- h t t p://jabber.org/protocol/stats,+msgoffline,-h t t p ://jabber.org/protocol/commands,+jabber:iq:private,+urn:xmpp:ping,+con...) (ConfiguratorAbstract.processProperty)
[12/Dec/2013 12:20:11][1872] {im} [external] Added default config parameter: (--derby.system.home=/opt/kerio/mailserver/javaservices/xmppserver) (ConfiguratorAbstract.processProperty)
[12/Dec/2013 12:20:11][1872] {im} [external] Added default config parameter: (--ssl-def-cert-domain=kerio-connect.private) (ConfiguratorAbstract.processProperty)
[12/Dec/2013 12:20:11][1872] {im} [external] Added default config parameter: (--auth-db=com.kerio.im.tigase.auth.ConnectAuthenticator) (ConfiguratorAbstract.processProperty)
[12/Dec/2013 12:20:11][1872] {im} [external] Added default config parameter: (--admins=engine-im<_at_>kerio-connect.private) (ConfiguratorAbstract.processProperty)
[12/Dec/2013 12:20:11][1872] {im} [external] Added default config parameter: (--comp-name-1=service-im) (ConfiguratorAbstract.processProperty)
[12/Dec/2013 12:20:11][1872] {im} [external] Added default config parameter: (--comp-class-1=com.kerio.im.tigase.ConnectComponent) (ConfiguratorAbstract.processProperty)
[12/Dec/2013 12:20:11][1872] {im} [external] Added default config parameter: (--comp-name-2=conference) (ConfiguratorAbstract.processProperty)
[12/Dec/2013 12:20:11][1872] {im} [external] Added default config parameter: (--comp-class-2=tigase.muc.MUCComponent) (ConfiguratorAbstract.processProperty)
[12/Dec/2013 12:20:11][1872] {im} [external] Checking database for domain kerio-connect.private (CheckDatabase.run)
[12/Dec/2013 12:20:11][1872] {im} [external] Checking database on location /mnt/10.11.12.231/kerio/mailserver/store/xmpp/database/kerio-connect.private (DerbyChecker.check)
[12/Dec/2013 12:20:11][1872] {im} [external] Checking if database folder exists and is accessible (DerbyChecker.checkIfExists)
[12/Dec/2013 12:20:11][1872] {im} [external] Checking if database is bootable (DerbyChecker.checkIfBootable)
[12/Dec/2013 12:21:10][1167] {im} Instant Messaging: Failed to connect to external process.
[12/Dec/2013 12:21:10][1167] {im} Problem has occurred.


error.log:
[12/Dec/2013 12:20:11] StdErrChannel.cpp: Instant Messaging [external]: Starting Tigase server failed (IMService.main): com.kerio.im.common.error.ServiceException: Starting Tigase server failed at com.kerio.im.tigase.TigaseServerImpl.tigaseMain(TigaseServerImpl.java:91) at com.kerio.im.tigase.TigaseServerImpl.start(TigaseServerImpl.java:59) at com.kerio.im.tigase.TigaseServerFactory.get(TigaseServerFactory.java:28) at com.kerio.im.service.task.StartServer.run(StartServer.java:51) at com.kerio.im.service.task.StartServer.run(StartServer.java:32) at com.kerio.im.service.IMService.run(IMService.java:82) at com.kerio.im.service.IMService.start(IMService.java:78) at com.kerio.im.service.IMService.main(IMService.java:32) Caused by: com.kerio.im.xmpp.api.XmppException: Tigase initialization failed at com.kerio.im.tigase.configuration.ConnectConfigurator.init(ConnectConfigurator.java:105) at com.kerio.im.tigase.TigaseServerImpl.tigaseMain(TigaseServerImpl.java:73) ... 7 more Caused by: com.kerio.im.xmpp.api.XmppException: Checking databas
[12/Dec/2013 12:21:26] StdErrChannel.cpp: Instant Messaging [external]: Starting Tigase server failed (IMService.main): com.kerio.im.common.error.ServiceException: Starting Tigase server failed at com.kerio.im.tigase.TigaseServerImpl.tigaseMain(TigaseServerImpl.java:91) at com.kerio.im.tigase.TigaseServerImpl.start(TigaseServerImpl.java:59) at com.kerio.im.tigase.TigaseServerFactory.get(TigaseServerFactory.java:28) at com.kerio.im.service.task.StartServer.run(StartServer.java:51) at com.kerio.im.service.task.StartServer.run(StartServer.java:32) at com.kerio.im.service.IMService.run(IMService.java:82) at com.kerio.im.service.IMService.start(IMService.java:78) at com.kerio.im.service.IMService.main(IMService.java:32) Caused by: com.kerio.im.xmpp.api.XmppException: Tigase initialization failed at com.kerio.im.tigase.configuration.ConnectConfigurator.init(ConnectConfigurator.java:105) at com.kerio.im.tigase.TigaseServerImpl.tigaseMain(TigaseServerImpl.java:73) ... 7 more Caused by: com.kerio.im.xmpp.api.XmppException: Checking databas
[12/Dec/2013 12:22:25] HealthMonitor.cpp: Problem has occured in the 'Instant Messaging' component. 5 failures has been found. Component is paused for another 10 minutes. Enable 'Instant Messaging' debug logging and inspect the log for more details.


warning.log:
[12/Dec/2013 12:20:39] Locale support for language C (C.UTF8) is not installed on the system: locale::facet::_S_create_c_locale name not valid


I've restart the server and changed the limit value in the startup script. No luck. Anything else I can do?
  •  
larsgp

Messages: 5

Karma: 0
Send a private message to this user
I've solved the problem by removing the xmpp database folder kerio-connect.private and my domain and then restarting the service. I also fixed DNS SRV record for the domain.
Previous Topic: Windows vs. Mac (and Amazon Web Services)
Next Topic: Kerio Kalender Label
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 Aug 21 04:56:25 CEST 2017

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