screepers / screeps-launcher

Launcher for the Screeps Private Server
MIT License
129 stars 34 forks source link

Procesors and server failing with exit status 1 #21

Closed orian closed 3 years ago

orian commented 3 years ago

I've followed the docker-compose way and got below errors, any clues would be helpful. Just want to setup local development server.

docker-compose up
Creating network "my-server-cfg_default" with the default driver
Creating my-server-cfg_mongo_1   ... done
Creating my-server-cfg_redis_1   ... done
Creating my-server-cfg_screeps_1 ... done
Attaching to my-server-cfg_screeps_1, my-server-cfg_redis_1, my-server-cfg_mongo_1
mongo_1    | {"t":{"$date":"2021-02-04T20:25:51.233+00:00"},"s":"I",  "c":"CONTROL",  "id":23285,   "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
redis_1    | 1:C 04 Feb 2021 20:25:51.062 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis_1    | 1:C 04 Feb 2021 20:25:51.062 # Redis version=6.0.10, bits=64, commit=00000000, modified=0, pid=1, just started
redis_1    | 1:C 04 Feb 2021 20:25:51.062 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
screeps_1  | 2021/02/04 20:25:50 screeps-launcher  ()
screeps_1  | 2021/02/04 20:25:50 Loaded config from config.yml
redis_1    | 1:M 04 Feb 2021 20:25:51.063 * Running mode=standalone, port=6379.
redis_1    | 1:M 04 Feb 2021 20:25:51.063 # Server initialized
mongo_1    | {"t":{"$date":"2021-02-04T20:25:51.235+00:00"},"s":"W",  "c":"ASIO",     "id":22601,   "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
redis_1    | 1:M 04 Feb 2021 20:25:51.063 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
screeps_1  | 2021/02/04 20:25:50 Writing package.json
mongo_1    | {"t":{"$date":"2021-02-04T20:25:51.235+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."}
screeps_1  | 2021/02/04 20:25:50 Running yarn
screeps_1  | 2021/02/04 20:25:50 Exec: yarn config set nodeLinker node-modules
redis_1    | 1:M 04 Feb 2021 20:25:51.063 * Loading RDB produced by version 6.0.10
redis_1    | 1:M 04 Feb 2021 20:25:51.063 * RDB age 23 seconds
redis_1    | 1:M 04 Feb 2021 20:25:51.063 * RDB memory usage when created 0.76 Mb
redis_1    | 1:M 04 Feb 2021 20:25:51.063 * DB loaded from disk: 0.000 seconds
redis_1    | 1:M 04 Feb 2021 20:25:51.063 * Ready to accept connections
mongo_1    | {"t":{"$date":"2021-02-04T20:25:51.235+00:00"},"s":"I",  "c":"STORAGE",  "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1,"port":27017,"dbPath":"/data/db","architecture":"64-bit","host":"371f503b73ae"}}
mongo_1    | {"t":{"$date":"2021-02-04T20:25:51.235+00:00"},"s":"I",  "c":"CONTROL",  "id":23403,   "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"4.4.3","gitVersion":"913d6b62acfbb344dde1b116f4161360acd8fd13","openSSLVersion":"OpenSSL 1.1.1  11 Sep 2018","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu1804","distarch":"x86_64","target_arch":"x86_64"}}}}
mongo_1    | {"t":{"$date":"2021-02-04T20:25:51.235+00:00"},"s":"I",  "c":"CONTROL",  "id":51765,   "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"18.04"}}}
mongo_1    | {"t":{"$date":"2021-02-04T20:25:51.235+00:00"},"s":"I",  "c":"CONTROL",  "id":21951,   "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"*"}}}}
mongo_1    | {"t":{"$date":"2021-02-04T20:25:51.236+00:00"},"s":"I",  "c":"STORAGE",  "id":22270,   "ctx":"initandlisten","msg":"Storage engine to use detected by data files","attr":{"dbpath":"/data/db","storageEngine":"wiredTiger"}}
mongo_1    | {"t":{"$date":"2021-02-04T20:25:51.237+00:00"},"s":"I",  "c":"STORAGE",  "id":22297,   "ctx":"initandlisten","msg":"Using the XFS filesystem is strongly recommended with the WiredTiger storage engine. See http://dochub.mongodb.org/core/prodnotes-filesystem","tags":["startupWarnings"]}
mongo_1    | {"t":{"$date":"2021-02-04T20:25:51.237+00:00"},"s":"I",  "c":"STORAGE",  "id":22315,   "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=15521M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000,close_scan_interval=10,close_handle_minimum=250),statistics_log=(wait=0),verbose=[recovery_progress,checkpoint_progress,compact_progress],"}}
screeps_1  | ➤ YN0000: Successfully set nodeLinker to 'node-modules'
screeps_1  | 2021/02/04 20:25:51 Exec: yarn 
mongo_1    | {"t":{"$date":"2021-02-04T20:25:51.835+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1612470351:835402][1:0x7f1e6a6f3ac0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 4 through 5"}}
mongo_1    | {"t":{"$date":"2021-02-04T20:25:51.868+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1612470351:868596][1:0x7f1e6a6f3ac0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 5 through 5"}}
mongo_1    | {"t":{"$date":"2021-02-04T20:25:51.920+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1612470351:920612][1:0x7f1e6a6f3ac0], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Main recovery loop: starting at 4/6784 to 5/256"}}
mongo_1    | {"t":{"$date":"2021-02-04T20:25:51.988+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1612470351:988810][1:0x7f1e6a6f3ac0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 4 through 5"}}
screeps_1  | ➤ YN0000: ┌ Resolution step
mongo_1    | {"t":{"$date":"2021-02-04T20:25:52.092+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1612470352:92890][1:0x7f1e6a6f3ac0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 5 through 5"}}
mongo_1    | {"t":{"$date":"2021-02-04T20:25:52.127+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1612470352:127268][1:0x7f1e6a6f3ac0], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Set global recovery timestamp: (0, 0)"}}
mongo_1    | {"t":{"$date":"2021-02-04T20:25:52.127+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1612470352:127322][1:0x7f1e6a6f3ac0], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Set global oldest timestamp: (0, 0)"}}
screeps_1  | ➤ YN0000: └ Completed
screeps_1  | ➤ YN0000: ┌ Fetch step
mongo_1    | {"t":{"$date":"2021-02-04T20:25:52.422+00:00"},"s":"I",  "c":"STORAGE",  "id":4795906, "ctx":"initandlisten","msg":"WiredTiger opened","attr":{"durationMillis":1185}}
mongo_1    | {"t":{"$date":"2021-02-04T20:25:52.422+00:00"},"s":"I",  "c":"RECOVERY", "id":23987,   "ctx":"initandlisten","msg":"WiredTiger recoveryTimestamp","attr":{"recoveryTimestamp":{"$timestamp":{"t":0,"i":0}}}}
mongo_1    | {"t":{"$date":"2021-02-04T20:25:52.423+00:00"},"s":"I",  "c":"STORAGE",  "id":4366408, "ctx":"initandlisten","msg":"No table logging settings modifications are required for existing WiredTiger tables","attr":{"loggingEnabled":true}}
mongo_1    | {"t":{"$date":"2021-02-04T20:25:52.423+00:00"},"s":"I",  "c":"STORAGE",  "id":22262,   "ctx":"initandlisten","msg":"Timestamp monitor starting"}
screeps_1  | ➤ YN0000: └ Completed in 0s 291ms
screeps_1  | ➤ YN0000: ┌ Link step
screeps_1  | ➤ YN0062: │ fsevents@patch:fsevents@npm%3A2.3.1#builtin<compat/fsevents>::version=2.3.1&hash=11e9ea The platform linux is incompatible with this module, link skipped.
screeps_1  | ➤ YN0062: │ fsevents@patch:fsevents@npm%3A1.2.13#builtin<compat/fsevents>::version=1.2.13&hash=11e9ea The platform linux is incompatible with this module, link skipped.
mongo_1    | {"t":{"$date":"2021-02-04T20:25:52.543+00:00"},"s":"W",  "c":"CONTROL",  "id":22120,   "ctx":"initandlisten","msg":"Access control is not enabled for the database. Read and write access to data and configuration is unrestricted","tags":["startupWarnings"]}
mongo_1    | {"t":{"$date":"2021-02-04T20:25:52.545+00:00"},"s":"I",  "c":"STORAGE",  "id":20536,   "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"}
mongo_1    | {"t":{"$date":"2021-02-04T20:25:52.546+00:00"},"s":"I",  "c":"FTDC",     "id":20625,   "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/data/db/diagnostic.data"}}
mongo_1    | {"t":{"$date":"2021-02-04T20:25:52.547+00:00"},"s":"I",  "c":"NETWORK",  "id":23015,   "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-27017.sock"}}
mongo_1    | {"t":{"$date":"2021-02-04T20:25:52.547+00:00"},"s":"I",  "c":"NETWORK",  "id":23015,   "ctx":"listener","msg":"Listening on","attr":{"address":"0.0.0.0"}}
mongo_1    | {"t":{"$date":"2021-02-04T20:25:52.547+00:00"},"s":"I",  "c":"NETWORK",  "id":23016,   "ctx":"listener","msg":"Waiting for connections","attr":{"port":27017,"ssl":"off"}}
screeps_1  | ➤ YN0000: └ Completed in 0s 389ms
screeps_1  | ➤ YN0000: Done with warnings in 0s 928ms
screeps_1  | 2021/02/04 20:25:52 Writing mods.json
screeps_1  | 2021/02/04 20:25:52 Writing 3 mods and 2 bots
screeps_1  | 2021/02/04 20:25:52 Starting Server
screeps_1  | 2021/02/04 20:25:52 Started
screeps_1  | 2021/02/04 20:25:52 [processor_6] exec: screeps-engine-processor
screeps_1  | 2021/02/04 20:25:52 [processor_3] exec: screeps-engine-processor
screeps_1  | 2021/02/04 20:25:52 [processor_0] exec: screeps-engine-processor
screeps_1  | 2021/02/04 20:25:52 [main] exec: screeps-engine-main
screeps_1  | 2021/02/04 20:25:52 [runner] exec: screeps-engine-runner
screeps_1  | 2021/02/04 20:25:52 [processor_7] exec: screeps-engine-processor
screeps_1  | 2021/02/04 20:25:52 [processor_4] exec: screeps-engine-processor
screeps_1  | 2021/02/04 20:25:52 [backend] exec: screeps-backend
screeps_1  | 2021/02/04 20:25:52 [processor_2] exec: screeps-engine-processor
screeps_1  | 2021/02/04 20:25:52 [processor_1] exec: screeps-engine-processor
screeps_1  | 2021/02/04 20:25:52 [processor_5] exec: screeps-engine-processor
screeps_1  | 2021/02/04 20:25:53 [main] Exited with error: exit status 1
screeps_1  | 2021/02/04 20:25:53 [processor_6] Exited with error: exit status 1
screeps_1  | 2021/02/04 20:25:53 [processor_7] Exited with error: exit status 1
screeps_1  | 2021/02/04 20:25:53 [processor_3] Exited with error: exit status 1
screeps_1  | 2021/02/04 20:25:53 [runner] Exited with error: exit status 1
screeps_1  | 2021/02/04 20:25:53 [processor_5] Exited with error: exit status 1
screeps_1  | 2021/02/04 20:25:53 [processor_0] Exited with error: exit status 1
screeps_1  | 2021/02/04 20:25:53 [processor_1] Exited with error: exit status 1
screeps_1  | 2021/02/04 20:25:53 [processor_4] Exited with error: exit status 1
screeps_1  | 2021/02/04 20:25:53 [processor_2] Exited with error: exit status 1
AlinaNova21 commented 3 years ago

My guess is its failing to connect to redis/mongo, check logs/main.log for the exact error, and make sure your config.yml does not have conflicting MONGO_HOST and REDIS_HOST values, they are likely set already in the docker-compose.yml (should be mongo and redis )