Mongodb shard cluster configuration server startup failed

After building the shard cluster, the configuration server only has one node and there are no other replica set members. Now encountering an error when starting the configuration server, what should I do next? I have tried repairing.
before reapir:
{“t”:{“$date”:“2023-12-22T20:05:12.611+08:00”},“s”:“I”, “c”:“SHARDING”, “id”:21857, “ctx”:“Balancer”,“msg”:“CSRS balancer thread is recovering”}
{“t”:{“$date”:“2023-12-22T20:05:12.611+08:00”},“s”:“I”, “c”:“SHARDING”, “id”:21858, “ctx”:“Balancer”,“msg”:“CSRS balancer thread is recovered”}
{“t”:{“$date”:“2023-12-22T20:05:12.612+08:00”},“s”:“I”, “c”:“CONNPOOL”, “id”:22576, “ctx”:“ShardRegistry”,“msg”:“Connecting”,“attr”:{“hostAndPort”:“1.1.1.1:26021”}}
{“t”:{“$date”:“2023-12-22T20:05:12.616+08:00”},“s”:“I”, “c”:“CONNPOOL”, “id”:22576, “ctx”:“ShardRegistry”,“msg”:“Connecting”,“attr”:{“hostAndPort”:“1.1.1.2:26021”}}
{“t”:{“$date”:“2023-12-22T20:05:12.619+08:00”},“s”:“I”, “c”:“CONNPOOL”, “id”:22576, “ctx”:“ShardRegistry”,“msg”:“Connecting”,“attr”:{“hostAndPort”:“1.1.1.3:26021”}}
{“t”:{“$date”:“2023-12-22T20:05:12.623+08:00”},“s”:“I”, “c”:“CONNPOOL”, “id”:22576, “ctx”:“ShardRegistry”,“msg”:“Connecting”,“attr”:{“hostAndPort”:“1.1.1.4:26021”}}
{“t”:{“$date”:“2023-12-22T20:05:12.907+08:00”},“s”:“I”, “c”:“SHARDING”, “id”:20997, “ctx”:“conn8”,“msg”:“Refreshed RWC defaults”,“attr”:{“newDefaults”:{}}}
{“t”:{“$date”:“2023-12-22T20:05:13.178+08:00”},“s”:“I”, “c”:“SH_REFR”, “id”:24104, “ctx”:“ConfigServerCatalogCacheLoader-0”,“msg”:“Refreshed cached collection”,“attr”:{“namespace”:“config.system.sessions”,“newVersion”:{“0”:{“$timestamp”:{“t”:97,“i”:1}},“1”:{“$oid”:"
{“t”:{“$date”:“2023-12-22T20:05:13.229+08:00”},“s”:“I”, “c”:“SHARDING”, “id”:20997, “ctx”:“conn18”,“msg”:“Refreshed RWC defaults”,“attr”:{“newDefaults”:{}}}
{“t”:{“$date”:“2023-12-22T20:05:13.322+08:00”},“s”:“I”, “c”:“SHARDING”, “id”:20997, “ctx”:“conn12”,“msg”:“Refreshed RWC defaults”,“attr”:{“newDefaults”:{}}}
{“t”:{“$date”:“2023-12-22T20:05:13.336+08:00”},“s”:“F”, “c”:“-”, “id”:23079, “ctx”:“Balancer”,“msg”:“Invariant failure”,“attr”:{“expr”:“availableShards->erase(stat.shardId)”,“file”:“src/mongo/db/s/balancer/balancer_policy.cpp”,“line”:623}}
{“t”:{“$date”:“2023-12-22T20:05:13.336+08:00”},“s”:“F”, “c”:“-”, “id”:23080, “ctx”:“Balancer”,“msg”:“\n\n***aborting after invariant() failure\n\n”}
{“t”:{“$date”:“2023-12-22T20:05:13.336+08:00”},“s”:“F”, “c”:“CONTROL”, “id”:4757800, “ctx”:“Balancer”,“msg”:“Writing fatal message”,“attr”:{“message”:“Got signal: 6 (Aborted).\n”}}
{“t”:{“$date”:“2023-12-22T20:05:13.376+08:00”},“s”:“I”, “c”:“SHARDING”, “id”:20997, “ctx”:“conn21”,“msg”:“Refreshed RWC defaults”,“attr”:{“newDefaults”:{}}}
{“t”:{“$date”:“2023-12-22T20:05:13.380+08:00”},“s”:“I”, “c”:“CONTROL”, “id”:31431, “ctx”:“Balancer”,“msg”:“BACKTRACE: {bt}”,“attr”:{“bt”:{“backtrace”:[{“a”:“5610D968EFD3”,“b”:“5610D67D5000”,“o”:“2EB9FD3”,“s”:“_ZN5mongo34StackTraceAddressMetadataGenerator4loadEPv”,“s
{“t”:{”$date":“2023-12-22T20:05:13.380+08:00”},“s”:“I”, “c”:“CONTROL”, “id”:31427, “ctx”:“Balancer”,“msg”:" Frame: {frame}“,“attr”:{“frame”:{“a”:“5610D968EFD3”,“b”:“5610D67D5000”,“o”:“2EB9FD3”,“s”:”_ZN5mongo34StackTraceAddressMetadataGenerator4loadEPv",“s+”:“293”}}
{“t”:{“$date”:“2023-12-22T20:05:13.380+08:00”},“s”:“I”, “c”:“CONTROL”, “id”:31427, “ctx”:“Balancer”,“msg”:" Frame: {frame}“,“attr”:{“frame”:{“a”:“5610D9691259”,“b”:“5610D67D5000”,“o”:“2EBC259”,“s”:”_ZN5mongo15printStackTraceEv",“s+”:“29”}}}
{“t”:{“$date”:“2023-12-22T20:05:13.380+08:00”},“s”:“I”, “c”:“CONTROL”, “id”:31427, “ctx”:“Balancer”,“msg”:" Frame: {frame}“,“attr”:{“frame”:{“a”:“5610D968DA28”,“b”:“5610D67D5000”,“o”:“2EB8A28”,“s”:”_ZN5mongo16stackTraceSignalEv",“s+”:“368”}}}
{“t”:{“$date”:“2023-12-22T20:05:13.380+08:00”},“s”:“I”, “c”:“CONTROL”, “id”:31427, “ctx”:“Balancer”,“msg”:" Frame: {frame}“,“attr”:{“frame”:{“a”:“7F200E9198E0”,“b”:“7F200E907000”,“o”:“128E0”,“s”:“funlockfile”,“s+”:“50”}}}
{“t”:{”$date":“2023-12-22T20:05:13.380+08:00”},“s”:“I”, “c”:“CONTROL”, “id”:31427, “ctx”:“Balancer”,“msg”:" Frame: {frame}“,“attr”:{“frame”:{“a”:“7F200E77BFD1”,“b”:“7F200E743000”,“o”:“38FD1”,“s”:“gsignal”,“s+”:“141”}}}
{“t”:{”$date":“2023-12-22T20:05:13.380+08:00”},“s”:“I”, “c”:“CONTROL”, “id”:31427, “ctx”:“Balancer”,“msg”:" Frame: {frame}“,“attr”:{“frame”:{“a”:“7F200E765536”,“b”:“7F200E743000”,“o”:“22536”,“s”:“abort”,“s+”:“112”}}}
{“t”:{”$date":“2023-12-22T20:05:13.380+08:00”},“s”:“I”, “c”:“CONTROL”, “id”:31427, “ctx”:“Balancer”,“msg”:" Frame: {frame}“,“attr”:{“frame”:{“a”:“5610D7590EED”,“b”:“5610D67D5000”,“o”:“DBBEED”,“s”:”_ZN5mongo15invariantFailedEPKcS1_j",“s+”:“12B”}}}
{“t”:{“$date”:“2023-12-22T20:05:13.380+08:00”},“s”:“I”, “c”:“CONTROL”, “id”:31427, “ctx”:“Balancer”,“msg”:" Frame: {frame}“,“attr”:{“frame”:{“a”:“5610D7324C5F”,“b”:“5610D67D5000”,“o”:“B4FC5F”,“s”:”_ZN5mongo29TransactionCoordinatorService19CatalogAndScheduler10onSte
{“t”:{“$date”:“2023-12-22T20:05:13.380+08:00”},“s”:“I”, “c”:“CONTROL”, “id”:31427, “ctx”:“Balancer”,“msg”:" Frame: {frame}“,“attr”:{“frame”:{“a”:“5610D7D5920D”,“b”:“5610D67D5000”,“o”:“158420D”,“s”:”_ZN5mongo32BalancerChunkSelectionPolicyImpl34_getMigrateCandidatesF
{“t”:{“$date”:“2023-12-22T20:05:13.380+08:00”},“s”:“I”, “c”:“CONTROL”, “id”:31427, “ctx”:“Balancer”,“msg”:" Frame: {frame}“,“attr”:{“frame”:{“a”:“5610D7D5CD72”,“b”:“5610D67D5000”,“o”:“1587D72”,“s”:”_ZN5mongo32BalancerChunkSelectionPolicyImpl18selectChunksToMoveEPNS
{“t”:{“$date”:“2023-12-22T20:05:13.380+08:00”},“s”:“I”, “c”:“CONTROL”, “id”:31427, “ctx”:“Balancer”,“msg”:" Frame: {frame}“,“attr”:{“frame”:{“a”:“5610D7D7A4EE”,“b”:“5610D67D5000”,“o”:“15A54EE”,“s”:”_ZN5mongo8Balancer11_mainThreadEv",“s+”:“138E”}}}
{“t”:{“$date”:“2023-12-22T20:05:13.380+08:00”},“s”:“I”, “c”:“CONTROL”, “id”:31427, “ctx”:“Balancer”,“msg”:" Frame: {frame}“,“attr”:{“frame”:{“a”:“5610D7D7BB0C”,“b”:“5610D67D5000”,“o”:“15A6B0C”,“s”:”_ZN5mongo8Balancer11_mainThreadEv",“s+”:“29AC”}}}
{“t”:{“$date”:“2023-12-22T20:05:13.380+08:00”},“s”:“I”, “c”:“CONTROL”, “id”:31427, “ctx”:“Balancer”,“msg”:" Frame: {frame}“,“attr”:{“frame”:{“a”:“7F200EB5FC60”,“b”:“7F200EA89000”,“o”:“D6C60”,“s”:“execute_native_thread_routine”,“s+”:“10”}}}
{“t”:{”$date":“2023-12-22T20:05:13.380+08:00”},“s”:“I”, “c”:“CONTROL”, “id”:31427, “ctx”:“Balancer”,“msg”:" Frame: {frame}“,“attr”:{“frame”:{“a”:“7F200E90EEAE”,“b”:“7F200E907000”,“o”:“7EAE”,“s”:“start_thread”,“s+”:“DE”}}}
{“t”:{”$date":“2023-12-22T20:05:13.380+08:00”},“s”:“I”, “c”:“CONTROL”, “id”:31427, “ctx”:“Balancer”,“msg”:" Frame: {frame}",“attr”:{“frame”:{“a”:“7F200E83CB7F”,“b”:“7F200E743000”,“o”:“F9B7F”,“s”:“clone”,“s+”:“3F”}}}

after repair:
{“t”:{“$date”:“2023-12-23T14:14:17.538+08:00”},“s”:“I”, “c”:“INDEX”, “id”:20303, “ctx”:“initandlisten”,“msg”:“validating collection”,“attr”:{“namespace”:“local.replset.minvalid”,“uuid”:" (UUID: 9008aa0d-8287-4b27-ba85-1913392efbca)“}}
{“t”:{”$date":“2023-12-23T14:14:17.538+08:00”},“s”:“I”, “c”:“INDEX”, “id”:20296, “ctx”:“initandlisten”,“msg”:“Validating index consistency”,“attr”:{“index”:“id”,“namespace”:“local.replset.minvalid”}}
{“t”:{“$date”:“2023-12-23T14:14:17.538+08:00”},“s”:“I”, “c”:“INDEX”, “id”:20306, “ctx”:“initandlisten”,“msg”:“Validation complete for collection. No corruption found”,“attr”:{“namespace”:“local.replset.minvalid”,“uuid”:" (UUID: 9008aa0d-8287-4b27-ba85-1913392efbca
{“t”:{“$date”:“2023-12-23T14:14:17.538+08:00”},“s”:“I”, “c”:“STORAGE”, “id”:21028, “ctx”:“initandlisten”,“msg”:“Collection validation”,“attr”:{“results”:{“ns”:“local.replset.minvalid”,“nInvalidDocuments”:0,“nrecords”:1,“nIndexes”:1,“keysPerIndex”:{“id”:1},“indexDe
{“t”:{”$date":“2023-12-23T14:14:17.538+08:00”},“s”:“I”, “c”:“STORAGE”, “id”:4934002, “ctx”:“initandlisten”,“msg”:“Validate did not make any repairs”,“attr”:{“collection”:“local.replset.minvalid”}}
{“t”:{“$date”:“2023-12-23T14:14:17.538+08:00”},“s”:“I”, “c”:“STORAGE”, “id”:21029, “ctx”:“initandlisten”,“msg”:“repairDatabase”,“attr”:{“db”:“config”}}
{“t”:{“$date”:“2023-12-23T14:14:17.558+08:00”},“s”:“I”, “c”:“STORAGE”, “id”:21027, “ctx”:“initandlisten”,“msg”:“Repairing collection”,“attr”:{“namespace”:“config.databases”}}
{“t”:{“$date”:“2023-12-23T14:14:17.559+08:00”},“s”:“I”, “c”:“STORAGE”, “id”:22327, “ctx”:“initandlisten”,“msg”:“Verify succeeded. Not salvaging.”,“attr”:{“uri”:“table:collection-0-337640494829643536”}}
{“t”:{“$date”:“2023-12-23T14:14:17.562+08:00”},“s”:“E”, “c”:“STORAGE”, “id”:20557, “ctx”:“initandlisten”,“msg”:“DBException in initAndListen, terminating”,“attr”:{“error”:“NotPrimaryNoSecondaryOk: not master and slaveOk=false”}}
{“t”:{“$date”:“2023-12-23T14:14:17.562+08:00”},“s”:“I”, “c”:“REPL”, “id”:4784900, “ctx”:“initandlisten”,“msg”:“Stepping down the ReplicationCoordinator for shutdown”,“attr”:{“waitTimeMillis”:10000}}
{“t”:{“$date”:“2023-12-23T14:14:17.562+08:00”},“s”:“I”, “c”:“COMMAND”, “id”:4784901, “ctx”:“initandlisten”,“msg”:“Shutting down the MirrorMaestro”}
{“t”:{“$date”:“2023-12-23T14:14:17.562+08:00”},“s”:“I”, “c”:“SHARDING”, “id”:4784902, “ctx”:“initandlisten”,“msg”:“Shutting down the WaitForMajorityService”}
{“t”:{“$date”:“2023-12-23T14:14:17.562+08:00”},“s”:“I”, “c”:“NETWORK”, “id”:4784905, “ctx”:“initandlisten”,“msg”:“Shutting down the global connection pool”}
{“t”:{“$date”:“2023-12-23T14:14:17.562+08:00”},“s”:“I”, “c”:“STORAGE”, “id”:4784906, “ctx”:“initandlisten”,“msg”:“Shutting down the FlowControlTicketholder”}