+5
Fixed

Ubuntu 20.04 LTS ScreenConnect_20.1.27036.7360 not working

Martin Frost 7 months ago updated by Rishikesh Gajul (Product Manager) 3 months ago 13

Also true for ScreenConnect_19.6.27027.7360


Install appears to work OK except it takes a very long time. Cannot  connect using a browser. The following is an extract from /var/log/screenconnect

at ScreenConnect.Program.Main (System.String[] args) [0x003f2] in <4ef52993e0a94961bda7f0cf9808c2e4>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'libc' threw an exception. ---> System.InvalidOperationException: Unable to load native library from 'libc.so'
at ScreenConnect.DiskNativeLibrary..ctor (System.String libraryPath) [0x00035] in :0
at ScreenConnect.MonoToolkit+MonoDiskNativeLibrary..ctor (System.String libraryPath) [0x00000] in :0
at ScreenConnect.MonoToolkit.LoadNativeLibraryFromDisk (System.String libraryPath) [0x00000] in :0
at ScreenConnect.NativeLibrary.LoadLibrary (System.String libraryName, System.Type lookInAssemblyWithType) [0x00039] in :0
at ScreenConnect.NativeLibrary.LoadLibrary (System.Type type, System.Type lookInAssemblyWithType) [0x00006] in :0
at ScreenConnect.NativeLibrary.LoadProxy (System.Type type, System.Type lookInAssemblyWithType) [0x0000c] in :0
at ScreenConnect.NativeLibrary.LoadProxy[T] (System.Type lookInAssemblyWithType) [0x00000] in :0
at ScreenConnect.MonoNative+libc..cctor () [0x0000a] in :0
--- End of inner exception stack trace ---

ConnectWise Control Version:
20.4
Server Affected:
Host Client Affected:
Guest Client Affected:

I was able to work around this by symlinking to the necessary files in /lib/x86_64-linux-gnu:


  • ln -s libc-2.31.so libc.so
  • ln -s libdl-2-31.so libdl.so
  • ln -s libz.so.1.2.11 libz.so

After that's done, restart the screenconnect service, and you should be up and running.

I confirmed this as a problem for Ubuntu 20.04.  However, I had to move the existing libc.so and then only needed to run the following commmand for it to work: 

(In in /lib/x86_64-linux-gnu) 

ln -s libc-2.31.so libc.so

Once this was done the web service started.

I also needed to install libc6-dev and libz-dev. Without those two the linking did not work.

i have the same problem after the upgrade to 20.04. CPU saves to 100% with process from mono. webpage not reachable.


@justin arendt
can you indicate which data I have to move to get it working?

+2

apt install libc6-dev libz-dev

cd  /lib/x86_64-linux-gnu

mv libc.so libc.so.old

ln -s libc-2.31.so libc.so

Then reboot

Thanks!! it works!!

i had a very similar issue on CentOS 6, it was the version of java that shipped with the OS. I uninstalled Java and installed java-11-openjdk. Sharing here in case it's related and can fix the issues for you guys



Glad to hear it works now.

Waiting for information

Hi All,

20.2 is available for Pre-release. Please download and test it:

https://www.connectwise.com/software/control/download

ScreenConnect_20.2.29488.7519_Debug.tar.gz

Let us know the results.

I have installed the debug version and the libc issue still is a problem with the debug version...

Will see if the memory leak is fixed though...

+1

Looks like so far the memory leak is fixed.

Do not have any of the slowness that occurs and ram levels are stable.

Commenting disabled