Rocky Linux 9.5 - MongoDB Error Install Error

Rocky Linux 9.5
Deadline 10.4.0.13

Getting the following error on a fresh install:

Unable to run to "/tmp/repoinstalltemp/mongo/mongodb-linux-x86_64-rhel90-6.0.16/bin/mongod --version" to verify the MongoDB binaries. Please ensure you're installing the proper version of MongoDB for your operating system.

Well, I am still struggling to get this exact config to work myself, but I can tell you that I have not gotten that particular error.

1 Like

What error are you getting?

I fixed this by setting my processor type to host on a Proxmox Vm.

My issue turned out to be with the firewall, hat tip to @anthonygelatka for the solution

1 Like

I’m getting the same error… had it before… Today downloaded the latest deadline and installed fresh Rocky 9.5
And getting the same error. Last time I had this install working on Linux was a while ago in centos… that is broken for months now, and I trieda couple of times so far and no luck. I always get stuck at the installation of MongoDB and never managed to get it running even tried annual MongoDB, which proved to be even worse hell. ANYONE have an idea how to install deadline repository and work with mongoDB on Rocky 9.5, please? I’ve put repository on an windows machine temporarily but that is crap and hallways having issue with it. and connection to it… I want my rocky running deadline repo :frowning:

Do you have all this installed?

sudo dnf install bzip2 initscripts chkconfig compat-openssl11

sud dnf update

selinux disabled? worth disabling this and firewall while setting up. If you need the security you can enable and create exceptions when up and running.

the service still installs under init.d which isn’t in Rocky 9

It was a total fresh install of Rocky, so none of those extra things were added. I will try. Before Rocky, I was running it on CentOS, and it was installing perfectly fine until recently, when it started failing. I will try these and see how it goes.

That alone did not help, next thing I’m gonna try manual install MongoDB again and see if that works. In any case, installing MongoDB from the installer directly downloaded from the internet option has been failing for months now couple of past versions. It works on Windows… but Windows… blah :slight_smile:

Solved it.
Main issue was missing libcrypto.so.1.1 and after that there was missing /etc/init.d folder. Here is what fixed it for me:

Install compat-openssl11 for libcrypto.so.1.1

sudo dnf install -y compat-openssl11

Create /etc/init.d/ directory

sudo mkdir -p /etc/init.d

Set permissions and ownership

sudo chown root:root /etc/init.d
sudo chmod 755 /etc/init.d

Set SELinux context

sudo restorecon -R /etc/init.d

Set SELinux to permissive (temporary)

sudo setenforce 0

ANd install after that.

1 Like

I give up.

After install everything seems to work, deadoinercs working, I can connect from worker machines all fine. As soon as machine is rebooted… MongoDB is gone… and I mean it is gone like it was never installed…
Wasted whole day trying to figure out what is going on and fix and no luck…

Reinstall. run all fine… Reboot computer… MongoDB isgone…

So II give up…

Is there ANYONE that got this crap working on rocky linux or any linux at all???

And one more update, installed rocky 8, same thing happens. Firs,t install everything, works deadline connects to MongoDB. After a restart connection refuses, and mongoddb is not working any more…

I found if I manually made the init.d folder it fails, if you try to install initscripts after this it fails to install because that folder it there. but if you install initscripts it does it properly.

you should be able to install mongo via deadline with Rocky9.5 and it’ll get the supported version (6)

I manged to isntall it through deadline at the end it was missing libcrypto.so.1.1
Problem is that it works all fine until I reboot. As soon s I reboot it is like mongo is not installed at all. Folder is missing some files and cannot start MongoDB service at all.
Reinstall again tun all fine, reboot… mongo gone again…

Anyone got stable working deadline repository install on rocky 9.5 or even 8?

yes, lots of places have this installed and running. best to check the logs and see where it’s going wrong, I’m guessing the mongo service somewhere.

Well, it is definitely mongo but no idea what happens… As said, I installed it, and it all works. I rebooted it, and there is no more Mongo. Trying to start service manually… no command exists it is like it is not installed at all any more :frowning:

I’m sorry for spaming but can anyone, someone please tell me why is my MongoDB failing after reboot, and how to get it stable and working, please?
I even disabled SELinux, reinstalled rocky numerous times, deadline even more… everysingel time identical scaneario. I install deadline and mongo, it works all good until I reboot system. after that… all over again…

What did aI miss in installation process??

is it really not in the default location /opt/Deadline10Database? or is it the way you set up init that doesn’t relaunch the service?

There should be logs anyhow, try again with 10.4.1 and make sure the client also has 10.4.1

Database is there bu tMongoDB just stops working after reboot. And also some frames from Database are missing cant even run MongoDB service as mongosh command simply does not exist

unless you add the commands to PATH, you’ll need to locate the commands in the folder they’re run from

image