Setting up Kadira on a Ubuntu 16.04 Server part 1
Michael Lazarski
195

Thank you so much for your detailed posts, I’m looking forward to seeing the last one.

I’m having trouble running this on Centos 7. The /etc/systemd/system/mongodb.service is failing to start.

I’m getting the following, which once I get down to ./run.sh it too fails since it’s looking for User/mongodb.

[kadira@kadira-server system]$ sudo systemctl status mongodb
 mongodb.service — High-performance, schema-free document-oriented database
Loaded: loaded (/etc/systemd/system/mongodb.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2017–05–16 05:46:44 PDT; 6s ago
Process: 2614 ExecStart=/usr/bin/mongod — quiet — config /etc/mongod.conf (code=exited, status=217/USER)
Main PID: 2614 (code=exited, status=217/USER)
May 16 05:46:44 kadira-server systemd[1]: Started High-performance, schema-free document-oriented database.
May 16 05:46:44 kadira-server systemd[1]: Starting High-performance, schema-free document-oriented database…
May 16 05:46:44 kadira-server systemd[1]: mongodb.service: main process exited, code=exited, status=217/USER
May 16 05:46:44 kadira-server systemd[1]: Unit mongodb.service entered failed state.
May 16 05:46:44 kadira-server systemd[1]: mongodb.service failed.

Any ideas? Thanks!

Show your support

Clapping shows how much you appreciated Stephen Payne’s story.