[SERVER-45604] Mongo DB invariant failure Created: 16/Jan/20 Updated: 27/Jan/20 Resolved: 27/Jan/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Hemanth Vemula | Assignee: | Carl Champain (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
Hi All, I have installed linux VM in azure and attached a external disk(1024 GB) to it. when I tried to change the db path from /var/lib/mongo to /newdisk , I am not able to start mongo service. Could you please help me with this.
|
| Comments |
| Comment by Carl Champain (Inactive) [ 27/Jan/20 ] |
|
We are glad to know that it's working! |
| Comment by Hemanth Vemula [ 27/Jan/20 ] |
|
it worked now . thanks a lot
|
| Comment by Carl Champain (Inactive) [ 24/Jan/20 ] |
|
Can you please:
Thanks, |
| Comment by Hemanth Vemula [ 23/Jan/20 ] |
|
anything else do i need to look at?
|
| Comment by Hemanth Vemula [ 22/Jan/20 ] |
|
drwxrwxrwx. 5 testuser mongod 4096 Jan 16 22:40 aramark drwxrwxrwx. 4 testuser mongod 4096 Jan 19 17:06 data
both the folders have same permissions |
| Comment by Danny Hatcher (Inactive) [ 22/Jan/20 ] |
|
What about the permissions on /aramark/data specifically? |
| Comment by Hemanth Vemula [ 22/Jan/20 ] |
|
2020-01-22T17:06:10.689+0000 I CONTROL [initandlisten] options: { config: "/etc/mongod.conf", net: { bindIp: "127.0.0.1", port: 27017 }, processManagement: { fork: true, pidFilePath: "/var/run/mongodb/mongod.pid", timeZoneInfo: "/usr/share/zoneinfo" }, storage: { dbPath: "/aramark/data", journal: { enabled: true } }, systemLog: { destination: "file", logAppend: true, path: "/var/log/mongodb/mongod.log" } }
|
| Comment by Hemanth Vemula [ 22/Jan/20 ] |
|
I am still getting the same error |
| Comment by Hemanth Vemula [ 22/Jan/20 ] |
|
drwxrwxrwx. 5 mongod mongod 4096 Jan 16 22:40 aramark |
| Comment by Danny Hatcher (Inactive) [ 22/Jan/20 ] |
|
Can you please provide the logs from after you provided the correct file permissions? |
| Comment by Hemanth Vemula [ 22/Jan/20 ] |
|
Hi Carl, I would appreciate your help in the above as soon as possible. Please let me know if you need anything else from my end. |
| Comment by Hemanth Vemula [ 19/Jan/20 ] |
|
I have tried giving full permissions to that mount point, still it is failing, Could you please help me with this issue . Thanks Hemanth V |
| Comment by Hemanth Vemula [ 19/Jan/20 ] |
|
Hi Carl,
Please find below error from mongodb.log file .
2020-01-19T16:56:33.996+0000 I CONTROL [initandlisten] MongoDB starting : pid=63348 port=27017 dbpath=/aramark/data 64-bit host=campuseatingaiVmIisD01 , processManagement: { fork: true, pidFilePath: "/var/run/mongodb/mongod.pid", timeZoneInfo: "/usr/share/zoneinfo" }, storage: { dbPath: "/aramark/data", journal: { enabled: true } }, systemLog: { destination: "file", logAppend: true, path: "/var/log/mongodb/mongod.log" } } ***aborting after invariant() failure |
| Comment by Carl Champain (Inactive) [ 17/Jan/20 ] |
|
Hi vemulahemanth333@gmail.com, Thanks for the report. Kind regards, |