osx - MongoDB: `Address in use` Error even though Address is NOT in use. -
i have newly installed version of mongodb (v3.2.0) on mac. when try running command mongod
error:
listen(): bind() failed errno:48 address in use socket: 0.0.0.0:27017
even though result of $ lsof -i :27017
shows nothing using port.
here terminal output:
michaels-imac:~ michael$ mongod 2016-01-07t13:38:00.097+0000 control [initandlisten] mongodb starting : pid=11485 port=27017 dbpath=/data/db 64-bit host=michaels-imac.home 2016-01-07t13:38:00.097+0000 control [initandlisten] db version v3.2.0 2016-01-07t13:38:00.097+0000 control [initandlisten] git version: 45d947729a0315accb6d4f15a6b06be6d9c19fe7 2016-01-07t13:38:00.098+0000 control [initandlisten] allocator: system 2016-01-07t13:38:00.098+0000 control [initandlisten] modules: none 2016-01-07t13:38:00.098+0000 control [initandlisten] build environment: 2016-01-07t13:38:00.098+0000 control [initandlisten] distarch: x86_64 2016-01-07t13:38:00.098+0000 control [initandlisten] target_arch: x86_64 2016-01-07t13:38:00.098+0000 control [initandlisten] options: {} 2016-01-07t13:38:00.098+0000 e network [initandlisten] listen(): bind() failed errno:48 address in use socket: 0.0.0.0:27017 2016-01-07t13:38:00.098+0000 e network [initandlisten] addr in use 2016-01-07t13:38:00.098+0000 e storage [initandlisten] failed set sockets during startup. 2016-01-07t13:38:00.098+0000 control [initandlisten] dbexit: rc: 48 michaels-imac:~ michael$
what missing here?
Comments
Post a Comment