osx - Failed to start mongodb with brew services - Abort trap: 6 -
i did fresh install of mongodb using brew install mongodb
. running no config file mongod
runs fine. if specify default config file errors.
$ mongod --config /usr/local/etc/mongod.conf abort trap: 6
brew services doesn't work either
$ brew services restart mongodb stopping `mongodb`... (might take while) ==> stopped `mongodb` (label: homebrew.mxcl.mongodb) ==> started `mongodb` (label: homebrew.mxcl.mongodb) $ brew services list mongodb started ~/library/launchagents/homebrew.mxcl.mongodb.plist
however started
in yellow. have other services running , started
green
files
both defaults generated brew:
/usr/local/etc/mongod.conf
systemlog: destination: file path: /usr/local/var/log/mongodb/mongo.log logappend: true storage: dbpath: /usr/local/var/mongodb net: bindip: 127.0.0.1
~library/launchagents/homebrew.mxcl.mongodb.plist
<?xml version="1.0" encoding="utf-8"?> <!doctype plist public "-//apple//dtd plist 1.0//en" "http://www.apple.com/dtds/propertylist-1.0.dtd"> <plist version="1.0"> <dict> <key>label</key> <string>homebrew.mxcl.mongodb</string> <key>programarguments</key> <array> <string>/usr/local/opt/mongodb/bin/mongod</string> <string>--config</string> <string>/usr/local/etc/mongod.conf</string> </array> <key>runatload</key> <true/> <key>keepalive</key> <false/> <key>workingdirectory</key> <string>/usr/local</string> <key>standarderrorpath</key> <string>/usr/local/var/log/mongodb/output.log</string> <key>standardoutpath</key> <string>/usr/local/var/log/mongodb/output.log</string> <key>hardresourcelimits</key> <dict> <key>numberoffiles</key> <integer>4096</integer> </dict> <key>softresourcelimits</key> <dict> <key>numberoffiles</key> <integer>4096</integer> </dict> </dict> </plist>
log file:
[main] ***** server restarted ***** 2017-08-17t22:09:28.961-0400 control [initandlisten] mongodb starting : pid=25338 port=27017 dbpath=/usr/local/var/mongodb 64-bit host=starktower 2017-08-17t22:09:28.961-0400 control [initandlisten] db version v3.4.7 2017-08-17t22:09:28.961-0400 control [initandlisten] git version: cf38c1b8a0a8dca4a11737581beafef4fe120bcd 2017-08-17t22:09:28.961-0400 control [initandlisten] openssl version: openssl 1.0.2l 25 may 2017 2017-08-17t22:09:28.961-0400 control [initandlisten] allocator: system 2017-08-17t22:09:28.961-0400 control [initandlisten] modules: none 2017-08-17t22:09:28.961-0400 control [initandlisten] build environment: 2017-08-17t22:09:28.961-0400 control [initandlisten] distarch: x86_64 2017-08-17t22:09:28.961-0400 control [initandlisten] target_arch: x86_64 2017-08-17t22:09:28.961-0400 control [initandlisten] options: { config: "/usr/local/etc/mongod.conf", net: { bindip: "127.0.0.1" }, storage: { dbpath: "/usr/local/var/mongodb" }, systemlog: { destination: "file", logappend: true, path: "/usr/local/var/log/mongodb/mongo.log" } } 2017-08-17t22:09:28.961-0400 - [initandlisten] detected data files in /usr/local/var/mongodb created 'wiredtiger' storage engine, setting active storage engine 'wiredtiger'. 2017-08-17t22:09:28.961-0400 storage [initandlisten] wiredtiger_open config: create,cache_size=7680m,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), 2017-08-17t22:09:29.720-0400 e storage [initandlisten] wiredtiger error (-31802) [1503022169:720091][25338:0x7fffd39fa3c0], file:sizestorer.wt, wt_session.open_cursor: unable read root page file:sizestorer.wt: wt_error: non-specific wiredtiger error 2017-08-17t22:09:29.721-0400 - [initandlisten] invariant failure: ret resulted in status unknownerror: -31802: wt_error: non-specific wiredtiger error @ src/mongo/db/storage/wiredtiger/wiredtiger_size_storer.cpp 69 2017-08-17t22:09:29.721-0400 - [initandlisten] ***aborting after invariant() failure 2017-08-17t22:09:29.738-0400 f - [initandlisten] got signal: 6 (abort trap: 6).
Comments
Post a Comment