ERROR: Cannot start runtime. Most likely, the runtime is already active or still active

0
When trying to run my Docker container on a cloud platform, I get the following error when starting the runtime:   [2021-06-08T12:20:43.328309815Z] ERROR: Forking subprocess failed: 10 (No child processes) [2021-06-08T12:20:43.329533427Z] ERROR: Cannot start runtime. Most likely, the runtime is already active or still active   Full logging: [2021-06-08T12:20:25.601402279Z] INFO: [2021-06-08T12:20:25.601473556Z]                               ##        . [2021-06-08T12:20:25.601485796Z]                          ## ## ##       == [2021-06-08T12:20:25.601491474Z]                        ## ## ## ##      === [2021-06-08T12:20:25.601496343Z]                    /""""""""""""""""\___/ === [2021-06-08T12:20:25.601501791Z]               ~~~ {~~ ~~~~ ~~~ ~~~~ ~~ ~ /  ===- ~~~ [2021-06-08T12:20:25.601507373Z]                    \______ o          __/ [2021-06-08T12:20:25.601516148Z]                      \    \        __/ [2021-06-08T12:20:25.601526344Z]                       \____\______/ [2021-06-08T12:20:25.601531438Z] [2021-06-08T12:20:25.601536267Z]      __  __        _  _     _____             _ [2021-06-08T12:20:25.601541544Z]     |  \/  |      | || |   |  __ \           | | [2021-06-08T12:20:25.601546796Z]     | \  / |_  __ | || |_  | |  | | ___   ___| | _____ _ __ [2021-06-08T12:20:25.601553312Z]     | |\/| \ \/ / |__   _| | |  | |/ _ \ / __| |/ / _ \ '__| [2021-06-08T12:20:25.601558667Z]     | |  | |>  <     | |   | |__| | (_) | (__|   <  __/ | [2021-06-08T12:20:25.601569415Z]     |_|  |_/_/\_\    |_|   |_____/ \___/ \___|_|\_\___|_| [2021-06-08T12:20:25.601574903Z] [2021-06-08T12:20:25.601580112Z]                                 digitalecosystems@mendix.com [2021-06-08T12:20:25.601584388Z] [2021-06-08T12:20:25.601589371Z] [2021-06-08T12:20:25.601595151Z]      [2021-06-08T12:20:25.602852210Z] INFO: Adding uid to /etc/passwd [2021-06-08T12:20:26.734747514Z] INFO: Mendix Cloud Foundry Buildpack v4.15.4 [56339ad] starting... [2021-06-08T12:20:26.735005261Z] WARNING: CF_INSTANCE_INDEX environment variable not found. Assuming responsibility for scheduled events execution and database synchronization commands. [2021-06-08T12:20:26.827815763Z] ERROR: Unable to fixup permissions of directory 'model' with mode 700: [Errno 1] Operation not permitted: '/opt/mendix/build/model', Ignoring. [2021-06-08T12:20:26.828686395Z] ERROR: Unable to fixup permissions of directory 'web' with mode 755: [Errno 1] Operation not permitted: '/opt/mendix/build/web', Ignoring. [2021-06-08T12:20:26.829205540Z] ERROR: Unable to fixup permissions of directory 'data' with mode 700: [Errno 1] Operation not permitted: '/opt/mendix/build/data', Ignoring. [2021-06-08T12:20:26.851172427Z] WARNING: External file store not configured, uploaded files in the app will not persist across restarts. See https://github.com/mendix/cf-mendix-buildpack for file store configuration details. [2021-06-08T12:20:27.275645499Z] INFO: Using Java version: [2021-06-08T12:20:27.275980602Z] INFO: openjdk version "11.0.10" 2021-01-19 [2021-06-08T12:20:27.276249331Z] INFO: OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.10+9) [2021-06-08T12:20:27.276552449Z] INFO: OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.10+9, mixed mode) [2021-06-08T12:20:27.343671910Z] INFO: The buildpack is starting the runtime... [2021-06-08T12:20:27.356917387Z] INFO: Trying to start the MxRuntime... [2021-06-08T12:20:43.328309815Z] ERROR: Forking subprocess failed: 10 (No child processes) [2021-06-08T12:20:43.328353389Z] [2021-06-08T12:20:43.329533427Z] ERROR: Cannot start runtime. Most likely, the runtime is already active or still active [2021-06-08T12:20:43.332118914Z] INFO: Waiting for the application to shutdown... [2021-06-08T12:20:43.713965134Z] INFO: The application has been stopped successfully. I tested the image and it can run locally, but fails in the cloud. What could be causing this?
asked
2 answers
0

You should file a ticket at support.mendix.com . It seams like someting is broken in the cloud environment and only Mendix can fix that.

Best regards,

Diederik

answered
0

I have the same problem running  a locally working docker image on Google Cloud RUN.

Solution was to set the Execution environment

from default (First generation) to Second generation

 

 

First generation

Faster cold starts.

 

Second generation

Network file system support, full Linux compatibility, faster CPU and network performance.

 

 Learn More 

 

BR

 

Attila

answered