YuqiHuai / SORA-SVL

Local SVL Cloud
129 stars 33 forks source link

sorasvl-mongo exited with code 14 #60

Closed lichengguang closed 1 year ago

lichengguang commented 1 year ago

docker-compose up Creating network "sorasvl_sorasvl" with driver "bridge" Creating sorasvl-mongo ... Creating sorasvl-mongo ... done Creating sorasvl-server ... Creating sorasvl-server ... done Creating sorasvl-client ... Creating sorasvl-client ... done Creating sorasvl-router ... Creating sorasvl-router ... done Attaching to sorasvl-mongo, sorasvl-server, sorasvl-client, sorasvl-router sorasvl-mongo | about to fork child process, waiting until server is ready for connections. sorasvl-mongo | forked process: 29 sorasvl-server | sorasvl-mongo | sorasvl-server | > server@1.0.0 start sorasvl-router | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration sorasvl-mongo | {"t":{"$date":"2023-08-09T08:55:07.002+00:00"},"s":"I", "c":"CONTROL", "id":20698, "ctx":"-","msg":" SERVER RESTARTED "} sorasvl-server | > node dist/index.js sorasvl-router | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ sorasvl-server | sorasvl-mongo | {"t":{"$date":"2023-08-09T08:55:07.005+00:00"},"s":"I", "c":"NETWORK", "id":4915701, "ctx":"-","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":17},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":17},"outgoing":{"minWireVersion":6,"maxWireVersion":17},"isInternalClient":true}}} sorasvl-mongo | {"t":{"$date":"2023-08-09T08:55:07.005+00:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"-","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"} sorasvl-router | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh sorasvl-mongo | {"t":{"$date":"2023-08-09T08:55:07.005+00:00"},"s":"I", "c":"NETWORK", "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."} sorasvl-mongo | {"t":{"$date":"2023-08-09T08:55:07.007+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","namespace":"config.tenantMigrationDonors"}} sorasvl-mongo | {"t":{"$date":"2023-08-09T08:55:07.007+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","namespace":"config.tenantMigrationRecipients"}} sorasvl-mongo | {"t":{"$date":"2023-08-09T08:55:07.007+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"ShardSplitDonorService","namespace":"config.tenantSplitDonors"}} sorasvl-router | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf sorasvl-mongo | {"t":{"$date":"2023-08-09T08:55:07.007+00:00"},"s":"I", "c":"CONTROL", "id":5945603, "ctx":"main","msg":"Multi threading initialized"} sorasvl-router | 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf differs from the packaged version sorasvl-mongo | {"t":{"$date":"2023-08-09T08:55:07.007+00:00"},"s":"I", "c":"CONTROL", "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":29,"port":27017,"dbPath":"/data/db","architecture":"64-bit","host":"85161262707d"}} sorasvl-mongo | {"t":{"$date":"2023-08-09T08:55:07.007+00:00"},"s":"I", "c":"CONTROL", "id":23403, "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"6.0.8","gitVersion":"3d84c0dd4e5d99be0d69003652313e7eaf4cdd74","openSSLVersion":"OpenSSL 3.0.2 15 Mar 2022","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu2204","distarch":"x86_64","target_arch":"x86_64"}}}} sorasvl-mongo | {"t":{"$date":"2023-08-09T08:55:07.007+00:00"},"s":"I", "c":"CONTROL", "id":51765, "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"22.04"}}} sorasvl-mongo | {"t":{"$date":"2023-08-09T08:55:07.007+00:00"},"s":"I", "c":"CONTROL", "id":21951, "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"127.0.0.1","port":27017,"tls":{"mode":"disabled"}},"processManagement":{"fork":true,"pidFilePath":"/tmp/docker-entrypoint-temp-mongod.pid"},"systemLog":{"destination":"file","logAppend":true,"path":"/proc/1/fd/1"}}}} sorasvl-router | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh sorasvl-mongo | {"t":{"$date":"2023-08-09T08:55:07.015+00:00"},"s":"I", "c":"STORAGE", "id":22315, "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=7192M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,remove=true,path=journal,compressor=snappy),builtin_extension_config=(zstd=(compression_level=6)),file_manager=(close_idle_time=600,close_scan_interval=10,close_handle_minimum=2000),statistics_log=(wait=0),json_output=(error,message),verbose=[recovery_progress:1,checkpoint_progress:1,compact_progress:1,backup:0,checkpoint:0,compact:0,evict:0,history_store:0,recovery:0,rts:0,salvage:0,tiered:0,timestamp:0,transaction:0,verify:0,log:0],"}} sorasvl-mongo | {"t":{"$date":"2023-08-09T08:55:07.419+00:00"},"s":"E", "c":"WT", "id":22435, "ctx":"initandlisten","msg":"WiredTiger error message","attr":{"error":1,"message":{"ts_sec":1691571307,"ts_usec":419534,"thread":"29:0x7fd6a3ee8cc0","session_name":"connection","category":"WT_VERB_DEFAULT","category_id":9,"verbose_level":"ERROR","verbose_level_id":-3,"msg":"posix_open_file:812:/data/db/WiredTiger.wt: handle-open: open","error_str":"Operation not permitted","error_code":1}}} sorasvl-router | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh sorasvl-mongo | {"t":{"$date":"2023-08-09T08:55:07.440+00:00"},"s":"E", "c":"WT", "id":22435, "ctx":"initandlisten","msg":"WiredTiger error message","attr":{"error":17,"message":{"ts_sec":1691571307,"ts_usec":440748,"thread":"29:0x7fd6a3ee8cc0","session_name":"connection","category":"WT_VERB_DEFAULT","category_id":9,"verbose_level":"ERROR","verbose_level_id":-3,"msg":"posix_open_file:812:/data/db/WiredTiger.wt: handle-open: open","error_str":"File exists","error_code":17}}} sorasvl-router | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh sorasvl-router | /docker-entrypoint.sh: Configuration complete; ready for start up sorasvl-mongo | {"t":{"$date":"2023-08-09T08:55:07.444+00:00"},"s":"I", "c":"WT", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1691571307,"ts_usec":444783,"thread":"29:0x7fd6a3ee8cc0","session_name":"connection","category":"WT_VERB_BLOCK","category_id":3,"verbose_level":"NOTICE","verbose_level_id":-1,"msg":"unexpected file WiredTiger.wt found, renamed to WiredTiger.wt.1"}}} sorasvl-mongo | {"t":{"$date":"2023-08-09T08:55:07.447+00:00"},"s":"E", "c":"WT", "id":22435, "ctx":"initandlisten","msg":"WiredTiger error message","attr":{"error":1,"message":{"ts_sec":1691571307,"ts_usec":447321,"thread":"29:0x7fd6a3ee8cc0","session_name":"connection","category":"WT_VERB_DEFAULT","category_id":9,"verbose_level":"ERROR","verbose_level_id":-3,"msg":"posix_open_file:812:/data/db/WiredTiger.wt: handle-open: open","error_str":"Operation not permitted","error_code":1}}} sorasvl-router | 2023/08/09 08:55:08 [notice] 1#1: using the "epoll" event method sorasvl-router | 2023/08/09 08:55:08 [notice] 1#1: nginx/1.25.1 sorasvl-router | 2023/08/09 08:55:08 [notice] 1#1: built by gcc 12.2.1 20220924 (Alpine 12.2.1_git20220924-r4) sorasvl-mongo | {"t":{"$date":"2023-08-09T08:55:07.467+00:00"},"s":"E", "c":"WT", "id":22435, "ctx":"initandlisten","msg":"WiredTiger error message","attr":{"error":17,"message":{"ts_sec":1691571307,"ts_usec":467248,"thread":"29:0x7fd6a3ee8cc0","session_name":"connection","category":"WT_VERB_DEFAULT","category_id":9,"verbose_level":"ERROR","verbose_level_id":-3,"msg":"__posix_open_file:812:/data/db/WiredTiger.wt: handle-open: open","error_str":"File exists","error_code":17}}} sorasvl-router | 2023/08/09 08:55:08 [notice] 1#1: OS: Linux 5.15.90.1-microsoft-standard-WSL2 sorasvl-router | 2023/08/09 08:55:08 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576 sorasvl-mongo | {"t":{"$date":"2023-08-09T08:55:07.472+00:00"},"s":"I", "c":"WT", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1691571307,"ts_usec":472926,"thread":"29:0x7fd6a3ee8cc0","session_name":"connection","category":"WT_VERB_BLOCK","category_id":3,"verbose_level":"NOTICE","verbose_level_id":-1,"msg":"unexpected file WiredTiger.wt found, renamed to WiredTiger.wt.2"}}} sorasvl-mongo | {"t":{"$date":"2023-08-09T08:55:07.475+00:00"},"s":"E", "c":"WT", "id":22435, "ctx":"initandlisten","msg":"WiredTiger error message","attr":{"error":1,"message":{"ts_sec":1691571307,"ts_usec":475108,"thread":"29:0x7fd6a3ee8cc0","session_name":"connection","category":"WT_VERB_DEFAULT","category_id":9,"verbose_level":"ERROR","verbose_level_id":-3,"msg":"posix_open_file:812:/data/db/WiredTiger.wt: handle-open: open","error_str":"Operation not permitted","error_code":1}}} sorasvl-router | 2023/08/09 08:55:08 [notice] 1#1: start worker processes sorasvl-router | 2023/08/09 08:55:08 [notice] 1#1: start worker process 29 sorasvl-mongo | {"t":{"$date":"2023-08-09T08:55:07.477+00:00"},"s":"W", "c":"STORAGE", "id":22347, "ctx":"initandlisten","msg":"Failed to start up WiredTiger under any compatibility version. This may be due to an unsupported upgrade or downgrade."} sorasvl-mongo | {"t":{"$date":"2023-08-09T08:55:07.477+00:00"},"s":"F", "c":"STORAGE", "id":28595, "ctx":"initandlisten","msg":"Terminating.","attr":{"reason":"1: Operation not permitted"}} sorasvl-mongo | {"t":{"$date":"2023-08-09T08:55:07.477+00:00"},"s":"F", "c":"ASSERT", "id":23091, "ctx":"initandlisten","msg":"Fatal assertion","attr":{"msgid":28595,"file":"src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp","line":708}} sorasvl-mongo | {"t":{"$date":"2023-08-09T08:55:07.477+00:00"},"s":"F", "c":"ASSERT", "id":23092, "ctx":"initandlisten","msg":"\n\n***aborting after fassert() failure\n\n"} sorasvl-router | 2023/08/09 08:55:08 [notice] 1#1: start worker process 30 sorasvl-mongo | ERROR: child process failed, exited with 14 sorasvl-mongo | To see additional information in this output, start without the "--fork" option. sorasvl-router | 2023/08/09 08:55:08 [notice] 1#1: start worker process 31 sorasvl-router | 2023/08/09 08:55:08 [notice] 1#1: start worker process 32 sorasvl-router | 2023/08/09 08:55:08 [notice] 1#1: start worker process 33 sorasvl-router | 2023/08/09 08:55:08 [notice] 1#1: start worker process 34 sorasvl-router | 2023/08/09 08:55:08 [notice] 1#1: start worker process 35 sorasvl-mongo exited with code 14 sorasvl-router | 2023/08/09 08:55:08 [notice] 1#1: start worker process 36 sorasvl-router | 2023/08/09 08:55:08 [notice] 1#1: start worker process 37 sorasvl-router | 2023/08/09 08:55:08 [notice] 1#1: start worker process 38 sorasvl-router | 2023/08/09 08:55:08 [notice] 1#1: start worker process 39 sorasvl-router | 2023/08/09 08:55:08 [notice] 1#1: start worker process 40 sorasvl-router | 2023/08/09 08:55:08 [notice] 1#1: start worker process 41 sorasvl-router | 2023/08/09 08:55:08 [notice] 1#1: start worker process 42 sorasvl-router | 2023/08/09 08:55:08 [notice] 1#1: start worker process 43 sorasvl-router | 2023/08/09 08:55:08 [notice] 1#1: start worker process 44 sorasvl-router | 2023/08/09 08:55:08 [notice] 1#1: start worker process 45 sorasvl-router | 2023/08/09 08:55:08 [notice] 1#1: start worker process 46 sorasvl-router | 2023/08/09 08:55:08 [notice] 1#1: start worker process 47 sorasvl-router | 2023/08/09 08:55:08 [notice] 1#1: start worker process 48 sorasvl-client | INFO Accepting connections at http://localhost:3000 sorasvl-server | MongoServerSelectionError: getaddrinfo EAI_AGAIN sorasvl-mongo sorasvl-server | at Timeout._onTimeout (/workdir/node_modules/mongodb/lib/sdam/topology.js:292:38) sorasvl-server | at listOnTimeout (node:internal/timers:569:17) sorasvl-server | at process.processTimers (node:internal/timers:512:7) { sorasvl-server | reason: TopologyDescription { sorasvl-server | type: 'Unknown', sorasvl-server | servers: Map(1) { 'sorasvl-mongo:27017' => [ServerDescription] }, sorasvl-server | stale: false, sorasvl-server | compatible: true, sorasvl-server | heartbeatFrequencyMS: 10000, sorasvl-server | localThresholdMS: 15, sorasvl-server | setName: null, sorasvl-server | maxElectionId: null, sorasvl-server | maxSetVersion: null, sorasvl-server | commonWireVersion: 0, sorasvl-server | logicalSessionTimeoutMinutes: null sorasvl-server | }, sorasvl-server | code: undefined, sorasvl-server | [Symbol(errorLabels)]: Set(0) {} sorasvl-server | } sorasvl-server exited with code 0

lichengguang commented 1 year ago

mkdir -p ~/mongo/data

MongoDB

mongo: container_name: sorasvl-mongo volumes:

networks: sorasvl: driver: bridge