Skip to content

Errors getting started #232

@KevinBurton

Description

@KevinBurton

I issue the command

docker run --name mymongo -v //c/mongodb:/data/db -d mongo

and the container immediately exits.

When I look at the logs (docker logs mymongo) I get:

2018-01-04T21:32:20.159+0000 I CONTROL  [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=
0e6b202f1271
2018-01-04T21:32:20.159+0000 I CONTROL  [initandlisten] db version v3.6.1
2018-01-04T21:32:20.159+0000 I CONTROL  [initandlisten] git version: 025d4f4fe61efd1fb6f0005be20cb45a004093d1
2018-01-04T21:32:20.159+0000 I CONTROL  [initandlisten] OpenSSL version: OpenSSL 1.0.1t  3 May 2016
2018-01-04T21:32:20.159+0000 I CONTROL  [initandlisten] allocator: tcmalloc
2018-01-04T21:32:20.159+0000 I CONTROL  [initandlisten] modules: none
2018-01-04T21:32:20.160+0000 I CONTROL  [initandlisten] build environment:
2018-01-04T21:32:20.160+0000 I CONTROL  [initandlisten]     distmod: debian81
2018-01-04T21:32:20.160+0000 I CONTROL  [initandlisten]     distarch: x86_64
2018-01-04T21:32:20.160+0000 I CONTROL  [initandlisten]     target_arch: x86_64
2018-01-04T21:32:20.160+0000 I CONTROL  [initandlisten] options: { net: { bindIpAll: true } }
2018-01-04T21:32:20.187+0000 I STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=478M,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),statistics_log=(wait=0),verbose=(recovery_progress),
2018-01-04T21:32:20.301+0000 E STORAGE  [initandlisten] WiredTiger error (1) [1515101540:300975][1:0x7f7cd61cda00], conn
ection: /data/db/WiredTiger.wt: handle-open: open: Operation not permitted
2018-01-04T21:32:20.303+0000 E -        [initandlisten] Assertion: 28595:1: Operation not permitted src/mongo/db/storage
/wiredtiger/wiredtiger_kv_engine.cpp 413
2018-01-04T21:32:20.305+0000 I STORAGE  [initandlisten] exception in initAndListen: Location28595: 1: Operation not perm
itted, terminating
2018-01-04T21:32:20.305+0000 I NETWORK  [initandlisten] shutdown: going to close listening sockets...
2018-01-04T21:32:20.305+0000 I NETWORK  [initandlisten] removing socket file: /tmp/mongodb-27017.sock
2018-01-04T21:32:20.305+0000 I CONTROL  [initandlisten] now exiting
2018-01-04T21:32:20.305+0000 I CONTROL  [initandlisten] shutting down with code:100

How do I determine which operation is not permitted?
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions