[SERVER-4126] restart does not work in standalone mongo Created: 22/Oct/11 Updated: 08/Mar/13 Resolved: 27/Aug/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 2.0.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | ofer samocha | Assignee: | Scott Hernandez (Inactive) |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Linux |
||
| Attachments: |
|
| Operating System: | ALL |
| Participants: |
| Description |
|
Hi, it seems that restart does not work in version 2.0.1 (it cannot hold the lock file) Ofer Sat Oct 22 03:46:03 [interruptThread] shutdown: going to close listening sockets...
Sat Oct 22 03:46:03 [initandlisten] MongoDB starting : pid=6032 port=27017 dbpath=/var/local/mongo/ 64-bit host=im013 Sat Oct 22 03:46:03 [initandlisten] exception in initAndListen: 10310 Unable to acquire lock for lockfilepath: /var/local/mongo/mongod.lock, terminating
Sat Oct 22 03:46:25 [initandlisten] MongoDB starting : pid=6073 port=27017 dbpath=/var/local/mongo/ 64-bit host=im013 Sat Oct 22 03:46:25 [initandlisten] journal dir=/var/local/mongo/journal |
| Comments |
| Comment by ofer samocha [ 30/Dec/11 ] |
|
does not reproduce in 2.0.2 |
| Comment by ofer samocha [ 22/Oct/11 ] |
|
it start after /etc/init.d/mongod start |
| Comment by ofer samocha [ 22/Oct/11 ] |
|
/etc/mongod.conf |
| Comment by ofer samocha [ 22/Oct/11 ] |
|
/etc/init.d/mongod |
| Comment by Scott Hernandez (Inactive) [ 22/Oct/11 ] |
|
What command line args and config file settings are used by this instance? Was there a file permission issue crwating or deleting the lock file? |