[SERVER-7901] mongo services on stopping gives Error 109 : Pipe has been ended Created: 11/Dec/12  Updated: 15/Feb/13  Resolved: 11/Dec/12

Status: Closed
Project: Core Server
Component/s: Admin, Tools
Affects Version/s: 2.2.1
Fix Version/s: None

Type: Bug Priority: Critical - P2
Reporter: Abhijeet Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: Windows, mongod
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

WIndows 2008 R2 x64


Attachments: JPEG File mongodb-win-services.JPG    
Issue Links:
Duplicate
duplicates SERVER-6771 Windows Service: 'net stop mongodb' g... Closed
Operating System: Windows
Steps To Reproduce:

1- install the windows service for mongod using the following command
mongod.exe --config "C:\mongo\conf\config.properties" --serviceName mdb27017 --serviceDisplayName "Mongo Instance 27017" --serviceDescription "MongoDB Instance running on 27017" --install
2- start the service in Services MMC
3- try stopping the services and you will the issue

Participants:

 Description   

I installed mongo service from command line using mongod --install

but when i am stopping the mongodb service it gives the Error 109: :Pipe has been ended
PFA for screen capture on stopping service

I analyzed the logs i found that mongo service is stopping fine.
following are the logs at time of stopping it

Fri Nov 23 12:10:04 [TTLMonitor] query test.system.indexes query: { expireAfterSeconds:

{ $exists: true }

} ntoreturn:0 keyUpdates:0 locks(micros) r:38 nreturned:0 reslen:20 0ms
Fri Nov 23 12:10:10 [serviceShutdown] got SERVICE_CONTROL_STOP request from Windows Service Control Manager, will terminate after current cmd ends
Fri Nov 23 12:10:10 [serviceShutdown] now exiting
Fri Nov 23 12:10:10 dbexit:
Fri Nov 23 12:10:10 [serviceShutdown] shutdown: going to close listening sockets...
Fri Nov 23 12:10:10 [serviceShutdown] closing listening socket: 344
Fri Nov 23 12:10:10 [serviceShutdown] closing listening socket: 356
Fri Nov 23 12:10:10 [serviceShutdown] shutdown: going to flush diaglog...
Fri Nov 23 12:10:10 [serviceShutdown] shutdown: going to close sockets...
Fri Nov 23 12:10:10 [serviceShutdown] shutdown: waiting for fs preallocator...
Fri Nov 23 12:10:10 [serviceShutdown] shutdown: lock for final commit...
Fri Nov 23 12:10:10 [serviceShutdown] shutdown: final commit...
Fri Nov 23 12:10:10 [serviceShutdown] shutdown: closing all files...
Fri Nov 23 12:10:10 [serviceShutdown] closeAllFiles() finished
Fri Nov 23 12:10:10 [serviceShutdown] journalCleanup...
Fri Nov 23 12:10:10 [serviceShutdown] removeJournalFiles
Fri Nov 23 12:10:10 [serviceShutdown] removeJournalFiles end
Fri Nov 23 12:10:10 [serviceShutdown] shutdown: removing fs lock...
Fri Nov 23 12:10:10 [initandlisten] now exiting
Fri Nov 23 12:10:10 dbexit: ; exiting immediately


Generated at Thu Feb 08 03:15:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.