Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » Full Text and Instant Messaging server fail to start after moving to different server
  •  
LehmansSysAdmin

Messages: 43
Karma: 0
Send a private message to this user
Ever since we moved Kerio Connect to a different server (from Windows 2003 x86 to Windows 2008 R2 x64), the full text and XMPP servers will not start. The following entries appear in the error log when Kerio Connect is started.

[04/Feb/2016 18:38:27] processJava.cpp: FullText: Missing javaservices/fulltext/FullTextServer.jar file. Java subprocess cannot be started.
[04/Feb/2016 18:38:27] kerio/mailserver/StoreHeritageConfigurator.hpp: Failed to start fulltext service.
[04/Feb/2016 18:39:12] Process.cpp: Instant Messaging: Missing essential JRE files. Terminate server, start the installer and run repair installation.

I checked the path listed, and confirmed that the FullTextServer.jar file exists, as well as all of the other files in the javaservices folder.

Thanks in advance for any help or advice.
  •  
Think Fixed

Messages: 460

Karma: 29
Send a private message to this user
You should try reindexing the full text search in Advanced/Store Directory. I remember that sometimes the XMPP data can get corrupt, but I don't remember where to go to fix that. All of my Kerio Connect servers are running on CentOS, and one is running on a Mac server. If you can't find the solution here, you should contact Kerio support.

Howie Isaacks
Systems Admin | Apple Solutions Consultant
Think Fixed LLC, Dallas and Fort Worth

www.thinkfixed.com
  •  
Tomas Skoda (Kerio)

Messages: 107
Karma: 20
Send a private message to this user
How did you "move" the Kerio Connect server? Have you just copied <mailserver_installation_directory> or have you performed fresh installation and restored data?

I believe you still have 32bit version of Kerio Connect server. On 64bit systems all applications must be installed under "Program Files (x86)" otherwise it won't work correctly. Does it applies to your server as well (in the case you've just moved it)?

Run '<mailserver_installation_dir>\javaservices\jre\bin\java --version' in command line. What is the output?

Cheers,
Tomas
  •  
LehmansSysAdmin

Messages: 43
Karma: 0
Send a private message to this user
The 64-bit version of Kerio Connect was installed and the steps in "Method 2" on this page were followed...

http://kb.kerio.com/product/kerio-connect/server-configurati on/export-and-migration/transferring-an-installation-of-keri o-connect-to-another-server-or-operating-system-360.html

The version command failed...

Unrecognized option: --version
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
  •  
Brian Carmichael (Kerio)

Messages: 645
Karma: 65
Send a private message to this user
If you moved from the 32-bit version of Kerio Connect to the 64-bit version then you need to follow the steps in this article http://kb.kerio.com/product/kerio-connect/installation-and-u pgrade/switching-from-a-32-bit-installation-of-kerio-connect -to-64-bit-1844.html
I've updated KB 360 to add this information.

Brian Carmichael
Senior Technical Marketing Engineer | Kerio
Stay Connected Anytime, Anywhere. Discover Kerio Cloud!
  •  
LehmansSysAdmin

Messages: 43
Karma: 0
Send a private message to this user
Thanks for the tip, but there are no "C:\Program Files (x86)\" references in the config file. In fact, there are no references to any path like C:\Program Files... in the mailserver.cfg file.

The original installation was 32-bit on a 32-bit OS. I installed the 64-bit version on a 64-bit OS, and then followed the steps in "Method 2" on this page...

http://kb.kerio.com/product/kerio-connect/server-configurati on/export-and-migration/transferring-an-installation-of-keri o-connect-to-another-server-or-operating-system-360.html
  •  
LehmansSysAdmin

Messages: 43
Karma: 0
Send a private message to this user
To perhaps clarify further, the server was running Windows 2003 32-bit, with a separate volume where the mail store folder was located. I preserved the data volume and re-built the server with Windows 2008 R2 Server Core, installed Kerio Connect, and replaced the files as specified in the KB 360 article. Kerio Connect came on-line just fine. It is just the XMPP services that are not starting.

In the mailserver.cfg file, there is this...

<table name="InstantMessaging">
<variable name="Port">4042</variable>
<variable name="MaxMemorySize">256</variable>
<variable name="Enabled">1</variable>
<variable name="Federation">0</variable>
<variable name="RosterMaximum">300</variable>
<variable name="RosterRefreshPeriod">900</variable>
<variable name="StartServiceTimeout">180</variable>
<variable name="MessageSentTimeout">120</variable>
<variable name="ResponseReceiveTimeout">180</variable>
<variable name="InitialConnectionTimeout">180</variable>
<variable name="ArchiveFileSize">50</variable>
<variable name="StorePath">E:\MailServer\store/xmpp</variable>
</table>

Does it matter that the last slash in the "storepath" for this table name entry is a forward slash instead of a backslash?
  •  
j.a.duke

Messages: 347
Karma: 10
Send a private message to this user
LehmansSysAdmin wrote on Fri, 12 February 2016 11:47
<snip>
<variable name="StorePath">E:\MailServer\store/xmpp</variable>
<snip>
Does it matter that the last slash in the "storepath" for this table name entry is a forward slash instead of a backslash?


I thought I posted this earlier....

I agree with your finding. That forward slash is likely the problem.

I would compare the other paths in the config file to see if any of them have a forward slash. Probably the most likely candidate to look at would be the archive path.

Let us know what you find.

Cheers,
Jon

[Updated on: Sat, 13 February 2016 02:21]

  •  
LehmansSysAdmin

Messages: 43
Karma: 0
Send a private message to this user
Changing the forward slash to a back slash and restarting Kerio Connect solved the problem. Thanks for your help!
Previous Topic: Unknown User in "Activ Connections" List
Next Topic: Linux glibc vulnerability (CVE-2015-7547)
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: Fri Apr 28 12:06:34 CEST 2017

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