My mongod cannot start when I put both security and replication together

my vps: Ubuntu 20.04
my mongodb: 4.4.4

here my mongod.conf file:

                                                                         /etc/mongod.conf
# mongod.conf

# for documentation of all options, see:
#   http://docs.mongodb.org/manual/reference/configuration-options/

# Where and how to store data.
storage:
  dbPath: /var/lib/mongodb
  journal:
    enabled: true
#  engine:
#  mmapv1:
#  wiredTiger:

# where to write logging data.
systemLog:
  destination: file
  logAppend: true
  path: /var/log/mongodb/mongod.log

# network interfaces
net:
  port: 27017
  bindIp: 0.0.0.0


# how the process runs
processManagement:
  timeZoneInfo: /usr/share/zoneinfo

security:
  authorization: enabled

#operationProfiling:

replication:
   replSetName: "rs0"


#sharding:

## Enterprise-Only Options:

#auditLog:

#snmp:

More important than the configuration file would be to share the error you are having. Either from the terminal output or from the log file.

Then the command you use to start mongod is also useful.

The output of the following commands is nice to have.

ls -l /var/lib/mongodb
ls -l /var/log/mongodb

As @steevej suggest an actual error message or log snip is the best.

Immediately however the issue is apparent. The replicaset members also need to authenticate with each other when auth is enabled. This is addressed in the enable-authentication tutorial and specifically on Internal/Membership Authentication. Links Below.

I think there is a bug in mongodb 4.4.4, I reinstall mongodb 4.2.13 with the same setting and mongod.conf file and works fine
thanks any way
:grinning: