facebook

CodeMix Engine Couldn’t Start

  1. CodeMix & Angular IDE
  2.  > 
  3. Getting Help
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #643362 Reply

    robertsuna
    Participant

    The following message appears after update.

    The problem is that it is against our policy to give an user application a root access.
    So this solutin is not applicable for us.
    A revert of eclipse to previous state is also not possible because the genuitec repositor for the older version is not available. So our coding is blocked due to disfunctionality of codemix.

    Pls. give me a hint how ot overcome this.

    ——————-
    Engine process exited with value: 133
    “`[8011:0226/085011.408883:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I’m aborting now. You need to make sure that /opt/eclipse-2019-12/plugins/com.genuitec.eclipse.code.engine.app.linux.x86_64_3.6.0.202002212104/engine/chrome-sandbox is owned by root and has mode 4755.

    “`

    #643365 Reply

    support-swapna
    Moderator

    Robert,

    Is the engine connected now?
    If you are still seeing the issue, please check this workaround : Please see this thread for the possible workaround : https://github.com/standardnotes/forum/issues/690#issuecomment-531802728

    Can you please let us know if you are on Debian based Linux? Also share with us the .log file located at workspace dir/.metadata/.log to help us get full details of the errors logged. Change the extension to .txt and attach it here.

    Apologies for inconvenience caused. Please let us know if the workaround helps.

    –Swapna
    Genuitec Support

    #643367 Reply

    robertsuna
    Participant

    The start log of Eclipse is as follows. It’s Debian 10, Eclipse 2019-12

    The question is how to pass the –no-sandbox option to the
    /opt/eclipse-2019-12/plugins/com.genuitec.eclipse.code.engine.app.linux.x86_64_3.6.0.202002212104/engine/chrome-sandbox
    because its called by eclipse/CodeMix.

    !SESSION 2020-02-26 08:50:00.112 ———————————————–
    eclipse.buildId=4.14.0.I20191210-0610
    java.version=13.0.2
    java.vendor=Debian
    BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
    Framework arguments: -product org.eclipse.epp.package.jee.product
    Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product

    !ENTRY com.genuitec.eclipse.code.ui 1 0 2020-02-26 08:50:04.711
    !MESSAGE CodeMix Engine will be started momentarily to support development activities

    !ENTRY org.eclipse.e4.ui.workbench 4 0 2020-02-26 08:50:05.651
    !MESSAGE Unable to retrieve the bundle from the URI: bundleclass://com.genuitec.eclipse.meexplorer/com.genuitec.eclipse.meexplorer.breadcrumb.e4.BreadCrumbContainer

    !ENTRY com.genuitec.eclipse.code.core 1 0 2020-02-26 08:50:11.323
    !MESSAGE Verifying CodeMix Engine runtime integrity…

    !ENTRY com.genuitec.eclipse.code.core 1 0 2020-02-26 08:50:11.331
    !MESSAGE IntegrityCheck: Artifacts located at: [/opt/eclipse-2019-12/artifacts.xml]

    !ENTRY com.genuitec.eclipse.code.core 1 0 2020-02-26 08:50:11.341
    !MESSAGE Integrity check PASSED

    !ENTRY com.genuitec.eclipse.code.core 1 0 2020-02-26 08:50:11.386
    !MESSAGE CodeMix Engine engine has been started

    !ENTRY com.genuitec.eclipse.code.core 4 0 2020-02-26 08:50:11.412
    !MESSAGE CodeMix Engine Process has ended unexpectedly [133]: [8011:0226/085011.408883:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I’m aborting now. You need to make sure that /opt/eclipse-2019-12/plugins/com.genuitec.eclipse.code.engine.app.linux.x86_64_3.6.0.202002212104/engine/chrome-sandbox is owned by root and has mode 4755.

    #643375 Reply

    support-swapna
    Moderator

    Robert,

    Thank you for the log and details.
    We could get around the error at our end by following the below steps :

    1. Open Terminal & switch to the root user using command sudo -i. Please note that switching to root user is for enabling the kernel feature ‘user namespaces’ and this does not give root access to the application i.e eclipse/codemix.
    2. Provide the credentials if it asks & run the below command :
    echo 'kernel.unprivileged_userns_clone=1' > /etc/sysctl.d/00-local-userns.conf
    3. Reboot the machine and then launch Eclipse. The engine should now be connected.

    Hope this helps. Please let us know how you get on with the workaround.

    –Swapna
    Genuitec Support

    #643378 Reply

    robertsuna
    Participant

    Swapna,

    thanks for your support. The solution is working.

    #643379 Reply

    support-swapna
    Moderator

    Robert,

    Glad that it works. Thank you for getting back to us.
    Please let us know if you see any issues with CodeMix.

    –Swapna
    Genuitec Support

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: CodeMix Engine Couldn’t Start

You must be logged in to post in the forum log in