Canot enable Collaborative Editing, synchrony won'T start
Asked by Carsten Grzemba:

I upgraded confluence from 6.15.4 to 7.4.3. After that I can't start or enable Collaborative Editing

In the attlassian-confluence.log:

2020-09-03 14:59:46,603 INFO \[Long running task: EnableTask\] \[plugins.synchrony.tasks.AbstractConfigLongRunningTask\] execute Removed 0 stale shared drafts.  
2020-09-03 14:59:46,905 INFO \[synchrony-interop-executor:thread-1\] \[plugins.synchrony.bootstrap.DefaultSynchronyProcessManager\] isSynchronyProxyEnabled proxy port present: true  
2020-09-03 14:59:46,936 ERROR \[Long running task: EnableTask\] \[confluence.util.longrunning.ConfluenceAbstractLongRunningTask\] run Long running task "EnableTask" failed to run.  
-- url: /confluence/rest/synchrony-interop/enable \| referer: <https://jira.contac.lan/confluence/admin/confluence-collaborative-editor-plugin/configure.action> \| traceId: 4cee475a43588eea \| userName: admin  
java.lang.NoClassDefFoundError: Could not initialize class oshi.jna.platform.linux.Libc  
at oshi.software.os.unix.solaris.SolarisOperatingSystem.getProcessId(SolarisOperatingSystem.java:186)  
at com.atlassian.confluence.plugins.synchrony.bootstrap.DefaultSynchronyProcessManager.getConfluenceProcessId(DefaultSynchronyProcessManager.java:702)  
at com.atlassian.confluence.plugins.synchrony.bootstrap.DefaultSynchronyProcessManager.setupEnvironment(DefaultSynchronyProcessManager.java:391)  
at com.atlassian.confluence.plugins.synchrony.bootstrap.DefaultSynchronyProcessManager.trySetup(DefaultSynchronyProcessManager.java:709)  
at com.atlassian.confluence.plugins.synchrony.bootstrap.DefaultSynchronyProcessManager.lambda$startProcess$1(DefaultSynchronyProcessManager.java:603)  
at java.util.concurrent.FutureTask.run(FutureTask.java:266)  
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)  
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)  
at java.lang.Thread.run(Thread.java:748)

Java version:

java version "1.8.0_221"  
Java(TM) SE Runtime Environment (build 1.8.0_221-b11)  
Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)

OS version:

SunOS jira 5.11 11.4.14.5.0 i86pc i386 i86pc


Answers:
author: Diego
body: Hello [@Carsten Grzemba](/t5/user/viewprofilepage/user-id/266287) !

Looking at the error you posted here:
> 2020-09-03 14:59:46,936 ERROR \[Long running task: EnableTask\] \[confluence.util.longrunning.ConfluenceAbstractLongRunningTask\] run Long running task "EnableTask" failed to run.  
> -- url: /confluence/rest/synchrony-interop/enable \| referer: <https://jira.contac.lan/confluence/admin/confluence-collaborative-editor-plugin/configure.action> \| traceId: 4cee475a43588eea \| userName: admin  
> java.lang.NoClassDefFoundError: Could not initialize class oshi.jna.platform.linux.Libc

I believe that you are affected by the situation described here:
> * [++***\[Confluence Server\] Synchrony startup fails with "Failed to get mem_unit from sysinfo" error***++](https://confluence.atlassian.com/confkb/synchrony-startup-fails-with-failed-to-get-mem_unit-from-sysinfo-error-986877754.html)

You can check the the workaround at the end of the Knowledge Base page. I do recommend that you read the entire page for a better understanding of the issue.

Let us hear from you!


Tags: confluence-server

server