我尝试启动mongoldb,并在运行另一个实例时出现错误。关闭所有其他实例,但仍然得到相同的错误
$ mongod
2017-06-06T14:10:42.318-0400 I CONTROL [initandlisten] MongoDB starting : pid=22652 port=27017 dbpath=/data/db 64-bit host=IML13C02L80WLF8J2.local
2017-06-06T14:10:42.318-0400 I CONTROL [initandlisten] db version v3.4.0
2017-06-06T14:10:42.318-0400 I CONTROL [initandlisten] git version: f4240c60f005be757399042dc12f6addbc3170c1
2017-06-06T14:10:42.319-0400 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.2j 26 Sep 2016
2017-06-06T14:10:42.319-0400 I CONTROL [initandlisten] allocator: system
2017-06-06T14:10:42.319-0400 I CONTROL [initandlisten] modules: none
2017-06-06T14:10:42.319-0400 I CONTROL [initandlisten] build environment:
2017-06-06T14:10:42.319-0400 I CONTROL [initandlisten] distarch: x86_64
2017-06-06T14:10:42.319-0400 I CONTROL [initandlisten] target_arch: x86_64
2017-06-06T14:10:42.319-0400 I CONTROL [initandlisten] options: {}
2017-06-06T14:10:42.319-0400 I STORAGE [initandlisten] exception in initAndListen: 98 Unable to lock file: /data/db/mongod.lock Resource temporarily unavailable. Is a mongod instance already running?, terminating
2017-06-06T14:10:42.319-0400 I NETWORK [initandlisten] shutdown: going to close listening sockets...
2017-06-06T14:10:42.319-0400 I NETWORK [initandlisten] shutdown: going to flush diaglog...
2017-06-06T14:10:42.319-0400 I CONTROL [initandlisten] now exiting
2017-06-06T14:10:42.319-0400 I CONTROL [initandlisten] shutting down with code:100