Mongod.service wont start after reinstall

oaj@pop-os:/$ ss -tlnp
State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
LISTEN 0 32 192.168.130.1:53 0.0.0.0:*
LISTEN 0 32 192.168.122.1:53 0.0.0.0:*
LISTEN 0 4096 127.0.0.53%lo:53 0.0.0.0:*
LISTEN 0 128 127.0.0.1:631 0.0.0.0:*
LISTEN 0 4096 [::ffff:127.0.0.1]:43273 : users:((“java”,pid=6646,fd=138))
LISTEN 0 4096 [::ffff:127.0.0.1]:63342 : users:((“java”,pid=6646,fd=64))
LISTEN 0 128 [::1]:631 [::]:*
LISTEN 0 4096 [::ffff:127.0.0.1]:6942 : users:((“java”,pid=6646,fd=36))
LISTEN 0 511 *:39653 : users:((“apache2”,pid=3282,fd=4),(“apache2”,pid=3281,fd=4),(“apache2”,pid=3279,fd=4))

oaj@pop-os:/$ ps -aef | grep [m]ongod
root 23329 7444 0 17:24 pts/1 00:00:00 sudo gedit mongod.log
root 23330 23329 0 17:24 pts/5 00:00:00 sudo gedit mongod.log
root 23331 23330 0 17:24 pts/5 00:00:34 gedit mongod.log

oaj@pop-os:/$ ls -l /var/run/mongodb/mongod.pid
ls: cannot access ‘/var/run/mongodb/mongod.pid’: No such file or directory

oaj@pop-os:/$ ls -l /tmp/mongodb-*
ls: cannot access ‘/tmp/mongodb-*’: No such file or directory

oaj@pop-os:/$ date
Wed May 25 08:29:03 PM AST 2022

Oh, this came out with a lot:

oaj@pop-os:/$ sudo systemctl start mongod
[sudo] password for oaj:
oaj@pop-os:/$ sudo systemctl status mongod
○ mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor prese>
Active: inactive (dead)
Docs: https://docs.mongodb.org/manual

May 25 17:22:21 pop-os systemd[1]: Started MongoDB Database Server.
May 25 17:22:21 pop-os mongod[23189]: about to fork child process, waiting unti>
May 25 17:22:21 pop-os mongod[23191]: forked process: 23191
May 25 17:22:21 pop-os mongod[23189]: child process started successfully, paren>
May 25 17:22:22 pop-os systemd[1]: mongod.service: Deactivated successfully.
May 25 20:29:44 pop-os systemd[1]: Started MongoDB Database Server.
May 25 20:29:44 pop-os mongod[35082]: about to fork child process, waiting unti>
May 25 20:29:44 pop-os mongod[35084]: forked process: 35084
May 25 20:29:45 pop-os mongod[35082]: child process started successfully, paren>
May 25 20:29:45 pop-os systemd[1]: mongod.service: Deactivated successfully.
lines 1-15/15 (END)

○ mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor pres>
Active: inactive (dead)
Docs: https://docs.mongodb.org/manual

May 25 17:22:21 pop-os systemd[1]: Started MongoDB Database Server.
May 25 17:22:21 pop-os mongod[23189]: about to fork child process, waiting unt>
May 25 17:22:21 pop-os mongod[23191]: forked process: 23191
May 25 17:22:21 pop-os mongod[23189]: child process started successfully, pare>
May 25 17:22:22 pop-os systemd[1]: mongod.service: Deactivated successfully.
May 25 20:29:44 pop-os systemd[1]: Started MongoDB Database Server.
May 25 20:29:44 pop-os mongod[35082]: about to fork child process, waiting unt>
May 25 20:29:44 pop-os mongod[35084]: forked process: 35084
May 25 20:29:45 pop-os mongod[35082]: child process started successfully, pare>
May 25 20:29:45 pop-os systemd[1]: mongod.service: Deactivated successfully.
~
~
~
~
~
~
~
~
lines 1-15/15 (END)

○ mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor prese>
Active: inactive (dead)
Docs: https://docs.mongodb.org/manual

May 25 17:22:21 pop-os systemd[1]: Started MongoDB Database Server.
May 25 17:22:21 pop-os mongod[23189]: about to fork child process, waiting unti>
May 25 17:22:21 pop-os mongod[23191]: forked process: 23191
May 25 17:22:21 pop-os mongod[23189]: child process started successfully, paren>
May 25 17:22:22 pop-os systemd[1]: mongod.service: Deactivated successfully.
May 25 20:29:44 pop-os systemd[1]: Started MongoDB Database Server.
May 25 20:29:44 pop-os mongod[35082]: about to fork child process, waiting unti>
May 25 20:29:44 pop-os mongod[35084]: forked process: 35084
May 25 20:29:45 pop-os mongod[35082]: child process started successfully, paren>
May 25 20:29:45 pop-os systemd[1]: mongod.service: Deactivated successfully.
~
~
~
~
~
~
~
~
lines 1-15/15 (END)

○ mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset>
Active: inactive (dead)
Docs: https://docs.mongodb.org/manual

May 25 17:22:21 pop-os systemd[1]: Started MongoDB Database Server.
May 25 17:22:21 pop-os mongod[23189]: about to fork child process, waiting until>
May 25 17:22:21 pop-os mongod[23191]: forked process: 23191
May 25 17:22:21 pop-os mongod[23189]: child process started successfully, parent>
May 25 17:22:22 pop-os systemd[1]: mongod.service: Deactivated successfully.
May 25 20:29:44 pop-os systemd[1]: Started MongoDB Database Server.
May 25 20:29:44 pop-os mongod[35082]: about to fork child process, waiting until>
May 25 20:29:44 pop-os mongod[35084]: forked process: 35084
May 25 20:29:45 pop-os mongod[35082]: child process started successfully, parent>
May 25 20:29:45 pop-os systemd[1]: mongod.service: Deactivated successfully.
~
~
~
~
~
~
~
~
lines 1-15/15 (END)

○ mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset:>
Active: inactive (dead)
Docs: https://docs.mongodb.org/manual

May 25 17:22:21 pop-os systemd[1]: Started MongoDB Database Server.
May 25 17:22:21 pop-os mongod[23189]: about to fork child process, waiting until >
May 25 17:22:21 pop-os mongod[23191]: forked process: 23191
May 25 17:22:21 pop-os mongod[23189]: child process started successfully, parent >
May 25 17:22:22 pop-os systemd[1]: mongod.service: Deactivated successfully.
May 25 20:29:44 pop-os systemd[1]: Started MongoDB Database Server.
May 25 20:29:44 pop-os mongod[35082]: about to fork child process, waiting until >
May 25 20:29:44 pop-os mongod[35084]: forked process: 35084
May 25 20:29:45 pop-os mongod[35082]: child process started successfully, parent >
May 25 20:29:45 pop-os systemd[1]: mongod.service: Deactivated successfully.
~
~
~
~
~
~
~
~
lines 1-15/15 (END)

○ mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: e>
Active: inactive (dead)
Docs: https://docs.mongodb.org/manual

