Net.exe System Error 2 Has Occurred
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the system error 2 has occurred the system cannot find the file specified company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions system error 2 has occurred mongodb Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million system error 2 has occurred windows 7 programmers, just like you, helping each other. Join them; it only takes a minute: Sign up MongoDB 3.0 Windows Service Start : System Error 2 has occured up vote 5 down vote favorite 2 I have error 2 the system cannot find the file specified windows 7 downloaded the MongoDB Windows msi install and run this successfully. The mongod.exe and mongo.exe command file executions work properly. The installation manual shows how to create the configuration file, and then to create the Windows Server using the command sc.exe create MongoDB binPath= "\"C:\mongodb\mongod.exe\" --service --config=\"C:\mongodb\mongod.cfg\"" This creates a SUCCESS response. The service is then started net start MongoDB but this produces the response System Error 2 has occurred. The system cannot find the
Error 2 The System Cannot Find The File Specified Windows Service
file specified. The resolution, for those who need this, is that the manual indicates the incorrect default path for mongod.exe, which should be in the bin directory C:\mongodb\bin\mongod.exe Thus, whereas this is a question, I have also solved this for the benefit of others who may have this problem. Also, by default, MongoDB will install in C:\Program Files in Windows, and you should use the custom install to put it into C:\mongodb. mongodb windows-services share|improve this question asked Mar 5 '15 at 19:30 Roger Layton 19119 I disagree that this is a duplicate. My issue is that the default implementation and the manual are not in sync. This is not covered in the cited question or its answers. –Roger Layton Apr 30 '15 at 9:04 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote After having installed mongodb in C:\mongodb you just do: mongod --install --logpath C:\mongodb\logs\mongo.log The path to the logfile must exist and it must be an absolute Windows path. Then you start the MongoDB service by typing: net start MongoDB share|improve this answer answered Dec 3 '15 at 17:22 Peter Gerhat 8352834 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up us
(Русский)ישראל (עברית)المملكة العربية السعودية (العربية)ไทย (ไทย)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語) HomeLearnDownloadsCommunity Ask a question Quick access Forums home Browse forums users FAQ Search related
Error 2 The System Cannot Find The File Specified Sql Server
threads Remove From My Forums Asked by: Error 2: error 2 the system cannot find the file specified mysql The system cannot find the file specified ... Windows Event Log service could not [sc] startservice failed 2: the system cannot find the file specified. start. Windows Server > Windows Server 2008 Application Compatibility and Certification Question 1 Sign in to vote This error occurred in five http://stackoverflow.com/questions/28886119/mongodb-3-0-windows-service-start-system-error-2-has-occured windows servers 2008. Error 2: The system cannot find the file specified ... Windows Event Log service could not start. I tried the following steps: 1) Link http://social.msdn.microsoft.com/Forums/en/winserver2008appcompatabilityandcertification/thread/c231b5d0-2a36-4ddf-a457-e5f471667302 2) Full control for administrator user in the folder C:\Windows\System32\winevt\Logs 3) Delete files in the https://social.msdn.microsoft.com/Forums/windowsserver/en-US/b803a3b0-559f-4a1b-ab44-4bb64e0c746d/error-2-the-system-cannot-find-the-file-specified-windows-event-log-service-could-not-start?forum=winserver2008appcompatabilityandcertification C:\Windows\System32\winevt\Logs Plz i need help. I did a test, and I believe it is a hotfix that was applied. Now the question is what is the hotfix that is causing this problem. Tuesday, January 19, 2010 5:44 PM Reply | Quote All replies 0 Sign in to vote Plz i need help Wednesday, January 20, 2010 12:01 PM Reply | Quote 0 Sign in to vote Hummmm anyone ? Thursday, January 21, 2010 11:20 AM Reply | Quote 25 Sign in to vote I met the exact problem yesterday, and tried the 3 options as you mentioned, but the problem remained. However, with the help of procmon, it turned out that the issue was caused by an incorrect registry entry at: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog\Parameters\ServiceDll Event Log service by default will look at: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
(Nederlands)Polska (Polski)România (Română)Singapore (English)Türkiye (Türkçe)Россия (Русский)ישראל (עברית)المملكة العربية السعودية (العربية)ไทย (ไทย)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語)香港特別行政區 (中文) Microsoft Home https://social.microsoft.com/Forums/en-US/664b0364-8682-4096-a5a2-e5ca6c93ca9a/system-error-2-has-occurred?forum=genuinevista Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Answered by: System error 2 has occurred Microsoft Genuine Advantage > Windows Vista Validation Issues (Windows Vista) Question 0 Sign in error 2 to vote I tried to run net start slsvc and got the System error 2 message. My software is legal. I purchased a computer from Office Depot with XP installed on it and mailed in a coupon for the VISTA upgrade. I have the the system cannot disk they sent me to upgrade. I didn't get a copy of the XP program.I've been running for a couple years with no problem. Then recently I started getting the "unauthorized change was made to windows" message. I had to restore to last know good start up (or something like that) but that doesn't work any more.Any help would be greatly appreciated.I read that I am supposed to copy my diagnostic tool results here.Thanks in advance...Diagnostic Report (1.9.0006.1):-----------------------------------------WGA Data-->Validation Status: GenuineValidation Code: 0Online Validation Code: 0x80070426Cached Validation Code: N/A, hr = 0x80070426Windows Product Key: *****-*****-D3JC3-B26H3-VVWHHWindows Product Key Hash: 0CIzq9OSNi6rPh3rHwvzmNp9LUM=Windows Product ID: 89578-OEM-7318097-36617Windows Product ID Type: 3Windows License Type: OEM System BuilderWindows OS version: 6.0.6001.2.00010300.1.0.003ID: {56D57F3A-36F5-44FD-AD6C-D39DB34D0846}(3)Is Admin: YesTestCab