Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text file busy? #72

Closed
joehecn opened this issue Dec 25, 2015 · 3 comments
Closed

Text file busy? #72

joehecn opened this issue Dec 25, 2015 · 3 comments

Comments

@joehecn
Copy link

joehecn commented Dec 25, 2015

os: windows10

I'm use :
docker run --name mongodb -v /c/Users/workspace/dbbase:/data/db -d mongo:latest

the Error is:

2015-12-25T11:22:57.391+0000 I CONTROL [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=4c4dbb727302
2015-12-25T11:22:57.391+0000 I CONTROL [initandlisten] db version v3.2.0
2015-12-25T11:22:57.391+0000 I CONTROL [initandlisten] git version: 45d947729a0315accb6d4f15a6b06be6d9c19fe7
2015-12-25T11:22:57.391+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1e 11 Feb 2013
2015-12-25T11:22:57.391+0000 I CONTROL [initandlisten] allocator: tcmalloc
2015-12-25T11:22:57.391+0000 I CONTROL [initandlisten] modules: none
2015-12-25T11:22:57.391+0000 I CONTROL [initandlisten] build environment:
2015-12-25T11:22:57.391+0000 I CONTROL [initandlisten] distmod: debian71
2015-12-25T11:22:57.391+0000 I CONTROL [initandlisten] distarch: x86_64
2015-12-25T11:22:57.391+0000 I CONTROL [initandlisten] target_arch: x86_64
2015-12-25T11:22:57.391+0000 I CONTROL [initandlisten] options: {}
2015-12-25T11:22:57.400+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=1G,session_max=20000,eviction=(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),
2015-12-25T11:22:57.419+0000 E STORAGE [initandlisten] WiredTiger (17) [1451042577:419520][1:0x7fdd36836c80], connection: /data/db/WiredTiger.wt: File exists
2015-12-25T11:22:57.420+0000 E STORAGE [initandlisten] WiredTiger (26) [1451042577:420872][1:0x7fdd36836c80], connection: rename WiredTiger.wt to WiredTiger.wt.1: Text file busy
2015-12-25T11:22:57.422+0000 I - [initandlisten] Assertion: 28595:26: Text file busy
2015-12-25T11:22:57.423+0000 I STORAGE [initandlisten] exception in initAndListen: 28595 26: Text file busy, terminating
2015-12-25T11:22:57.423+0000 I CONTROL [initandlisten] dbexit: rc: 100

@yosifkit
Copy link
Member

Because of the way Mongodb uses the file system, I think it is unable to run on shared storage like VirtualBox Shared Folders.

@tianon tianon closed this as completed Aug 22, 2016
@Oyelaking
Copy link

See #74 for a workaround.

Worked beautifully for me on Windows 8.1

@godpit

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants