[SERVER-7031] Windows service shuts down when user logs out Created: 13/Sep/12 Updated: 11/Jul/16 Resolved: 02/Oct/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 2.0.7, 2.2.0 |
| Fix Version/s: | 2.2.2, 2.3.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Tad Marshall | Assignee: | Tad Marshall |
| Resolution: | Done | Votes: | 0 |
| Labels: | Windows | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows, running as a Windows service |
||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | Windows | ||||
| Participants: | |||||
| Description |
|
It is reported that mongod.exe shuts down when running as a service when a user logs out of an interactive Windows session. I am unable to duplicate this so far in Windows 7, but I may be able to with more information about how the reporter's system is configured. See discussion at https://groups.google.com/forum/?fromgroups=#!topic/mongodb-user/08gx8nHHmx0 for details so far. |
| Comments |
| Comment by auto [ 06/Nov/12 ] |
|
Author: {u'date': u'2012-10-02T17:03:09Z', u'email': u'tad@10gen.com', u'name': u'Tad Marshall'}Message: Versions of Windows prior to Windows Vista send a CTRL_LOGOFF_EVENT |
| Comment by Tad Marshall [ 02/Oct/12 ] |
|
Suggest backport to 2.2 and 2.0 branches (same code). |
| Comment by auto [ 02/Oct/12 ] |
|
Author: {u'date': u'2012-10-02T10:03:09-07:00', u'email': u'tad@10gen.com', u'name': u'Tad Marshall'}Message: Versions of Windows prior to Windows Vista send a CTRL_LOGOFF_EVENT |
| Comment by Tad Marshall [ 14/Sep/12 ] |
|
Update 1 from original poster: mongo service is installed in windows 2003 x86 machine and installed using out of the box support for installing same. Update 2 from original poster: Hi Tad, in there check out the [consoleTerminate] in that log anwers to questions No , i didnt do any thing as such Update 3 from original poster: i tried to replicate same with both Windows 7 Ultimate x86 and Windows Server 2012 R2 x64 , it working with fine/ no issues. but same in case of the Windows Server 2003 R2 EE, it is causing this issue. |