/etc/nginx/sites-available/rocket-chat
2018/07/10 14:11:29 [error] 431#431: *54 connect() failed (111: Connection refused) while connecting to upstream, client: 1.2.3.4, server: chat.xxx.com, request: “GET /_timesync HTTP/1.1”, $
/var/log/mongodb/mongodb.log
2018-07-10T14:44:15.684+0300 I CONTROL [signalProcessingThread] got signal 15 (Terminated), will terminate after current cmd ends
2018-07-10T14:44:15.684+0300 I NETWORK [signalProcessingThread] shutdown: going to close listening sockets…
2018-07-10T14:44:15.684+0300 I NETWORK [signalProcessingThread] closing listening socket: 7
2018-07-10T14:44:15.684+0300 I NETWORK [signalProcessingThread] closing listening socket: 8
2018-07-10T14:44:15.684+0300 I NETWORK [signalProcessingThread] removing socket file: /tmp/mongodb-27017.sock
2018-07-10T14:44:15.684+0300 I NETWORK [signalProcessingThread] shutdown: going to flush diaglog…
2018-07-10T14:44:15.684+0300 I REPL [signalProcessingThread] shutting down replication subsystems
2018-07-10T14:44:15.684+0300 I REPL [signalProcessingThread] Stopping replication reporter thread
2018-07-10T14:44:15.684+0300 I REPL [signalProcessingThread] Stopping replication fetcher thread
2018-07-10T14:44:15.685+0300 I REPL [signalProcessingThread] Stopping replication applier thread
2018-07-10T14:44:15.913+0300 I REPL [signalProcessingThread] Stopping replication storage threads
2018-07-10T14:44:15.940+0300 I FTDC [signalProcessingThread] Shutting down full-time diagnostic data capture
2018-07-10T14:44:15.944+0300 I STORAGE [signalProcessingThread] WiredTigerKVEngine shutting down
2018-07-10T14:44:16.056+0300 I STORAGE [signalProcessingThread] shutdown: removing fs lock…
2018-07-10T14:44:16.057+0300 I CONTROL [signalProcessingThread] now exiting
2018-07-10T14:44:16.057+0300 I CONTROL [signalProcessingThread] shutting down with code:0
2018-07-10T14:44:29.350+0300 I CONTROL [main] ***** SERVER RESTARTED *****
2018-07-10T14:44:29.429+0300 I CONTROL [initandlisten] MongoDB starting : pid=220 port=27017 dbpath=/var/lib/mongodb 64-bit host=chat
2018-07-10T14:44:29.429+0300 I CONTROL [initandlisten] db version v3.4.15
2018-07-10T14:44:29.429+0300 I CONTROL [initandlisten] git version: 52e5b5fbaa3a2a5b1a217f5e647b5061817475f9
2018-07-10T14:44:29.429+0300 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2n 7 Dec 2017
2018-07-10T14:44:29.429+0300 I CONTROL [initandlisten] allocator: tcmalloc
2018-07-10T14:44:29.429+0300 I CONTROL [initandlisten] modules: none
2018-07-10T14:44:29.429+0300 I CONTROL [initandlisten] build environment:
2018-07-10T14:44:29.429+0300 I CONTROL [initandlisten] distmod: ubuntu1604
2018-07-10T14:44:29.429+0300 I CONTROL [initandlisten] distarch: x86_64
2018-07-10T14:44:29.429+0300 I CONTROL [initandlisten] target_arch: x86_64
2018-07-10T14:44:29.429+0300 I CONTROL [initandlisten] options: { config: “/etc/mongod.conf”, net: { port: 27017 }, replication: { oplogSizeMB: 1, replSetName: “rs0” }, storage: { dbPath: “/var/lib/mongodb”, journal: { enabled: true } }, systemLog: { destination: “file”, logAppend: true, path: “/var/log/mongodb/mongod.log” } }
2018-07-10T14:44:29.502+0300 I - [initandlisten] Detected data files in /var/lib/mongodb created by the ‘wiredTiger’ storage engine, so setting the active storage engine to ‘wiredTiger’.
2018-07-10T14:44:29.503+0300 I STORAGE [initandlisten]
2018-07-10T14:44:29.503+0300 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
2018-07-10T14:44:29.503+0300 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem
2018-07-10T14:44:29.503+0300 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=1244M,session_max=20000,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),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),verbose=(recovery_progress),
2018-07-10T14:44:30.060+0300 I STORAGE [initandlisten] WiredTiger message [1531223070:60366][220:0x7f8083237180], txn-recover: Main recovery loop: starting at 309/397184
2018-07-10T14:44:30.172+0300 I STORAGE [initandlisten] WiredTiger message [1531223070:172537][220:0x7f8083237180], txn-recover: Recovering log 309 through 310
2018-07-10T14:44:30.241+0300 I STORAGE [initandlisten] WiredTiger message [1531223070:241312][220:0x7f8083237180], txn-recover: Recovering log 310 through 310
2018-07-10T14:44:30.627+0300 I STORAGE [initandlisten] Starting WiredTigerRecordStoreThread local.oplog.rs
2018-07-10T14:44:30.627+0300 I STORAGE [initandlisten] The size storer reports that the oplog contains 6573 records totaling to 1092269 bytes
2018-07-10T14:44:30.631+0300 I STORAGE [initandlisten] Sampling from the oplog between Jul 9 22:38:01:1 and Jul 10 14:44:13:1 to determine where to place markers for truncation
2018-07-10T14:44:30.631+0300 I STORAGE [initandlisten] Taking 104 samples and assuming that each section of oplog contains approximately 632 records totaling to 105022 bytes
2018-07-10T14:44:30.714+0300 I STORAGE [initandlisten] Placing a marker at optime Jul 10 00:11:02:1
2018-07-10T14:44:30.714+0300 I STORAGE [initandlisten] Placing a marker at optime Jul 10 01:45:00:1
2018-07-10T14:44:30.714+0300 I STORAGE [initandlisten] Placing a marker at optime Jul 10 03:07:23:1
2018-07-10T14:44:30.714+0300 I STORAGE [initandlisten] Placing a marker at optime Jul 10 05:05:23:1
2018-07-10T14:44:30.714+0300 I STORAGE [initandlisten] Placing a marker at optime Jul 10 06:39:54:1
2018-07-10T14:44:30.714+0300 I STORAGE [initandlisten] Placing a marker at optime Jul 10 08:48:34:1
2018-07-10T14:44:30.714+0300 I STORAGE [initandlisten] Placing a marker at optime Jul 10 10:06:45:1
2018-07-10T14:44:30.714+0300 I STORAGE [initandlisten] Placing a marker at optime Jul 10 11:55:45:1
2018-07-10T14:44:30.714+0300 I STORAGE [initandlisten] Placing a marker at optime Jul 10 13:19:16:1
2018-07-10T14:44:30.714+0300 I STORAGE [initandlisten] Placing a marker at optime Jul 10 14:03:43:a6
2018-07-10T14:44:32.294+0300 I CONTROL [initandlisten]
2018-07-10T14:44:32.294+0300 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
2018-07-10T14:44:32.294+0300 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
2018-07-10T14:44:32.294+0300 I CONTROL [initandlisten]
2018-07-10T14:44:32.296+0300 I CONTROL [initandlisten]
2018-07-10T14:44:32.296+0300 I CONTROL [initandlisten] ** WARNING: You are running on a NUMA machine.
2018-07-10T14:44:32.296+0300 I CONTROL [initandlisten] ** We suggest launching mongod like this to avoid performance problems:
2018-07-10T14:44:32.296+0300 I CONTROL [initandlisten] ** numactl --interleave=all mongod [other options]
2018-07-10T14:44:32.296+0300 I CONTROL [initandlisten]
2018-07-10T14:44:32.672+0300 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory ‘/var/lib/mongodb/diagnostic.data’
2018-07-10T14:44:32.674+0300 I REPL [replExecDBWorker-2] New replica set config in use: { _id: “rs0”, version: 1, protocolVersion: 1, members: [ { _id: 0, host: “chat:27017”, arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, tags: {}, slaveDelay: 0, votes: 1 } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, catchUpTimeoutMillis: 2000, getLastErrorModes: {}, getLastErrorDefaults: { w: 1, wtimeout: 0 }, replicaSetId: ObjectId(‘58a476efd7b4c08371c9405d’) } }
2018-07-10T14:44:32.674+0300 I REPL [replExecDBWorker-2] This node is chat:27017 in the config
2018-07-10T14:44:32.674+0300 I REPL [replExecDBWorker-2] transition to STARTUP2
2018-07-10T14:44:32.674+0300 I REPL [replExecDBWorker-2] Starting replication storage threads
2018-07-10T14:44:32.675+0300 I REPL [replExecDBWorker-2] Starting replication fetcher thread
2018-07-10T14:44:32.675+0300 I REPL [replExecDBWorker-2] Starting replication applier thread
2018-07-10T14:44:32.675+0300 I REPL [replExecDBWorker-2] Starting replication reporter thread
2018-07-10T14:44:32.675+0300 I REPL [rsSync] transition to RECOVERING
2018-07-10T14:44:32.675+0300 I REPL [rsSync] transition to SECONDARY
2018-07-10T14:44:32.676+0300 I REPL [rsSync] conducting a dry run election to see if we could be elected. current term: 266
2018-07-10T14:44:32.676+0300 I REPL [ReplicationExecutor] dry election run succeeded, running for election in term 267
2018-07-10T14:44:32.676+0300 I REPL [ReplicationExecutor] election succeeded, assuming primary role in term 267
2018-07-10T14:44:32.676+0300 I REPL [ReplicationExecutor] transition to PRIMARY
2018-07-10T14:44:32.676+0300 I REPL [ReplicationExecutor] Entering primary catch-up mode.
2018-07-10T14:44:32.676+0300 I REPL [ReplicationExecutor] Exited primary catch-up mode.
2018-07-10T14:44:32.677+0300 I NETWORK [thread1] waiting for connections on port 27017
2018-07-10T14:44:33.677+0300 I REPL [rsSync] transition to primary complete; database writes are now permitted
2018-07-10T14:44:36.652+0300 I NETWORK [thread1] connection accepted from 1.2.3.5:55938 #1 (1 connection now open)
2018-07-10T14:44:36.658+0300 I NETWORK [conn1] received client metadata from 1.2.3.5:55938 conn1: { driver: { name: “nodejs”, version: “2.2.34” }, os: { type: “Linux”, name: “linux”, architecture: “x64”, version: “4.15.17-3-pve” }, platform: “Node.js v8.11.3, LE, mongodb-core: 2.1.18” }
2018-07-10T14:44:36.711+0300 I NETWORK [thread1] connection accepted from 127.0.0.1:39724 #2 (2 connections now open)
2018-07-10T14:44:36.712+0300 I NETWORK [conn2] received client metadata from 127.0.0.1:39724 conn2: { driver: { name: “nodejs”, version: “2.2.34” }, os: { type: “Linux”, name: “linux”, architecture: “x64”, version: “4.15.17-3-pve” }, platform: “Node.js v8.11.3, LE, mongodb-core: 2.1.18” }
2018-07-10T14:44:36.713+0300 I NETWORK [thread1] connection accepted from 127.0.0.1:39726 #3 (3 connections now open)
2018-07-10T14:44:36.714+0300 I NETWORK [conn3] received client metadata from 127.0.0.1:39726 conn3: { driver: { name: “nodejs”, version: “2.2.34” }, os: { type: “Linux”, name: “linux”, architecture: “x64”, version: “4.15.17-3-pve” }, platform: “Node.js v8.11.3, LE, mongodb-core: 2.1.18” }
2018-07-10T14:44:42.350+0300 I NETWORK [thread1] connection accepted from 1.2.3.5:55946 #4 (4 connections now open)