-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 3.0.7
-
Component/s: WiredTiger
-
None
-
Environment:Linux 3.13.0-66-generic #108-Ubuntu SMP Wed Oct 7 15:20:27 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
I'm using MongoDB 3.0.6 with WiredTiger. I tried to update the mongodb-org-server package in Ubuntu 14.04 to version 3.0.7. Installation completes but after adding engine: wiredShark to the config file, the server won't start as a daemon. It complains:
2015-10-28T00:39:11.701+0200 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=1G,session_max=20000,eviction=(threads_max=4),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-10-28T00:39:11.731+0200 E STORAGE [initandlisten] WiredTiger (13) [1445985551:731389][3342:0x7f4f6e6ffbc0]: /var/lib/mongodb/journal/WiredTigerLog.0000000704: Permission denied 2015-10-28T00:39:11.735+0200 I - [initandlisten] Assertion: 28595:13: Permission denied 2015-10-28T00:39:11.735+0200 I STORAGE [initandlisten] exception in initAndListen: 28595 13: Permission denied, terminating 2015-10-28T00:39:11.735+0200 I CONTROL [initandlisten] dbexit: rc: 100
Starting MongoDB in terminal with command "sudo mongod --config /etc/mongod.conf" everything works.
All file permissions should be OK, files and directories belong to mongodb:mongodb.
As I wasn't able to run MongoDB as a daemon anymore, I had to rollback to 3.0.6 and now everything works again. What might be the problem here?