Replica set for MongoDB not working

Dear Rocket Chat team,

I have a problem with MongoDB after I configured Replica set. It shows

rs.initiate()
{
“ok” : 0,
“errmsg” : “This node was not started with the replSet option”,
“code” : 76,
“codeName” : “NoReplicationEnabled”
}
I have enabled it in MongoDB: /etc/mongod.conf and add
#snmp:
replication:
replSetName: “rs01”

The environment in server:
Debain: V9.9
MongoDB: v4.0.10
node: v8.11.3

Thanks