May 25 17:22:21 pop-os systemd[1]: Started MongoDB Database Server.
May 25 17:22:21 pop-os mongod[23189]: about to fork child process, waiting until se>
May 25 17:22:21 pop-os mongod[23191]: forked process: 23191
May 25 17:22:21 pop-os mongod[23189]: child process started successfully, parent ex>
May 25 17:22:22 pop-os systemd[1]: mongod.service: Deactivated successfully.
May 25 20:29:44 pop-os systemd[1]: Started MongoDB Database Server.
May 25 20:29:44 pop-os mongod[35082]: about to fork child process, waiting until se>
May 25 20:29:44 pop-os mongod[35084]: forked process: 35084
May 25 20:29:45 pop-os mongod[35082]: child process started successfully, parent ex>
May 25 20:29:45 pop-os systemd[1]: mongod.service: Deactivated successfully.
~
~
~
~
~
~
~
~
lines 1-15/15 (END)

○ mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: ena>
Active: inactive (dead)
Docs: https://docs.mongodb.org/manual

May 25 17:22:21 pop-os systemd[1]: Started MongoDB Database Server.
May 25 17:22:21 pop-os mongod[23189]: about to fork child process, waiting until serv>
May 25 17:22:21 pop-os mongod[23191]: forked process: 23191
May 25 17:22:21 pop-os mongod[23189]: child process started successfully, parent exit>
May 25 17:22:22 pop-os systemd[1]: mongod.service: Deactivated successfully.
May 25 20:29:44 pop-os systemd[1]: Started MongoDB Database Server.
May 25 20:29:44 pop-os mongod[35082]: about to fork child process, waiting until serv>
May 25 20:29:44 pop-os mongod[35084]: forked process: 35084
May 25 20:29:45 pop-os mongod[35082]: child process started successfully, parent exit>
May 25 20:29:45 pop-os systemd[1]: mongod.service: Deactivated successfully.
~
~
~
~
~
~
~
~
lines 1-15/15 (END)

○ mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabl>
Active: inactive (dead)
Docs: https://docs.mongodb.org/manual

May 25 17:22:21 pop-os systemd[1]: Started MongoDB Database Server.
May 25 17:22:21 pop-os mongod[23189]: about to fork child process, waiting until server>
May 25 17:22:21 pop-os mongod[23191]: forked process: 23191
May 25 17:22:21 pop-os mongod[23189]: child process started successfully, parent exiting
May 25 17:22:22 pop-os systemd[1]: mongod.service: Deactivated successfully.
May 25 20:29:44 pop-os systemd[1]: Started MongoDB Database Server.
May 25 20:29:44 pop-os mongod[35082]: about to fork child process, waiting until server>
May 25 20:29:44 pop-os mongod[35084]: forked process: 35084
May 25 20:29:45 pop-os mongod[35082]: child process started successfully, parent exiting
May 25 20:29:45 pop-os systemd[1]: mongod.service: Deactivated successfully.
~
~
~
~
~
~
~
~
lines 1-15/15 (END)

○ mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: https://docs.mongodb.org/manual

May 25 17:22:21 pop-os systemd[1]: Started MongoDB Database Server.
May 25 17:22:21 pop-os mongod[23189]: about to fork child process, waiting until server is>
May 25 17:22:21 pop-os mongod[23191]: forked process: 23191
May 25 17:22:21 pop-os mongod[23189]: child process started successfully, parent exiting
May 25 17:22:22 pop-os systemd[1]: mongod.service: Deactivated successfully.
May 25 20:29:44 pop-os systemd[1]: Started MongoDB Database Server.
May 25 20:29:44 pop-os mongod[35082]: about to fork child process, waiting until server is>
May 25 20:29:44 pop-os mongod[35084]: forked process: 35084
May 25 20:29:45 pop-os mongod[35082]: child process started successfully, parent exiting
May 25 20:29:45 pop-os systemd[1]: mongod.service: Deactivated successfully.
~
~
~
~
~
~
~
~
lines 1-15/15 (END)

○ mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: https://docs.mongodb.org/manual

May 25 17:22:21 pop-os systemd[1]: Started MongoDB Database Server.
May 25 17:22:21 pop-os mongod[23189]: about to fork child process, waiting until server is re>
May 25 17:22:21 pop-os mongod[23191]: forked process: 23191
May 25 17:22:21 pop-os mongod[23189]: child process started successfully, parent exiting
May 25 17:22:22 pop-os systemd[1]: mongod.service: Deactivated successfully.
May 25 20:29:44 pop-os systemd[1]: Started MongoDB Database Server.
May 25 20:29:44 pop-os mongod[35082]: about to fork child process, waiting until server is re>
May 25 20:29:44 pop-os mongod[35084]: forked process: 35084
May 25 20:29:45 pop-os mongod[35082]: child process started successfully, parent exiting
May 25 20:29:45 pop-os systemd[1]: mongod.service: Deactivated successfully.
~
~
~
~
~
~
~
~
lines 1-15/15 (END)

○ mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: https://docs.mongodb.org/manual

May 25 17:22:21 pop-os systemd[1]: Started MongoDB Database Server.
May 25 17:22:21 pop-os mongod[23189]: about to fork child process, waiting until server is ready >
May 25 17:22:21 pop-os mongod[23191]: forked process: 23191
May 25 17:22:21 pop-os mongod[23189]: child process started successfully, parent exiting
May 25 17:22:22 pop-os systemd[1]: mongod.service: Deactivated successfully.
May 25 20:29:44 pop-os systemd[1]: Started MongoDB Database Server.
May 25 20:29:44 pop-os mongod[35082]: about to fork child process, waiting until server is ready >
May 25 20:29:44 pop-os mongod[35084]: forked process: 35084
May 25 20:29:45 pop-os mongod[35082]: child process started successfully, parent exiting
May 25 20:29:45 pop-os systemd[1]: mongod.service: Deactivated successfully.
~
~
~
~
~
~
~
~
lines 1-15/15 (END)

○ mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: https://docs.mongodb.org/manual

May 25 17:22:21 pop-os systemd[1]: Started MongoDB Database Server.
May 25 17:22:21 pop-os mongod[23189]: about to fork child process, waiting until server is ready for>
May 25 17:22:21 pop-os mongod[23191]: forked process: 23191
May 25 17:22:21 pop-os mongod[23189]: child process started successfully, parent exiting
May 25 17:22:22 pop-os systemd[1]: mongod.service: Deactivated successfully.
May 25 20:29:44 pop-os systemd[1]: Started MongoDB Database Server.
May 25 20:29:44 pop-os mongod[35082]: about to fork child process, waiting until server is ready for>
May 25 20:29:44 pop-os mongod[35084]: forked process: 35084
May 25 20:29:45 pop-os mongod[35082]: child process started successfully, parent exiting
May 25 20:29:45 pop-os systemd[1]: mongod.service: Deactivated successfully.
~
~
~
~
~
~
~
~
lines 1-15/15 (END)

○ mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: https://docs.mongodb.org/manual

May 25 17:22:21 pop-os systemd[1]: Started MongoDB Database Server.
May 25 17:22:21 pop-os mongod[23189]: about to fork child process, waiting until server is ready for co>
May 25 17:22:21 pop-os mongod[23191]: forked process: 23191
May 25 17:22:21 pop-os mongod[23189]: child process started successfully, parent exiting
May 25 17:22:22 pop-os systemd[1]: mongod.service: Deactivated successfully.
May 25 20:29:44 pop-os systemd[1]: Started MongoDB Database Server.
May 25 20:29:44 pop-os mongod[35082]: about to fork child process, waiting until server is ready for co>
May 25 20:29:44 pop-os mongod[35084]: forked process: 35084
May 25 20:29:45 pop-os mongod[35082]: child process started successfully, parent exiting
May 25 20:29:45 pop-os systemd[1]: mongod.service: Deactivated successfully.
~
~
~
~
~
~
~
~
lines 1-15/15 (END)

○ mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: https://docs.mongodb.org/manual

May 25 17:22:21 pop-os systemd[1]: Started MongoDB Database Server.
May 25 17:22:21 pop-os mongod[23189]: about to fork child process, waiting until server is ready for conne>
May 25 17:22:21 pop-os mongod[23191]: forked process: 23191
May 25 17:22:21 pop-os mongod[23189]: child process started successfully, parent exiting
May 25 17:22:22 pop-os systemd[1]: mongod.service: Deactivated successfully.
May 25 20:29:44 pop-os systemd[1]: Started MongoDB Database Server.
May 25 20:29:44 pop-os mongod[35082]: about to fork child process, waiting until server is ready for conne>
May 25 20:29:44 pop-os mongod[35084]: forked process: 35084
May 25 20:29:45 pop-os mongod[35082]: child process started successfully, parent exiting
May 25 20:29:45 pop-os systemd[1]: mongod.service: Deactivated successfully.
~
~
~
~
~
~
~
~
lines 1-15/15 (END)

○ mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: https://docs.mongodb.org/manual

May 25 17:22:21 pop-os systemd[1]: Started MongoDB Database Server.
May 25 17:22:21 pop-os mongod[23189]: about to fork child process, waiting until server is ready for connect>
May 25 17:22:21 pop-os mongod[23191]: forked process: 23191
May 25 17:22:21 pop-os mongod[23189]: child process started successfully, parent exiting
May 25 17:22:22 pop-os systemd[1]: mongod.service: Deactivated successfully.
May 25 20:29:44 pop-os systemd[1]: Started MongoDB Database Server.
May 25 20:29:44 pop-os mongod[35082]: about to fork child process, waiting until server is ready for connect>
May 25 20:29:44 pop-os mongod[35084]: forked process: 35084
May 25 20:29:45 pop-os mongod[35082]: child process started successfully, parent exiting
May 25 20:29:45 pop-os systemd[1]: mongod.service: Deactivated successfully.
~
~
~
~
~
~
~
~
lines 1-15/15 (END)

○ mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: https://docs.mongodb.org/manual

May 25 17:22:21 pop-os systemd[1]: Started MongoDB Database Server.
May 25 17:22:21 pop-os mongod[23189]: about to fork child process, waiting until server is ready for connections.
May 25 17:22:21 pop-os mongod[23191]: forked process: 23191
May 25 17:22:21 pop-os mongod[23189]: child process started successfully, parent exiting
May 25 17:22:22 pop-os systemd[1]: mongod.service: Deactivated successfully.
May 25 20:29:44 pop-os systemd[1]: Started MongoDB Database Server.
May 25 20:29:44 pop-os mongod[35082]: about to fork child process, waiting until server is ready for connections.
May 25 20:29:44 pop-os mongod[35084]: forked process: 35084
May 25 20:29:45 pop-os mongod[35082]: child process started successfully, parent exiting
May 25 20:29:45 pop-os systemd[1]: mongod.service: Deactivated successfully.
~
~
~
~
~
~
~
~
lines 1-15/15 (END)

○ mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: https://docs.mongodb.org/manual

May 25 17:22:21 pop-os systemd[1]: Started MongoDB Database Server.
May 25 17:22:21 pop-os mongod[23189]: about to fork child process, waiting until server is ready for connections.
May 25 17:22:21 pop-os mongod[23191]: forked process: 23191
May 25 17:22:21 pop-os mongod[23189]: child process started successfully, parent exiting
May 25 17:22:22 pop-os systemd[1]: mongod.service: Deactivated successfully.
May 25 20:29:44 pop-os systemd[1]: Started MongoDB Database Server.
May 25 20:29:44 pop-os mongod[35082]: about to fork child process, waiting until server is ready for connections.
May 25 20:29:44 pop-os mongod[35084]: forked process: 35084
May 25 20:29:45 pop-os mongod[35082]: child process started successfully, parent exiting
May 25 20:29:45 pop-os systemd[1]: mongod.service: Deactivated successfully.
~
~
~
~
~
~
~
~
lines 1-15/15 (END)

○ mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: https://docs.mongodb.org/manual

May 25 17:22:21 pop-os systemd[1]: Started MongoDB Database Server.
May 25 17:22:21 pop-os mongod[23189]: about to fork child process, waiting until server is ready for connections.
May 25 17:22:21 pop-os mongod[23191]: forked process: 23191
May 25 17:22:21 pop-os mongod[23189]: child process started successfully, parent exiting
May 25 17:22:22 pop-os systemd[1]: mongod.service: Deactivated successfully.
May 25 20:29:44 pop-os systemd[1]: Started MongoDB Database Server.
May 25 20:29:44 pop-os mongod[35082]: about to fork child process, waiting until server is ready for connections.
May 25 20:29:44 pop-os mongod[35084]: forked process: 35084
May 25 20:29:45 pop-os mongod[35082]: child process started successfully, parent exiting
May 25 20:29:45 pop-os systemd[1]: mongod.service: Deactivated successfully.
~
~
~
~
~
~
~
~
lines 1-15/15 (END)

○ mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: https://docs.mongodb.org/manual

May 25 17:22:21 pop-os systemd[1]: Started MongoDB Database Server.
May 25 17:22:21 pop-os mongod[23189]: about to fork child process, waiting until server is ready for connections.
May 25 17:22:21 pop-os mongod[23191]: forked process: 23191
May 25 17:22:21 pop-os mongod[23189]: child process started successfully, parent exiting
May 25 17:22:22 pop-os systemd[1]: mongod.service: Deactivated successfully.
May 25 20:29:44 pop-os systemd[1]: Started MongoDB Database Server.
May 25 20:29:44 pop-os mongod[35082]: about to fork child process, waiting until server is ready for connections.
May 25 20:29:44 pop-os mongod[35084]: forked process: 35084
May 25 20:29:45 pop-os mongod[35082]: child process started successfully, parent exiting
May 25 20:29:45 pop-os systemd[1]: mongod.service: Deactivated successfully.
~
~
~
~
~
~
~
~
lines 1-15/15 (END)

○ mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: https://docs.mongodb.org/manual

May 25 17:22:21 pop-os systemd[1]: Started MongoDB Database Server.
May 25 17:22:21 pop-os mongod[23189]: about to fork child process, waiting until server is ready for connections.
May 25 17:22:21 pop-os mongod[23191]: forked process: 23191
May 25 17:22:21 pop-os mongod[23189]: child process started successfully, parent exiting
May 25 17:22:22 pop-os systemd[1]: mongod.service: Deactivated successfully.
May 25 20:29:44 pop-os systemd[1]: Started MongoDB Database Server.
May 25 20:29:44 pop-os mongod[35082]: about to fork child process, waiting until server is ready for connections.
May 25 20:29:44 pop-os mongod[35084]: forked process: 35084
May 25 20:29:45 pop-os mongod[35082]: child process started successfully, parent exiting
May 25 20:29:45 pop-os systemd[1]: mongod.service: Deactivated successfully.
~
~
~
~
~
~
~
~
lines 1-15/15 (END)

○ mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: https://docs.mongodb.org/manual

