Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mongo_1 fail #5

Open
picasso250 opened this issue Jun 19, 2020 · 0 comments
Open

mongo_1 fail #5

picasso250 opened this issue Jun 19, 2020 · 0 comments

Comments

@picasso250
Copy link

E:\prog\DPlayer-node>docker-compose up
Recreating dplayer-node_mongo_1 ... done                                                                                              Starting dplayer-node_redis_1   ... done                                                                                              Recreating dplayer-node_web_1   ... done                                                                                              Attaching to dplayer-node_redis_1, dplayer-node_mongo_1, dplayer-node_web_1
mongo_1  | 2020-06-19T17:15:09.350+0000 I  CONTROL  [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'
mongo_1  | 2020-06-19T17:15:09.352+0000 W  ASIO     [main] No TransportLayer configured during NetworkInterface startup
mongo_1  | 2020-06-19T17:15:09.353+0000 I  CONTROL  [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=954794ab6674
mongo_1  | 2020-06-19T17:15:09.353+0000 I  CONTROL  [initandlisten] db version v4.2.8
mongo_1  | 2020-06-19T17:15:09.353+0000 I  CONTROL  [initandlisten] git version: 43d25964249164d76d5e04dd6cf38f6111e21f5f
mongo_1  | 2020-06-19T17:15:09.353+0000 I  CONTROL  [initandlisten] OpenSSL version: OpenSSL 1.1.1  11 Sep 2018
mongo_1  | 2020-06-19T17:15:09.353+0000 I  CONTROL  [initandlisten] allocator: tcmalloc
mongo_1  | 2020-06-19T17:15:09.353+0000 I  CONTROL  [initandlisten] modules: none
mongo_1  | 2020-06-19T17:15:09.353+0000 I  CONTROL  [initandlisten] build environment:
mongo_1  | 2020-06-19T17:15:09.353+0000 I  CONTROL  [initandlisten]     distmod: ubuntu1804
mongo_1  | 2020-06-19T17:15:09.353+0000 I  CONTROL  [initandlisten]     distarch: x86_64
mongo_1  | 2020-06-19T17:15:09.353+0000 I  CONTROL  [initandlisten]     target_arch: x86_64
mongo_1  | 2020-06-19T17:15:09.353+0000 I  CONTROL  [initandlisten] options: { net: { bindIp: "*" } }
mongo_1  | 2020-06-19T17:15:09.362+0000 I  STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=483M,cache_overflow=(file_max=0M),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],
mongo_1  | 2020-06-19T17:15:09.917+0000 E  STORAGE  [initandlisten] WiredTiger error (1) [1592586909:916998][1:0x7fc996703b00], connection: __posix_open_file, 667: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted Raw: [1592586909:916998][1:0x7fc996703b00], connection: __posix_open_file, 667: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted
mongo_1  | 2020-06-19T17:15:09.933+0000 E  STORAGE  [initandlisten] WiredTiger error (17) [1592586909:933079][1:0x7fc996703b00], connection: __posix_open_file, 667: /data/db/WiredTiger.wt: handle-open: open: File exists Raw: [1592586909:933079][1:0x7fc996703b00], connection: __posix_open_file, 667: /data/db/WiredTiger.wt: handle-open: open: File exists
mongo_1  | 2020-06-19T17:15:09.934+0000 I  STORAGE  [initandlisten] WiredTiger message unexpected file WiredTiger.wt found, renamed to WiredTiger.wt.1
mongo_1  | 2020-06-19T17:15:09.936+0000 E  STORAGE  [initandlisten] WiredTiger error (1) [1592586909:936280][1:0x7fc996703b00], connection: __posix_open_file, 667: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted Raw: [1592586909:936280][1:0x7fc996703b00], connection: __posix_open_file, 667: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted
mongo_1  | 2020-06-19T17:15:09.951+0000 E  STORAGE  [initandlisten] WiredTiger error (17) [1592586909:951303][1:0x7fc996703b00], connection: __posix_open_file, 667: /data/db/WiredTiger.wt: handle-open: open: File exists Raw: [1592586909:951303][1:0x7fc996703b00], connection: __posix_open_file, 667: /data/db/WiredTiger.wt: handle-open: open: File exists
mongo_1  | 2020-06-19T17:15:09.953+0000 I  STORAGE  [initandlisten] WiredTiger message unexpected file WiredTiger.wt found, renamed to WiredTiger.wt.2
mongo_1  | 2020-06-19T17:15:09.956+0000 E  STORAGE  [initandlisten] WiredTiger error (1) [1592586909:956054][1:0x7fc996703b00], connection: __posix_open_file, 667: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted Raw: [1592586909:956054][1:0x7fc996703b00], connection: __posix_open_file, 667: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted
mongo_1  | 2020-06-19T17:15:09.971+0000 E  STORAGE  [initandlisten] WiredTiger error (17) [1592586909:971207][1:0x7fc996703b00], connection: __posix_open_file, 667: /data/db/WiredTiger.wt: handle-open: open: File exists Raw: [1592586909:971207][1:0x7fc996703b00], connection: __posix_open_file, 667: /data/db/WiredTiger.wt: handle-open: open: File exists
mongo_1  | 2020-06-19T17:15:09.973+0000 I  STORAGE  [initandlisten] WiredTiger message unexpected file WiredTiger.wt found, renamed to WiredTiger.wt.3
mongo_1  | 2020-06-19T17:15:09.975+0000 E  STORAGE  [initandlisten] WiredTiger error (1) [1592586909:975357][1:0x7fc996703b00], connection: __posix_open_file, 667: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted Raw: [1592586909:975357][1:0x7fc996703b00], connection: __posix_open_file, 667: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted
mongo_1  | 2020-06-19T17:15:09.989+0000 E  STORAGE  [initandlisten] WiredTiger error (17) [1592586909:989222][1:0x7fc996703b00], connection: __posix_open_file, 667: /data/db/WiredTiger.wt: handle-open: open: File exists Raw: [1592586909:989222][1:0x7fc996703b00], connection: __posix_open_file, 667: /data/db/WiredTiger.wt: handle-open: open: File exists
mongo_1  | 2020-06-19T17:15:09.990+0000 I  STORAGE  [initandlisten] WiredTiger message unexpected file WiredTiger.wt found, renamed to WiredTiger.wt.4
mongo_1  | 2020-06-19T17:15:09.993+0000 E  STORAGE  [initandlisten] WiredTiger error (1) [1592586909:993144][1:0x7fc996703b00], connection: __posix_open_file, 667: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted Raw: [1592586909:993144][1:0x7fc996703b00], connection: __posix_open_file, 667: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted
mongo_1  | 2020-06-19T17:15:09.995+0000 W  STORAGE  [initandlisten] Failed to start up WiredTiger under any compatibility version.
mongo_1  | 2020-06-19T17:15:09.996+0000 F  STORAGE  [initandlisten] Reason: 1: Operation not permitted
mongo_1  | 2020-06-19T17:15:09.996+0000 F  -        [initandlisten] Fatal Assertion 28595 at src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 915
mongo_1  | 2020-06-19T17:15:09.996+0000 F  -        [initandlisten]
mongo_1  |
mongo_1  | ***aborting after fassert() failure
mongo_1  |
mongo_1  |
redis_1  | 1:C 19 Jun 2020 17:15:02.759 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis_1  | 1:C 19 Jun 2020 17:15:02.759 # Redis version=6.0.5, bits=64, commit=00000000, modified=0, pid=1, just started
redis_1  | 1:C 19 Jun 2020 17:15:02.759 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
redis_1  | 1:M 19 Jun 2020 17:15:02.761 * Running mode=standalone, port=6379.
redis_1  | 1:M 19 Jun 2020 17:15:02.761 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
redis_1  | 1:M 19 Jun 2020 17:15:02.761 # Server initialized
redis_1  | 1:M 19 Jun 2020 17:15:02.761 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
redis_1  | 1:M 19 Jun 2020 17:15:02.761 * Loading RDB produced by version 6.0.5
redis_1  | 1:M 19 Jun 2020 17:15:02.761 * RDB age 36 seconds
redis_1  | 1:M 19 Jun 2020 17:15:02.761 * RDB memory usage when created 0.77 Mb
redis_1  | 1:M 19 Jun 2020 17:15:02.761 * DB loaded from disk: 0.000 seconds
redis_1  | 1:M 19 Jun 2020 17:15:02.761 * Ready to accept connections
dplayer-node_mongo_1 exited with code 14
web_1    | 2020-06-19T17:15:18: PM2 log: Launching in no daemon mode
web_1    | 2020-06-19T17:15:18: PM2 log: App [index:0] starting in -fork mode-
web_1    | 2020-06-19T17:15:18: PM2 log: App [index:0] online
web_1    | info: 🎉 DPlayer start! Cheers!
web_1    | info: Listening Port 1207
web_1    | info: Redis connected
web_1    | error: Mongodb error:  {"name":"MongoNetworkError"}
web_1    | { MongoNetworkError: failed to connect to server [mongo:27017] on first connect [MongoNetworkError: getaddrinfo ENOTFOUND mongo mongo:27017]
web_1    |     at Pool.<anonymous> (/usr/src/app/node_modules/mongodb-core/lib/topologies/server.js:505:11)
web_1    |     at emitOne (events.js:116:13)
web_1    |     at Pool.emit (events.js:211:7)
web_1    |     at Connection.<anonymous> (/usr/src/app/node_modules/mongodb-core/lib/connection/pool.js:329:12)
web_1    |     at Object.onceWrapper (events.js:317:30)
web_1    |     at emitTwo (events.js:126:13)
web_1    |     at Connection.emit (events.js:214:7)
web_1    |     at Socket.<anonymous> (/usr/src/app/node_modules/mongodb-core/lib/connection/connection.js:245:50)
web_1    |     at Object.onceWrapper (events.js:315:30)
web_1    |     at emitOne (events.js:116:13)
web_1    |     at Socket.emit (events.js:211:7)
web_1    |     at emitErrorNT (internal/streams/destroy.js:73:8)
web_1    |     at _combinedTickCallback (internal/process/next_tick.js:139:11)
web_1    |     at process._tickCallback (internal/process/next_tick.js:181:9)
web_1    |   name: 'MongoNetworkError',
web_1    |   message: 'failed to connect to server [mongo:27017] on first connect [MongoNetworkError: getaddrinfo ENOTFOUND mongo mongo:27017]' }



Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant