I have mongodb which i used to run with the following command without any issue
sudo mongodb/mongodb-linux-x86_64-2.2.7/bin/mongod --config /etc/mongod.conf
This morning i upgraded from fedora 31 to 32 then 33 then 34, when i run the same command i get ;
error command line: unrecognized line in ‘systemLog:’
use --help for help
here is the content of the config file
systemLog:
destination: file
path: “/var/log/mongodb/mongod.log”
logAppend: true
storage:
dbPath: /home/data/db
journal:
enabled: true
processManagement:
fork: true
net:
bindIp: 192.168.10.11
port: 28015
security:
authorization: enabled