The server is running, but users cannot log in.


Error message in client

Error reading buffer. The type initializer for Systemite.lz4.Lz4 threw an exception.


Resolution

The vcruntime.dll file is missing from the client directory. Adding it should solve the error.


The server is running, but users cannot log in.


Error message from log file

INFO  sws     - InitObjects end
[15044] INFO sws - Initializing...
[15044] INFO sws - Initializing Libraries
[15044] INFO Init - File repository: E:\SystemIte\Repository
[15044] INFO Init - File repository opened.
[15044] INFO Server - Database loaded.
[15044] INFO Server - UseSSL=False
[15044] INFO Server - Connecting to port: 3003
[15044] INFO tcp - TCP listening to 3003
[15044] INFO Server - Server started.
[16316] INFO  tcp     - Connection opened from 10.251.196.175
[16316] ERROR tcp - Exception in TCPServerConnect: Unable to load lz4 library
[16316] ERROR tcp     - Exception in TCPServerDisConnect: Access violation at address 000000000088C4FE in module 'swServer64.exe'. Read of address 0000000000000088


Resolution

Update Visual C++ Redistributable for Visual Studio on the server. This is often already installed on Windows machines because many other programs also use it. If a machine is basically clean with not much installed, it may also be missing. If that is the case, you will need to install it: Download Microsoft Visual C++ Redistributable for Visual Studio 2017.


The server is running, but users cannot log in.


Error message from log file

ERROR  SWConnection.Execute> Could not load file or assembly 'Systemite.Lz4, Version=1.0.6725.25651, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.   at Systemite.SystemWeaver.TcpSubServer.TcpConnection.WritePacket(Byte[] packet, Boolean fromEventThread)
at Systemite.SystemWeaver.TcpSubServer.TcpConnection.WriteBytes(Byte[] bytes, Boolean fromEventThread) in E:\AutomatedBuild\repos\trunk\CSharp\Source\Applications\Systemite.SystemWeaver.TcpSubServer\Project\TcpConnection.cs:line 145
   at Systemite.SystemWeaver.TcpSubServer.TcpConnection.Execute() in E:\AutomatedBuild\repos\trunk\CSharp\Source\Applications\Systemite.SystemWeaver.TcpSubServer\Project\TcpConnection.cs:line 107


Resolution

The Systemite.Lz4 file is missing from the server directory. Adding it should resolve the error.


The server will not start. 


Error message

Database is invalid version: 1.XX. This server requires database version: 1.XX.


Resolution

The version of the server application is not compatible with the version of the database. Contact your SystemWeaver Administrator or support@systemite.se for assistance.


The server will not start.


Error message

Error - Only one usage of each socket address (protocol/network address/port) is normally permitted


Resolution

The port number is already in use. Enter a different port number for the server. 


The server will not start.


Error message

INFO  main    - Command thread error: Error reading Integer from pipe.

INFO  main    - Command thread stopped

INFO  main    - TCP Server stopped with error: 1


Resolution

Check to see that you have the certificate file in the same location as the server executable. Check also that the libeay32.dll and ssleay32.dll files are there as well.