Unable to start mongos

I created replica config server(2 nodes) and two shard replica(2 nodes each). When I am trying to connect mongos, it is not succeeding and below is the logs:

{“t”:{“$date”:“2024-02-15T12:07:32.265+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:20698, “ctx”:“main”,“msg”:“***** SERVER RESTARTED *****”}
{“t”:{“$date”:“2024-02-15T12:07:32.269+05:30”},“s”:“I”, “c”:“NETWORK”, “id”:4915701, “ctx”:“main”,“msg”:“Initialized wire specification”,“attr”:{“spec”:{“incomingExternalClient”:{“minWireVersion”:0,“maxWireVersion”:21},“incomingInternalClient”:{“minWireVersion”:0,“maxWireVersion”:21},“outgoing”:{“minWireVersion”:21,“maxWireVersion”:21},“isInternalClient”:true}}}
{“t”:{“$date”:“2024-02-15T12:07:32.269+05:30”},“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”:“2024-02-15T12:07:32.276+05:30”},“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”:“2024-02-15T12:07:32.276+05:30”},“s”:“I”, “c”:“HEALTH”, “id”:5936503, “ctx”:“main”,“msg”:“Fault manager changed state “,“attr”:{“state”:“StartupCheck”}}
{“t”:{”$date”:“2024-02-15T12:07:32.276+05:30”},“s”:“W”, “c”:“CONTROL”, “id”:22120, “ctx”:“main”,“msg”:“Access control is not enabled for the database. Read and write access to data and configuration is unrestricted”,“tags”:[“startupWarnings”]}
{“t”:{“$date”:“2024-02-15T12:07:32.276+05:30”},“s”:“W”, “c”:“CONTROL”, “id”:22138, “ctx”:“main”,“msg”:“You are running this process as the root user, which is not recommended”,“tags”:[“startupWarnings”]}
{“t”:{“$date”:“2024-02-15T12:07:32.276+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:23403, “ctx”:“mongosMain”,“msg”:“Build Info”,“attr”:{“buildInfo”:{“version”:“7.0.5”,“gitVersion”:“7809d71e84e314b497f282ea8aa06d7ded3eb205”,“openSSLVersion”:“OpenSSL 1.1.1k FIPS 25 Mar 2021”,“modules”:,“allocator”:“tcmalloc”,“environment”:{“distmod”:“rhel80”,“distarch”:“x86_64”,“target_arch”:“x86_64”}}}}
{“t”:{“$date”:“2024-02-15T12:07:32.276+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:51765, “ctx”:“mongosMain”,“msg”:“Operating System”,“attr”:{“os”:{“name”:“Red Hat Enterprise Linux release 8.9 (Ootpa)”,“version”:“Kernel 4.18.0-513.9.1.el8_9.x86_64”}}}
{“t”:{“$date”:“2024-02-15T12:07:32.276+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:21951, “ctx”:“mongosMain”,“msg”:“Options set by command line”,“attr”:{“options”:{“config”:“/etc/mongod.conf”,“net”:{“bindIp”:“10.125.34.193”,“port”:27017},“processManagement”:{“timeZoneInfo”:“/usr/share/zoneinfo”},“sharding”:{“configDB”:“replconfig01/blrv009c194.blr.lab.emc.com:27017,blrv009c196.blr.lab.emc.com:27017”},“systemLog”:{“destination”:“file”,“logAppend”:true,“path”:“/var/log/mongodb/mongod.log”}}}}
{“t”:{“$date”:“2024-02-15T12:07:32.277+05:30”},“s”:“I”, “c”:“NETWORK”, “id”:4603701, “ctx”:“mongosMain”,“msg”:“Starting Replica Set Monitor”,“attr”:{“protocol”:“streamable”,“uri”:“replconfig01/blrv009c194.blr.lab.emc.com:27017,blrv009c196.blr.lab.emc.com:27017”}}
{“t”:{“$date”:“2024-02-15T12:07:32.277+05:30”},“s”:“I”, “c”:“-”, “id”:4333223, “ctx”:“mongosMain”,“msg”:“RSM now monitoring replica set”,“attr”:{“replicaSet”:“replconfig01”,“nReplicaSetMembers”:2}}
{“t”:{“$date”:“2024-02-15T12:07:32.277+05:30”},“s”:“I”, “c”:“-”, “id”:4333226, “ctx”:“mongosMain”,“msg”:“RSM host was added to the topology”,“attr”:{“replicaSet”:“replconfig01”,“host”:“blrv009c194.blr.lab.emc.com:27017”}}
{“t”:{“$date”:“2024-02-15T12:07:32.277+05:30”},“s”:“I”, “c”:“-”, “id”:4333226, “ctx”:“mongosMain”,“msg”:“RSM host was added to the topology”,“attr”:{“replicaSet”:“replconfig01”,“host”:“blrv009c196.blr.lab.emc.com:27017”}}
{“t”:{“$date”:“2024-02-15T12:07:32.278+05:30”},“s”:“I”, “c”:“CONNPOOL”, “id”:22576, “ctx”:“ReplicaSetMonitor-TaskExecutor”,“msg”:“Connecting”,“attr”:{“hostAndPort”:“blrv009c194.blr.lab.emc.com:27017”}}
{“t”:{“$date”:“2024-02-15T12:07:32.278+05:30”},“s”:“I”, “c”:“CONNPOOL”, “id”:22576, “ctx”:“ReplicaSetMonitor-TaskExecutor”,“msg”:“Connecting”,“attr”:{“hostAndPort”:“blrv009c196.blr.lab.emc.com:27017”}}
{“t”:{“$date”:“2024-02-15T12:07:32.279+05:30”},“s”:“I”, “c”:“NETWORK”, “id”:23729, “ctx”:“ReplicaSetMonitor-TaskExecutor”,“msg”:“ServerPingMonitor is now monitoring host”,“attr”:{“host”:“blrv009c196.blr.lab.emc.com:27017”,“replicaSet”:“replconfig01”}}
{“t”:{“$date”:“2024-02-15T12:07:32.279+05:30”},“s”:“I”, “c”:“NETWORK”, “id”:4333213, “ctx”:“ReplicaSetMonitor-TaskExecutor”,“msg”:“RSM Topology Change”,“attr”:{“replicaSet”:“replconfig01”,“newTopologyDescription”:{“id”:“2b510807-b8c6-4354-a00d-133a8ce05f1b”,“topologyType”:“ReplicaSetNoPrimary”,“servers”:{“blrv009c194.blr.lab.emc.com:27017”:{“address”:“blrv009c194.blr.lab.emc.com:27017”,“type”:“Unknown”,“minWireVersion”:0,“maxWireVersion”:0,“lastUpdateTime”:{“$date”:{“$numberLong”:“-9223372036854775808”}},“hosts”:{},“arbiters”:{},“passives”:{}},“blrv009c196.blr.lab.emc.com:27017”:{“address”:“blrv009c196.blr.lab.emc.com:27017”,“topologyVersion”:{“processId”:{“$oid”:“65cb1b95075ece54690dc3b5”},“counter”:4},“roundTripTime”:952,“lastWriteDate”:{“$date”:“2024-02-15T06:37:31.000Z”},“opTime”:{“ts”:{“$timestamp”:{“t”:1707979051,“i”:1}},“t”:1},“type”:“RSSecondary”,“minWireVersion”:21,“maxWireVersion”:21,“me”:“blrv009c196.blr.lab.emc.com:27017”,“setName”:“replconfig01”,“setVersion”:1,“primary”:“blrv009c194.blr.lab.emc.com:27017”,“lastUpdateTime”:{“$date”:“2024-02-15T06:37:32.279Z”},“logicalSessionTimeoutMinutes”:30,“hosts”:{“0”:“blrv009c194.blr.lab.emc.com:27017”,“1”:“blrv009c196.blr.lab.emc.com:27017”},“arbiters”:{},“passives”:{}}},“logicalSessionTimeoutMinutes”:30,“setName”:“replconfig01”,“compatible”:true},“previousTopologyDescription”:{“id”:“aab3cc8e-b380-4b17-bba0-960cc4bcf9c6”,“topologyType”:“ReplicaSetNoPrimary”,“servers”:{“blrv009c194.blr.lab.emc.com:27017”:{“address”:“blrv009c194.blr.lab.emc.com:27017”,“type”:“Unknown”,“minWireVersion”:0,“maxWireVersion”:0,“lastUpdateTime”:{“$date”:{“$numberLong”:“-9223372036854775808”}},“hosts”:{},“arbiters”:{},“passives”:{}},“blrv009c196.blr.lab.emc.com:27017”:{“address”:“blrv009c196.blr.lab.emc.com:27017”,“type”:“Unknown”,“minWireVersion”:0,“maxWireVersion”:0,“lastUpdateTime”:{“$date”:{“$numberLong”:“-9223372036854775808”}},“hosts”:{},“arbiters”:{},“passives”:{}}},“setName”:“replconfig01”,“compatible”:true}}}
{“t”:{“$date”:“2024-02-15T12:07:32.280+05:30”},“s”:“I”, “c”:“NETWORK”, “id”:23729, “ctx”:“ReplicaSetMonitor-TaskExecutor”,“msg”:“ServerPingMonitor is now monitoring host”,“attr”:{“host”:“blrv009c194.blr.lab.emc.com:27017”,“replicaSet”:“replconfig01”}}
{“t”:{“$date”:“2024-02-15T12:07:32.280+05:30”},“s”:“I”, “c”:“NETWORK”, “id”:4333213, “ctx”:“ReplicaSetMonitor-TaskExecutor”,“msg”:“RSM Topology Change”,“attr”:{“replicaSet”:“replconfig01”,“newTopologyDescription”:{“id”:“46bb6301-dca7-4e33-a6c3-af496ae858ce”,“topologyType”:“ReplicaSetWithPrimary”,“servers”:{“blrv009c194.blr.lab.emc.com:27017”:{“address”:“blrv009c194.blr.lab.emc.com:27017”,“topologyVersion”:{“processId”:{“$oid”:“65cb259f13b8d7afd0c970ac”},“counter”:6},“roundTripTime”:1277,“lastWriteDate”:{“$date”:“2024-02-15T06:37:31.000Z”},“opTime”:{“ts”:{“$timestamp”:{“t”:1707979051,“i”:1}},“t”:1},“type”:“RSPrimary”,“minWireVersion”:21,“maxWireVersion”:21,“me”:“blrv009c194.blr.lab.emc.com:27017”,“setName”:“replconfig01”,“setVersion”:1,“electionId”:{“$oid”:“7fffffff0000000000000001”},“primary”:“blrv009c194.blr.lab.emc.com:27017”,“lastUpdateTime”:{“$date”:“2024-02-15T06:37:32.280Z”},“logicalSessionTimeoutMinutes”:30,“hosts”:{“0”:“blrv009c194.blr.lab.emc.com:27017”,“1”:“blrv009c196.blr.lab.emc.com:27017”},“arbiters”:{},“passives”:{}},“blrv009c196.blr.lab.emc.com:27017”:{“address”:“blrv009c196.blr.lab.emc.com:27017”,“topologyVersion”:{“processId”:{“$oid”:“65cb1b95075ece54690dc3b5”},“counter”:4},“roundTripTime”:952,“lastWriteDate”:{“$date”:“2024-02-15T06:37:31.000Z”},“opTime”:{“ts”:{“$timestamp”:{“t”:1707979051,“i”:1}},“t”:1},“type”:“RSSecondary”,“minWireVersion”:21,“maxWireVersion”:21,“me”:“blrv009c196.blr.lab.emc.com:27017”,“setName”:“replconfig01”,“setVersion”:1,“primary”:“blrv009c194.blr.lab.emc.com:27017”,“lastUpdateTime”:{“$date”:“2024-02-15T06:37:32.279Z”},“logicalSessionTimeoutMinutes”:30,“hosts”:{“0”:“blrv009c194.blr.lab.emc.com:27017”,“1”:“blrv009c196.blr.lab.emc.com:27017”},“arbiters”:{},“passives”:{}}},“logicalSessionTimeoutMinutes”:30,“setName”:“replconfig01”,“compatible”:true,“maxElectionIdSetVersion”:{“electionId”:{“$oid”:“7fffffff0000000000000001”},“setVersion”:1}},“previousTopologyDescription”:{“id”:“2b510807-b8c6-4354-a00d-133a8ce05f1b”,“topologyType”:“ReplicaSetNoPrimary”,“servers”:{“blrv009c194.blr.lab.emc.com:27017”:{“address”:“blrv009c194.blr.lab.emc.com:27017”,“type”:“Unknown”,“minWireVersion”:0,“maxWireVersion”:0,“lastUpdateTime”:{“$date”:{“$numberLong”:“-9223372036854775808”}},“hosts”:{},“arbiters”:{},“passives”:{}},“blrv009c196.blr.lab.emc.com:27017”:{“address”:“blrv009c196.blr.lab.emc.com:27017”,“topologyVersion”:{“processId”:{“$oid”:“65cb1b95075ece54690dc3b5”},“counter”:4},“roundTripTime”:952,“lastWriteDate”:{“$date”:“2024-02-15T06:37:31.000Z”},“opTime”:{“ts”:{“$timestamp”:{“t”:1707979051,“i”:1}},“t”:1},“type”:“RSSecondary”,“minWireVersion”:21,“maxWireVersion”:21,“me”:“blrv009c196.blr.lab.emc.com:27017”,“setName”:“replconfig01”,“setVersion”:1,“primary”:“blrv009c194.blr.lab.emc.com:27017”,“lastUpdateTime”:{“$date”:“2024-02-15T06:37:32.279Z”},“logicalSessionTimeoutMinutes”:30,“hosts”:{“0”:“blrv009c194.blr.lab.emc.com:27017”,“1”:“blrv009c196.blr.lab.emc.com:27017”},“arbiters”:{},“passives”:{}}},“logicalSessionTimeoutMinutes”:30,“setName”:“replconfig01”,“compatible”:true}}}
{“t”:{“$date”:“2024-02-15T12:07:32.280+05:30”},“s”:“I”, “c”:“SHARDING”, “id”:471693, “ctx”:“ReplicaSetMonitor-TaskExecutor”,“msg”:“Updating the shard registry with confirmed replica set”,“attr”:{“connectionString”:“replconfig01/blrv009c194.blr.lab.emc.com:27017,blrv009c196.blr.lab.emc.com:27017”}}
{“t”:{“$date”:“2024-02-15T12:07:32.280+05:30”},“s”:“I”, “c”:“NETWORK”, “id”:6006301, “ctx”:“ReplicaSetMonitor-TaskExecutor”,“msg”:“Replica set primary server change detected”,“attr”:{“replicaSet”:“replconfig01”,“topologyType”:“ReplicaSetWithPrimary”,“primary”:“blrv009c194.blr.lab.emc.com:27017”,“durationMillis”:2}}
{“t”:{“$date”:“2024-02-15T12:07:32.280+05:30”},“s”:“I”, “c”:“SHARDING”, “id”:22846, “ctx”:“Sharding-Fixed-0”,“msg”:“Updating sharding state with confirmed replica set”,“attr”:{“connectionString”:“replconfig01/blrv009c194.blr.lab.emc.com:27017,blrv009c196.blr.lab.emc.com:27017”}}
{“t”:{“$date”:“2024-02-15T12:07:32.284+05:30”},“s”:“I”, “c”:“SHARDING”, “id”:22842, “ctx”:“mongosMain”,“msg”:“Waiting for signing keys, sleeping before checking again”,“attr”:{“signingKeysCheckIntervalSeconds”:1}}
{“t”:{“$date”:“2024-02-15T12:07:33.289+05:30”},“s”:“I”, “c”:“FTDC”, “id”:20625, “ctx”:“mongosMain”,“msg”:“Initializing full-time diagnostic data capture”,“attr”:{“dataDirectory”:“/var/log/mongodb/mongod.diagnostic.data”}}
{“t”:{“$date”:“2024-02-15T12:07:33.291+05:30”},“s”:“I”, “c”:“CONNPOOL”, “id”:22576, “ctx”:“ShardRegistry”,“msg”:“Connecting”,“attr”:{“hostAndPort”:“blrv009c194.blr.lab.emc.com:27017”}}
{“t”:{“$date”:“2024-02-15T12:07:33.294+05:30”},“s”:“I”, “c”:“HEALTH”, “id”:5936511, “ctx”:“mongosMain”,“msg”:“No active health observers are configured.”}
{“t”:{“$date”:“2024-02-15T12:07:33.294+05:30”},“s”:“I”, “c”:“HEALTH”, “id”:5936502, “ctx”:“mongosMain”,“msg”:“The fault manager initial health checks have completed”,“attr”:{“state”:“Ok”}}
{“t”:{“$date”:“2024-02-15T12:07:33.294+05:30”},“s”:“I”, “c”:“HEALTH”, “id”:5936503, “ctx”:“mongosMain”,“msg”:“Fault manager changed state “,“attr”:{“state”:“Ok”}}
{“t”:{”$date”:“2024-02-15T12:07:33.298+05:30”},“s”:“I”, “c”:“NETWORK”, “id”:23015, “ctx”:“listener”,“msg”:“Listening on”,“attr”:{“address”:“/tmp/mongodb-27017.sock”}}
{“t”:{“$date”:“2024-02-15T12:07:33.298+05:30”},“s”:“I”, “c”:“NETWORK”, “id”:23015, “ctx”:“listener”,“msg”:“Listening on”,“attr”:{“address”:“10.125.34.193”}}
{“t”:{“$date”:“2024-02-15T12:07:33.298+05:30”},“s”:“I”, “c”:“NETWORK”, “id”:23016, “ctx”:“listener”,“msg”:“Waiting for connections”,“attr”:{“port”:27017,“ssl”:“off”}}
{“t”:{“$date”:“2024-02-15T12:07:33.302+05:30”},“s”:“I”, “c”:“SH_REFR”, “id”:4619902, “ctx”:“CatalogCache-0”,“msg”:“Collection has found to be unsharded after refresh”,“attr”:{“namespace”:“config.system.sessions”,“durationMillis”:2}}
{“t”:{“$date”:“2024-02-15T12:07:33.302+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:20710, “ctx”:“LogicalSessionCacheRefresh”,“msg”:“Failed to refresh session cache, will try again at the next refresh interval”,“attr”:{“error”:“NamespaceNotSharded: Expected collection config.system.sessions to be sharded”}}
{“t”:{“$date”:“2024-02-15T12:07:33.302+05:30”},“s”:“I”, “c”:“CONTROL”, “id”:20712, “ctx”:“LogicalSessionCacheReap”,“msg”:“Sessions collection is not set up; waiting until next sessions reap interval”,“attr”:{“error”:“NamespaceNotSharded: Expected collection config.system.sessions to be sharded”}}
{“t”:{“$date”:“2024-02-15T12:07:34.015+05:30”},“s”:“I”, “c”:“FTDC”, “id”:20631, “ctx”:“ftdc”,“msg”:“Unclean full-time diagnostic data capture shutdown detected, found interim file, some metrics may have been lost”,“attr”:{“error”:{“code”:0,“codeName”:“OK”}}}
{“t”:{“$date”:“2024-02-15T12:08:32.284+05:30”},“s”:“I”, “c”:“CONNPOOL”, “id”:22567, “ctx”:“ShardRegistry”,“msg”:“Ending idle connection because the pool meets constraints”,“attr”:{“hostAndPort”:“blrv009c196.blr.lab.emc.com:27017”,“numOpenConns”:2}}
{“t”:{“$date”:“2024-02-15T12:08:32.284+05:30”},“s”:“I”, “c”:“CONNPOOL”, “id”:22567, “ctx”:“ShardRegistry”,“msg”:“Ending idle connection because the pool meets constraints”,“attr”:{“hostAndPort”:“blrv009c196.blr.lab.emc.com:27017”,“numOpenConns”:1}}
{“t”:{“$date”:“2024-02-15T12:08:33.299+05:30”},“s”:“I”, “c”:“CONNPOOL”, “id”:22567, “ctx”:“ShardRegistry”,“msg”:“Ending idle connection because the pool meets constraints”,“attr”:{“hostAndPort”:“blrv009c194.blr.lab.emc.com:27017”,“numOpenConns”:1}}