question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to run embedded Mongo instance on CentOS Linux release 7.9.2009 (Core) machine - using Flapdoodle 3.4.8

See original GitHub issue

I am trying to run an embedded MongoDB instance with version 4.2.13, using Flapdoodle version 3.4.8 to do so. When I try to run the tests on our CentOS Linux release 7.9.2009 (Core) machine, I receive the following error:

12:07:04  Download V4_2:Platform{operatingSystem=Linux, architecture=X86_64} DONE
12:07:04  Extract /home/jenkins/.embedmongo/linux/mongodb-linux-x86_64-ubuntu1804-4.2.13.tgz START
12:07:04  Extract /home/jenkins/.embedmongo/linux/mongodb-linux-x86_64-ubuntu1804-4.2.13.tgz extract mongodb-linux-x86_64-ubuntu1804-4.2.13/bin/mongod
12:07:04  Extract /home/jenkins/.embedmongo/linux/mongodb-linux-x86_64-ubuntu1804-4.2.13.tgz nothing left
12:07:04  Extract /home/jenkins/.embedmongo/linux/mongodb-linux-x86_64-ubuntu1804-4.2.13.tgz DONE
12:07:04  [mongod error]/tmp/extract-29fba7e3-bcce-4a29-b537-3a9b6928a3a8extractmongod: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
12:07:04  [mongod error] 
12:07:18  [2022-07-27 16:07:16,618] ERROR [main]: mongo.InMemoryMongoPropertiesConfigurator -- Failed to create MongoClient for integration tests.
12:07:18  java.lang.RuntimeException: Could not start process: <EOF>

Does anyone know why this is happening?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
vyu-talendcommented, Dec 6, 2022

@vyu-talend can you test this with this new release an close this issue if everything is fine? thanks:)

Hello @michaelmosmann , Sorry for the delay, I checked with the new release, and it works fine. Thanks a lot.

1reaction
michaelmosmanncommented, Oct 12, 2022

@vyu-talend the os detection can not decide which os matches (could be CentOS or Amazon (just based on host names, because there is no other way to guess) … you can override this with this system property: de.flapdoodle.os.override=Linux|X86_64|CentOS|CentOS_7 (choose the right version)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does my flapdoodle Embedded MongoDB test fail to run ...
I was in the same situation, and I could resolve it using @DirtiesContext on this way: @DirtiesContext(classMode = ClassMode.
Read more >
flapdoodle-oss - Bountysource
Unable to run embedded Mongo instance on CentOS Linux release 7.9.2009 (Core) machine - using Flapdoodle 3.4.8 $ 0. Created 4 months ago...
Read more >
Flapdoodle Embedded MongoDB - Maven Repository
Version Vulnerabilities Repository Usages Date 4.1.x 4.1.3 Central 0 Dec 09, 2022 4.1.2 4.1.x Central 0 Dec 09, 2022 4.1.1 4.1.x Central 0 Dec 08, 2022...
Read more >
Organization Flapdoodle OSS | Embedmongo.flapdoodle.de
If you are looking for the older version you can find it in the 1.7 branch. Embedded MongoDB. Embedded MongoDB will provide a...
Read more >
Spring Boot with Embedded MongoDB - Spring Framework Guru
As the embedded MongoDB runs in memory, it is blazing fast and will save you lot of time both during development and running...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found