“Excess arguments.” while doing “systemd daemon-reload” during MongoDB configuration

mongodbsystemdubuntu-16.04

I am following the instruction mentioned in :

To install and configure the basic elements for MongoDB in Ubuntu.
During "Configure MongoDB username and password", on phase 4 "Step 4 – Enable mongodb authentication" got the error.

$ systemd daemon-reload
Excess arguments.

How can I resolve that?

Best Answer

I guess you should use "systemctl daemon-reload" instead of "systemd daemon-reload".

Related Topic