May 25 17:22:21 pop-os systemd[1]: Started MongoDB Database Server.
May 25 17:22:21 pop-os mongod[23189]: about to fork child process, waiting until server is ready for connections.
May 25 17:22:21 pop-os mongod[23191]: forked process: 23191
May 25 17:22:21 pop-os mongod[23189]: child process started successfully, parent exiting
May 25 17:22:22 pop-os systemd[1]: mongod.service: Deactivated successfully.
May 25 20:29:44 pop-os systemd[1]: Started MongoDB Database Server.
May 25 20:29:44 pop-os mongod[35082]: about to fork child process, waiting until server is ready for connections.
May 25 20:29:44 pop-os mongod[35084]: forked process: 35084
May 25 20:29:45 pop-os mongod[35082]: child process started successfully, parent exiting
May 25 20:29:45 pop-os systemd[1]: mongod.service: Deactivated successfully.
~
~
~
~
~
~
~
~
lines 1-15/15 (END)

○ mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: https://docs.mongodb.org/manual

May 25 17:22:21 pop-os systemd[1]: Started MongoDB Database Server.
May 25 17:22:21 pop-os mongod[23189]: about to fork child process, waiting until server is ready for connections.
May 25 17:22:21 pop-os mongod[23191]: forked process: 23191
May 25 17:22:21 pop-os mongod[23189]: child process started successfully, parent exiting
May 25 17:22:22 pop-os systemd[1]: mongod.service: Deactivated successfully.
May 25 20:29:44 pop-os systemd[1]: Started MongoDB Database Server.
May 25 20:29:44 pop-os mongod[35082]: about to fork child process, waiting until server is ready for connections.
May 25 20:29:44 pop-os mongod[35084]: forked process: 35084
May 25 20:29:45 pop-os mongod[35082]: child process started successfully, parent exiting
May 25 20:29:45 pop-os systemd[1]: mongod.service: Deactivated successfully.
~
~
~
~
~
~
~
~

This is the log:

{“t”:{“$date”:“2022-05-25T20:29:44.914-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:20698, “ctx”:“-”,“msg”:“***** SERVER RESTARTED *****”}
{“t”:{“$date”:“2022-05-25T20:29:44.916-04:00”},“s”:“I”, “c”:“NETWORK”, “id”:4915701, “ctx”:“main”,“msg”:“Initialized wire specification”,“attr”:{“spec”:{“incomingExternalClient”:{“minWireVersion”:0,“maxWireVersion”:13},“incomingInternalClient”:{“minWireVersion”:0,“maxWireVersion”:13},“outgoing”:{“minWireVersion”:0,“maxWireVersion”:13},“isInternalClient”:true}}}
{“t”:{“$date”:“2022-05-25T20:29:44.916-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:23285, “ctx”:“main”,“msg”:“Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols ‘none’”}
{“t”:{“$date”:“2022-05-25T20:29:44.916-04:00”},“s”:“W”, “c”:“ASIO”, “id”:22601, “ctx”:“main”,“msg”:“No TransportLayer configured during NetworkInterface startup”}
{“t”:{“$date”:“2022-05-25T20:29:44.916-04:00”},“s”:“I”, “c”:“NETWORK”, “id”:4648601, “ctx”:“main”,“msg”:“Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize.”}
{“t”:{“$date”:“2022-05-25T20:29:44.917-04:00”},“s”:“W”, “c”:“ASIO”, “id”:22601, “ctx”:“main”,“msg”:“No TransportLayer configured during NetworkInterface startup”}
{“t”:{“$date”:“2022-05-25T20:29:44.917-04:00”},“s”:“I”, “c”:“REPL”, “id”:5123008, “ctx”:“main”,“msg”:“Successfully registered PrimaryOnlyService”,“attr”:{“service”:“TenantMigrationDonorService”,“ns”:“config.tenantMigrationDonors”}}
{“t”:{“$date”:“2022-05-25T20:29:44.917-04:00”},“s”:“I”, “c”:“REPL”, “id”:5123008, “ctx”:“main”,“msg”:“Successfully registered PrimaryOnlyService”,“attr”:{“service”:“TenantMigrationRecipientService”,“ns”:“config.tenantMigrationRecipients”}}
{“t”:{“$date”:“2022-05-25T20:29:44.917-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:5945603, “ctx”:“main”,“msg”:“Multi threading initialized”}
{“t”:{“$date”:“2022-05-25T20:29:44.917-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:4615611, “ctx”:“initandlisten”,“msg”:“MongoDB starting”,“attr”:{“pid”:35084,“port”:27017,“dbPath”:“/var/lib/mongodb”,“architecture”:“64-bit”,“host”:“pop-os”}}
{“t”:{“$date”:“2022-05-25T20:29:44.917-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:23403, “ctx”:“initandlisten”,“msg”:“Build Info”,“attr”:{“buildInfo”:{“version”:“5.0.8”,“gitVersion”:“c87e1c23421bf79614baf500fda6622bd90f674e”,“openSSLVersion”:“OpenSSL 1.1.1l 24 Aug 2021”,“modules”:,“allocator”:“tcmalloc”,“environment”:{“distmod”:“ubuntu2004”,“distarch”:“x86_64”,“target_arch”:“x86_64”}}}}
{“t”:{“$date”:“2022-05-25T20:29:44.917-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:51765, “ctx”:“initandlisten”,“msg”:“Operating System”,“attr”:{“os”:{“name”:“Pop”,“version”:“22.04”}}}
{“t”:{“$date”:“2022-05-25T20:29:44.917-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:21951, “ctx”:“initandlisten”,“msg”:“Options set by command line”,“attr”:{“options”:{“config”:“/etc/mongod.conf”,“net”:{“bindIp”:“localhost”,“port”:27017},“processManagement”:{“fork”:true},“storage”:{“dbPath”:“/var/lib/mongodb”,“journal”:{“enabled”:true}},“systemLog”:{“destination”:“file”,“logAppend”:true,“path”:“/var/log/mongodb/mongod.log”}}}}
{“t”:{“$date”:“2022-05-25T20:29:44.919-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:22270, “ctx”:“initandlisten”,“msg”:“Storage engine to use detected by data files”,“attr”:{“dbpath”:“/var/lib/mongodb”,“storageEngine”:“wiredTiger”}}
{“t”:{“$date”:“2022-05-25T20:29:44.919-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:22297, “ctx”:“initandlisten”,“msg”:“Using the XFS filesystem is strongly recommended with the WiredTiger storage engine. See http://dochub.mongodb.org/core/prodnotes-filesystem",“tags”:["startupWarnings”]}
{“t”:{“$date”:“2022-05-25T20:29:44.919-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:22315, “ctx”:“initandlisten”,“msg”:“Opening WiredTiger”,“attr”:{“config”:“create,cache_size=15464M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),builtin_extension_config=(zstd=(compression_level=6)),file_manager=(close_idle_time=600,close_scan_interval=10,close_handle_minimum=250),statistics_log=(wait=0),verbose=[recovery_progress,checkpoint_progress,compact_progress],”}}
{“t”:{“$date”:“2022-05-25T20:29:45.044-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:22430, “ctx”:“initandlisten”,“msg”:“WiredTiger message”,“attr”:{“message”:“[1653524985:44035][35084:0x7f64e92c8200], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 8 through 9”}}
{“t”:{“$date”:“2022-05-25T20:29:45.077-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:22430, “ctx”:“initandlisten”,“msg”:“WiredTiger message”,“attr”:{“message”:“[1653524985:77167][35084:0x7f64e92c8200], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 9 through 9”}}
{“t”:{“$date”:“2022-05-25T20:29:45.123-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:22430, “ctx”:“initandlisten”,“msg”:“WiredTiger message”,“attr”:{“message”:“[1653524985:123250][35084:0x7f64e92c8200], txn-recover: [WT_VERB_RECOVERY_ALL] Main recovery loop: starting at 8/5376 to 9/256”}}
{“t”:{“$date”:“2022-05-25T20:29:45.190-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:22430, “ctx”:“initandlisten”,“msg”:“WiredTiger message”,“attr”:{“message”:“[1653524985:190692][35084:0x7f64e92c8200], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 8 through 9”}}
{“t”:{“$date”:“2022-05-25T20:29:45.244-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:22430, “ctx”:“initandlisten”,“msg”:“WiredTiger message”,“attr”:{“message”:“[1653524985:244104][35084:0x7f64e92c8200], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 9 through 9”}}
{“t”:{“$date”:“2022-05-25T20:29:45.274-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:22430, “ctx”:“initandlisten”,“msg”:“WiredTiger message”,“attr”:{“message”:“[1653524985:274433][35084:0x7f64e92c8200], txn-recover: [WT_VERB_RECOVERY_ALL] Set global recovery timestamp: (0, 0)”}}
{“t”:{“$date”:“2022-05-25T20:29:45.274-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:22430, “ctx”:“initandlisten”,“msg”:“WiredTiger message”,“attr”:{“message”:“[1653524985:274479][35084:0x7f64e92c8200], txn-recover: [WT_VERB_RECOVERY_ALL] Set global oldest timestamp: (0, 0)”}}
{“t”:{“$date”:“2022-05-25T20:29:45.283-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:22430, “ctx”:“initandlisten”,“msg”:“WiredTiger message”,“attr”:{“message”:“[1653524985:283777][35084:0x7f64e92c8200], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 1, snapshot max: 1 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 69”}}
{“t”:{“$date”:“2022-05-25T20:29:45.317-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:4795906, “ctx”:“initandlisten”,“msg”:“WiredTiger opened”,“attr”:{“durationMillis”:398}}
{“t”:{“$date”:“2022-05-25T20:29:45.317-04:00”},“s”:“I”, “c”:“RECOVERY”, “id”:23987, “ctx”:“initandlisten”,“msg”:“WiredTiger recoveryTimestamp”,“attr”:{“recoveryTimestamp”:{“$timestamp”:{“t”:0,“i”:0}}}}
{“t”:{“$date”:“2022-05-25T20:29:45.318-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:4366408, “ctx”:“initandlisten”,“msg”:“No table logging settings modifications are required for existing WiredTiger tables”,“attr”:{“loggingEnabled”:true}}
{“t”:{“$date”:“2022-05-25T20:29:45.319-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:22262, “ctx”:“initandlisten”,“msg”:“Timestamp monitor starting”}
{“t”:{“$date”:“2022-05-25T20:29:45.345-04:00”},“s”:“W”, “c”:“CONTROL”, “id”:22120, “ctx”:“initandlisten”,“msg”:“Access control is not enabled for the database. Read and write access to data and configuration is unrestricted”,“tags”:[“startupWarnings”]}
{“t”:{“$date”:“2022-05-25T20:29:45.350-04:00”},“s”:“I”, “c”:“NETWORK”, “id”:4915702, “ctx”:“initandlisten”,“msg”:“Updated wire specification”,“attr”:{“oldSpec”:{“incomingExternalClient”:{“minWireVersion”:0,“maxWireVersion”:13},“incomingInternalClient”:{“minWireVersion”:0,“maxWireVersion”:13},“outgoing”:{“minWireVersion”:0,“maxWireVersion”:13},“isInternalClient”:true},“newSpec”:{“incomingExternalClient”:{“minWireVersion”:0,“maxWireVersion”:13},“incomingInternalClient”:{“minWireVersion”:13,“maxWireVersion”:13},“outgoing”:{“minWireVersion”:13,“maxWireVersion”:13},“isInternalClient”:true}}}
{“t”:{“$date”:“2022-05-25T20:29:45.350-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:5071100, “ctx”:“initandlisten”,“msg”:“Clearing temp directory”}
{“t”:{“$date”:“2022-05-25T20:29:45.350-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:20536, “ctx”:“initandlisten”,“msg”:“Flow Control is enabled on this deployment”}
{“t”:{“$date”:“2022-05-25T20:29:45.351-04:00”},“s”:“I”, “c”:“FTDC”, “id”:20625, “ctx”:“initandlisten”,“msg”:“Initializing full-time diagnostic data capture”,“attr”:{“dataDirectory”:“/var/lib/mongodb/diagnostic.data”}}
{“t”:{“$date”:“2022-05-25T20:29:45.355-04:00”},“s”:“I”, “c”:“REPL”, “id”:6015317, “ctx”:“initandlisten”,“msg”:“Setting new configuration state”,“attr”:{“newState”:“ConfigReplicationDisabled”,“oldState”:“ConfigPreStart”}}
{“t”:{“$date”:“2022-05-25T20:29:45.357-04:00”},“s”:“I”, “c”:“NETWORK”, “id”:23015, “ctx”:“listener”,“msg”:“Listening on”,“attr”:{“address”:“/tmp/mongodb-27017.sock”}}
{“t”:{“$date”:“2022-05-25T20:29:45.357-04:00”},“s”:“I”, “c”:“NETWORK”, “id”:23015, “ctx”:“listener”,“msg”:“Listening on”,“attr”:{“address”:“127.0.0.1”}}
{“t”:{“$date”:“2022-05-25T20:29:45.357-04:00”},“s”:“I”, “c”:“NETWORK”, “id”:23016, “ctx”:“listener”,“msg”:“Waiting for connections”,“attr”:{“port”:27017,“ssl”:“off”}}
{“t”:{“$date”:“2022-05-25T20:29:45.360-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:23377, “ctx”:“SignalHandler”,“msg”:“Received signal”,“attr”:{“signal”:15,“error”:“Terminated”}}
{“t”:{“$date”:“2022-05-25T20:29:45.360-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:23378, “ctx”:“SignalHandler”,“msg”:“Signal was sent by kill(2)”,“attr”:{“pid”:1,“uid”:0}}
{“t”:{“$date”:“2022-05-25T20:29:45.360-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:23381, “ctx”:“SignalHandler”,“msg”:“will terminate after current cmd ends”}
{“t”:{“$date”:“2022-05-25T20:29:45.360-04:00”},“s”:“I”, “c”:“REPL”, “id”:4784900, “ctx”:“SignalHandler”,“msg”:“Stepping down the ReplicationCoordinator for shutdown”,“attr”:{“waitTimeMillis”:15000}}
{“t”:{“$date”:“2022-05-25T20:29:45.360-04:00”},“s”:“I”, “c”:“REPL”, “id”:4794602, “ctx”:“SignalHandler”,“msg”:“Attempting to enter quiesce mode”}
{“t”:{“$date”:“2022-05-25T20:29:45.360-04:00”},“s”:“I”, “c”:“COMMAND”, “id”:4784901, “ctx”:“SignalHandler”,“msg”:“Shutting down the MirrorMaestro”}
{“t”:{“$date”:“2022-05-25T20:29:45.360-04:00”},“s”:“I”, “c”:“SHARDING”, “id”:4784902, “ctx”:“SignalHandler”,“msg”:“Shutting down the WaitForMajorityService”}
{“t”:{“$date”:“2022-05-25T20:29:45.361-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:4784903, “ctx”:“SignalHandler”,“msg”:“Shutting down the LogicalSessionCache”}
{“t”:{“$date”:“2022-05-25T20:29:45.361-04:00”},“s”:“I”, “c”:“NETWORK”, “id”:20562, “ctx”:“SignalHandler”,“msg”:“Shutdown: going to close listening sockets”}
{“t”:{“$date”:“2022-05-25T20:29:45.361-04:00”},“s”:“I”, “c”:“NETWORK”, “id”:23017, “ctx”:“listener”,“msg”:“removing socket file”,“attr”:{“path”:“/tmp/mongodb-27017.sock”}}
{“t”:{“$date”:“2022-05-25T20:29:45.361-04:00”},“s”:“I”, “c”:“NETWORK”, “id”:4784905, “ctx”:“SignalHandler”,“msg”:“Shutting down the global connection pool”}
{“t”:{“$date”:“2022-05-25T20:29:45.361-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:4784906, “ctx”:“SignalHandler”,“msg”:“Shutting down the FlowControlTicketholder”}
{“t”:{“$date”:“2022-05-25T20:29:45.361-04:00”},“s”:“I”, “c”:“-”, “id”:20520, “ctx”:“SignalHandler”,“msg”:“Stopping further Flow Control ticket acquisitions.”}
{“t”:{“$date”:“2022-05-25T20:29:45.361-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:4784908, “ctx”:“SignalHandler”,“msg”:“Shutting down the PeriodicThreadToAbortExpiredTransactions”}
{“t”:{“$date”:“2022-05-25T20:29:45.361-04:00”},“s”:“I”, “c”:“REPL”, “id”:4784909, “ctx”:“SignalHandler”,“msg”:“Shutting down the ReplicationCoordinator”}
{“t”:{“$date”:“2022-05-25T20:29:45.361-04:00”},“s”:“I”, “c”:“SHARDING”, “id”:4784910, “ctx”:“SignalHandler”,“msg”:“Shutting down the ShardingInitializationMongoD”}
{“t”:{“$date”:“2022-05-25T20:29:45.361-04:00”},“s”:“I”, “c”:“REPL”, “id”:4784911, “ctx”:“SignalHandler”,“msg”:“Enqueuing the ReplicationStateTransitionLock for shutdown”}
{“t”:{“$date”:“2022-05-25T20:29:45.361-04:00”},“s”:“I”, “c”:“-”, “id”:4784912, “ctx”:“SignalHandler”,“msg”:“Killing all operations for shutdown”}
{“t”:{“$date”:“2022-05-25T20:29:45.361-04:00”},“s”:“I”, “c”:“-”, “id”:4695300, “ctx”:“SignalHandler”,“msg”:“Interrupted all currently running operations”,“attr”:{“opsKilled”:3}}
{“t”:{“$date”:“2022-05-25T20:29:45.361-04:00”},“s”:“I”, “c”:“TENANT_M”, “id”:5093807, “ctx”:“SignalHandler”,“msg”:“Shutting down all TenantMigrationAccessBlockers on global shutdown”}
{“t”:{“$date”:“2022-05-25T20:29:45.361-04:00”},“s”:“I”, “c”:“COMMAND”, “id”:4784913, “ctx”:“SignalHandler”,“msg”:“Shutting down all open transactions”}
{“t”:{“$date”:“2022-05-25T20:29:45.361-04:00”},“s”:“I”, “c”:“REPL”, “id”:4784914, “ctx”:“SignalHandler”,“msg”:“Acquiring the ReplicationStateTransitionLock for shutdown”}
{“t”:{“$date”:“2022-05-25T20:29:45.361-04:00”},“s”:“I”, “c”:“INDEX”, “id”:4784915, “ctx”:“SignalHandler”,“msg”:“Shutting down the IndexBuildsCoordinator”}
{“t”:{“$date”:“2022-05-25T20:29:45.361-04:00”},“s”:“I”, “c”:“REPL”, “id”:4784916, “ctx”:“SignalHandler”,“msg”:“Reacquiring the ReplicationStateTransitionLock for shutdown”}
{“t”:{“$date”:“2022-05-25T20:29:45.361-04:00”},“s”:“I”, “c”:“REPL”, “id”:4784917, “ctx”:“SignalHandler”,“msg”:“Attempting to mark clean shutdown”}
{“t”:{“$date”:“2022-05-25T20:29:45.361-04:00”},“s”:“I”, “c”:“NETWORK”, “id”:4784918, “ctx”:“SignalHandler”,“msg”:“Shutting down the ReplicaSetMonitor”}
{“t”:{“$date”:“2022-05-25T20:29:45.361-04:00”},“s”:“I”, “c”:“SHARDING”, “id”:4784921, “ctx”:“SignalHandler”,“msg”:“Shutting down the MigrationUtilExecutor”}
{“t”:{“$date”:“2022-05-25T20:29:45.361-04:00”},“s”:“I”, “c”:“ASIO”, “id”:22582, “ctx”:“MigrationUtil-TaskExecutor”,“msg”:“Killing all outstanding egress activity.”}
{“t”:{“$date”:“2022-05-25T20:29:45.362-04:00”},“s”:“I”, “c”:“COMMAND”, “id”:4784923, “ctx”:“SignalHandler”,“msg”:“Shutting down the ServiceEntryPoint”}
{“t”:{“$date”:“2022-05-25T20:29:45.362-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:4784925, “ctx”:“SignalHandler”,“msg”:“Shutting down free monitoring”}
{“t”:{“$date”:“2022-05-25T20:29:45.362-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:20609, “ctx”:“SignalHandler”,“msg”:“Shutting down free monitoring”}
{“t”:{“$date”:“2022-05-25T20:29:45.362-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:4784927, “ctx”:“SignalHandler”,“msg”:“Shutting down the HealthLog”}
{“t”:{“$date”:“2022-05-25T20:29:45.362-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:4784928, “ctx”:“SignalHandler”,“msg”:“Shutting down the TTL monitor”}
{“t”:{“$date”:“2022-05-25T20:29:45.362-04:00”},“s”:“I”, “c”:“INDEX”, “id”:3684100, “ctx”:“SignalHandler”,“msg”:“Shutting down TTL collection monitor thread”}
{“t”:{“$date”:“2022-05-25T20:29:45.362-04:00”},“s”:“I”, “c”:“INDEX”, “id”:3684101, “ctx”:“SignalHandler”,“msg”:“Finished shutting down TTL collection monitor thread”}
{“t”:{“$date”:“2022-05-25T20:29:45.362-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:4784929, “ctx”:“SignalHandler”,“msg”:“Acquiring the global lock for shutdown”}
{“t”:{“$date”:“2022-05-25T20:29:45.362-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:4784930, “ctx”:“SignalHandler”,“msg”:“Shutting down the storage engine”}
{“t”:{“$date”:“2022-05-25T20:29:45.362-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:22320, “ctx”:“SignalHandler”,“msg”:“Shutting down journal flusher thread”}
{“t”:{“$date”:“2022-05-25T20:29:45.362-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:22321, “ctx”:“SignalHandler”,“msg”:“Finished shutting down journal flusher thread”}
{“t”:{“$date”:“2022-05-25T20:29:45.362-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:22322, “ctx”:“SignalHandler”,“msg”:“Shutting down checkpoint thread”}
{“t”:{“$date”:“2022-05-25T20:29:45.362-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:22323, “ctx”:“SignalHandler”,“msg”:“Finished shutting down checkpoint thread”}
{“t”:{“$date”:“2022-05-25T20:29:45.362-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:20282, “ctx”:“SignalHandler”,“msg”:“Deregistering all the collections”}
{“t”:{“$date”:“2022-05-25T20:29:45.362-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:22261, “ctx”:“SignalHandler”,“msg”:“Timestamp monitor shutting down”}
{“t”:{“$date”:“2022-05-25T20:29:45.362-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:22317, “ctx”:“SignalHandler”,“msg”:“WiredTigerKVEngine shutting down”}
{“t”:{“$date”:“2022-05-25T20:29:45.362-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:22318, “ctx”:“SignalHandler”,“msg”:“Shutting down session sweeper thread”}
{“t”:{“$date”:“2022-05-25T20:29:45.362-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:22319, “ctx”:“SignalHandler”,“msg”:“Finished shutting down session sweeper thread”}
{“t”:{“$date”:“2022-05-25T20:29:45.365-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:4795902, “ctx”:“SignalHandler”,“msg”:“Closing WiredTiger”,“attr”:{“closeConfig”:“leak_memory=true,”}}
{“t”:{“$date”:“2022-05-25T20:29:45.366-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:22430, “ctx”:“SignalHandler”,“msg”:“WiredTiger message”,“attr”:{“message”:“[1653524985:366887][35084:0x7f64e92c4640], close_ckpt: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 4, snapshot max: 4 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 69”}}
{“t”:{“$date”:“2022-05-25T20:29:45.445-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:4795901, “ctx”:“SignalHandler”,“msg”:“WiredTiger closed”,“attr”:{“durationMillis”:80}}
{“t”:{“$date”:“2022-05-25T20:29:45.445-04:00”},“s”:“I”, “c”:“STORAGE”, “id”:22279, “ctx”:“SignalHandler”,“msg”:“shutdown: removing fs lock…”}
{“t”:{“$date”:“2022-05-25T20:29:45.445-04:00”},“s”:“I”, “c”:“-”, “id”:4784931, “ctx”:“SignalHandler”,“msg”:“Dropping the scope cache for shutdown”}
{“t”:{“$date”:“2022-05-25T20:29:45.445-04:00”},“s”:“I”, “c”:“FTDC”, “id”:4784926, “ctx”:“SignalHandler”,“msg”:“Shutting down full-time data capture”}
{“t”:{“$date”:“2022-05-25T20:29:45.445-04:00”},“s”:“I”, “c”:“FTDC”, “id”:20626, “ctx”:“SignalHandler”,“msg”:“Shutting down full-time diagnostic data capture”}
{“t”:{“$date”:“2022-05-25T20:29:45.445-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:20565, “ctx”:“SignalHandler”,“msg”:“Now exiting”}
{“t”:{“$date”:“2022-05-25T20:29:45.445-04:00”},“s”:“I”, “c”:“CONTROL”, “id”:23138, “ctx”:“SignalHandler”,“msg”:“Shutting down”,“attr”:{“exitCode”:0}}

If it is not related to SELinux (mentioned now for the third time) you have some kind of watch dog or something similar that sends the TERM signal to mongod as soon as it detects that it is running.

May there is something in the file /etc/default/mongod.

If not one of the above, I hope someone else will pick up the baton.

1 Like

Hi steevej

The the file /etc/default/mongod does not exist.
SELInux is not installed on my laptop.

oaj@pop-os:/var/log/mongodb$ sestatus
Command ‘sestatus’ not found, but can be installed with:
sudo apt install policycoreutils

I don’t know what happened. It was running and I played around with it. It would not connect to spring-boot-starter-mongodb. I removed it and reinstalled it and then it would not start.

So, I am stuck.

But thank you anyway for the time you spent on this.

Regards Ole

I am installing mongoDB from the community server and facing this shut down, I don’t understand what is going wrong, if anyone can give any suggestion…
{“t”:{“$date”:“2023-07-12T11:27:25.929+05:30”},“s”:“I”, “c”:“NETWORK”, “id”:4915701, “ctx”:“-”,“msg”:“Initialized wire specification”,“attr”:{“spec”:{“incomingExternalClient”:{“minWireVersion”:0,“maxWireVersion”:17},“incomingInternalClient”:{“minWireVersion”:0,“maxWireVersion”:17},“outgoing”:{“minWireVersion”:6,“maxWireVersion”:17},“isInternalClient”:true}}}
{“t”:{“$date”:“2023-07-12T11:27:25.932+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:23285, “ctx”:“thread1”,“msg”:“Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols ‘none’”}
{“t”:{“$date”:“2023-07-12T11:27:25.932+05:30”},“s”:“I”, “c”:“NETWORK”, “id”:4648602, “ctx”:“thread1”,“msg”:“Implicit TCP FastOpen in use.”}
{“t”:{“$date”:“2023-07-12T11:27:25.933+05:30”},“s”:“I”, “c”:“REPL”, “id”:5123008, “ctx”:“thread1”,“msg”:“Successfully registered PrimaryOnlyService”,“attr”:{“service”:“TenantMigrationDonorService”,“namespace”:“config.tenantMigrationDonors”}}
{“t”:{“$date”:“2023-07-12T11:27:25.933+05:30”},“s”:“I”, “c”:“REPL”, “id”:5123008, “ctx”:“thread1”,“msg”:“Successfully registered PrimaryOnlyService”,“attr”:{“service”:“TenantMigrationRecipientService”,“namespace”:“config.tenantMigrationRecipients”}}
{“t”:{“$date”:“2023-07-12T11:27:25.933+05:30”},“s”:“I”, “c”:“REPL”, “id”:5123008, “ctx”:“thread1”,“msg”:“Successfully registered PrimaryOnlyService”,“attr”:{“service”:“ShardSplitDonorService”,“namespace”:“config.tenantSplitDonors”}}
{“t”:{“$date”:“2023-07-12T11:27:25.933+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:5945603, “ctx”:“thread1”,“msg”:“Multi threading initialized”}
{“t”:{“$date”:“2023-07-12T11:27:25.933+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:4615611, “ctx”:“initandlisten”,“msg”:“MongoDB starting”,“attr”:{“pid”:1098,“port”:27017,“dbPath”:“/Users/kirtika25/Documents/db”,“architecture”:“64-bit”,“host”:“Kirtikas-MacBook-Air.local”}}
{“t”:{“$date”:“2023-07-12T11:27:25.933+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:23352, “ctx”:“initandlisten”,“msg”:“Unable to resolve sysctl {sysctlName} (number) “,“attr”:{“sysctlName”:“hw.cpufrequency”}}
{“t”:{”$date”:“2023-07-12T11:27:25.933+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:23351, “ctx”:“initandlisten”,“msg”:“{sysctlName} unavailable”,“attr”:{“sysctlName”:“machdep.cpu.features”}}
{“t”:{“$date”:“2023-07-12T11:27:25.933+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:23403, “ctx”:“initandlisten”,“msg”:“Build Info”,“attr”:{“buildInfo”:{“version”:“6.0.7”,“gitVersion”:“202ad4fda2618c652e35f5981ef2f903d8dd1f1a”,“modules”:,“allocator”:“system”,“environment”:{“distarch”:“aarch64”,“target_arch”:“aarch64”}}}}
{“t”:{“$date”:“2023-07-12T11:27:25.933+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:51765, “ctx”:“initandlisten”,“msg”:“Operating System”,“attr”:{“os”:{“name”:“Mac OS X”,“version”:“22.5.0”}}}
{“t”:{“$date”:“2023-07-12T11:27:25.933+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:21951, “ctx”:“initandlisten”,“msg”:“Options set by command line”,“attr”:{“options”:{“storage”:{“dbPath”:“/Users/kirtika25/Documents/db”}}}}
{“t”:{“$date”:“2023-07-12T11:27:25.933+05:30”},“s”:“I”, “c”:“NETWORK”, “id”:5693100, “ctx”:“initandlisten”,“msg”:“Asio socket.set_option failed with std::system_error”,“attr”:{“note”:“acceptor TCP fast open”,“option”:{“level”:6,“name”:261,“data”:“00 04 00 00”},“error”:{“what”:“set_option: Invalid argument”,“message”:“Invalid argument”,“category”:“asio.system”,“value”:22}}}
{“t”:{“$date”:“2023-07-12T11:27:25.933+05:30”},“s”:“E”, “c”:“CONTROL”, “id”:20568, “ctx”:“initandlisten”,“msg”:“Error setting up listener”,“attr”:{“error”:{“code”:9001,“codeName”:“SocketException”,“errmsg”:“Address already in use”}}}
{“t”:{“$date”:“2023-07-12T11:27:25.933+05:30”},“s”:“I”, “c”:“REPL”, “id”:4784900, “ctx”:“initandlisten”,“msg”:“Stepping down the ReplicationCoordinator for shutdown”,“attr”:{“waitTimeMillis”:15000}}
{“t”:{“$date”:“2023-07-12T11:27:25.933+05:30”},“s”:“I”, “c”:“REPL”, “id”:4794602, “ctx”:“initandlisten”,“msg”:“Attempting to enter quiesce mode”}
{“t”:{“$date”:“2023-07-12T11:27:25.933+05:30”},“s”:“I”, “c”:“-”, “id”:6371601, “ctx”:“initandlisten”,“msg”:“Shutting down the FLE Crud thread pool”}
{“t”:{“$date”:“2023-07-12T11:27:25.933+05:30”},“s”:“I”, “c”:“COMMAND”, “id”:4784901, “ctx”:“initandlisten”,“msg”:“Shutting down the MirrorMaestro”}
{“t”:{“$date”:“2023-07-12T11:27:25.933+05:30”},“s”:“I”, “c”:“SHARDING”, “id”:4784902, “ctx”:“initandlisten”,“msg”:“Shutting down the WaitForMajorityService”}
{“t”:{“$date”:“2023-07-12T11:27:25.933+05:30”},“s”:“I”, “c”:“NETWORK”, “id”:4784905, “ctx”:“initandlisten”,“msg”:“Shutting down the global connection pool”}
{“t”:{“$date”:“2023-07-12T11:27:25.933+05:30”},“s”:“I”, “c”:“NETWORK”, “id”:4784918, “ctx”:“initandlisten”,“msg”:“Shutting down the ReplicaSetMonitor”}
{“t”:{“$date”:“2023-07-12T11:27:25.933+05:30”},“s”:“I”, “c”:“SHARDING”, “id”:4784921, “ctx”:“initandlisten”,“msg”:“Shutting down the MigrationUtilExecutor”}
{“t”:{“$date”:“2023-07-12T11:27:25.934+05:30”},“s”:“I”, “c”:“ASIO”, “id”:22582, “ctx”:“MigrationUtil-TaskExecutor”,“msg”:“Killing all outstanding egress activity.”}
{“t”:{“$date”:“2023-07-12T11:27:25.934+05:30”},“s”:“I”, “c”:“COMMAND”, “id”:4784923, “ctx”:“initandlisten”,“msg”:“Shutting down the ServiceEntryPoint”}
{“t”:{“$date”:“2023-07-12T11:27:25.934+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:4784925, “ctx”:“initandlisten”,“msg”:“Shutting down free monitoring”}
{“t”:{“$date”:“2023-07-12T11:27:25.934+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:4784927, “ctx”:“initandlisten”,“msg”:“Shutting down the HealthLog”}
{“t”:{“$date”:“2023-07-12T11:27:25.934+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:4784928, “ctx”:“initandlisten”,“msg”:“Shutting down the TTL monitor”}
{“t”:{“$date”:“2023-07-12T11:27:25.934+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:6278511, “ctx”:“initandlisten”,“msg”:“Shutting down the Change Stream Expired Pre-images Remover”}
{“t”:{“$date”:“2023-07-12T11:27:25.934+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:4784929, “ctx”:“initandlisten”,“msg”:“Acquiring the global lock for shutdown”}
{“t”:{“$date”:“2023-07-12T11:27:25.934+05:30”},“s”:“I”, “c”:“-”, “id”:4784931, “ctx”:“initandlisten”,“msg”:“Dropping the scope cache for shutdown”}
{“t”:{“$date”:“2023-07-12T11:27:25.934+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:20565, “ctx”:“initandlisten”,“msg”:“Now exiting”}
{“t”:{“$date”:“2023-07-12T11:27:25.934+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:23138, “ctx”:“initandlisten”,“msg”:“Shutting down”,“attr”:{“exitCode”:48}}

Address already in use & failed to setup listener
Make sure you have no other mongod running on same the port 27017
Check ps -ef|grep mongod

After running the command you send in terminal I’m getting this
Help me,what to do?
501 832 1 0 11:20AM ?? 0:18.84 /opt/homebrew/opt/mongodb-community/bin/mongod --config /opt/homebrew/etc/mongod.conf

501 3870 3853 0 2:36PM ttys000 0:00.00 grep mongod

It means your mongod is already up
Just issue mongosh.You should be able to connect to your mongod running on port 27017

After writing mongosh I can execute my mongodb commands like show dbs and all but I am unable to connect it with my node,how can i do it

Node means node.js/nodeapp?
You must be having some environment file
Need to add your connect string to it

I have made a website by node.js and express in which I want mongoDB to store some data when I am running “./mongod --dbpath location of db path” it is showing this shut down things ,help me with this,I’m really stuck at this.

Why you are running mongod again?
Just connect to it and start creating your dbs/collections

what command I write on my terminal to start mongodb?

The command to start mongod from command line is the same as you mentioned above
The fact that your mongod started from command is getting killed indicates your maongod is running as service
There is no need to start mongod again
When you installed it as service it is running always in the background and even after rebooting your system it comes up automatically
All you have to do is run mongo to verify whether you can connect or not
If you can connect then just run your app/node.js and continue working
Please refer to mongodb documentation for more details on how to start mongod

If my mongod is running as service then why it is showing null when I’m running node app.js

const { MongoClient } = require(“mongodb”);

// Replace the uri string with your connection string.
const uri = “mongodb://localhost:27017”;

const client = new MongoClient(uri);

async function run() {
try {
const database = client.db(‘sample_mflix’);
const movies = database.collection(‘movies’);

// Query for a movie that has the title 'Back to the Future'
const query = { title: 'Back to the Future' };
const movie = await movies.findOne(query);

console.log(movie);

} finally {
// Ensures that the client will close when you finish/error
await client.close();
}
}
run().catch(console.dir);