Error 2 Could Not Find The File Specified
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 error 2 the system cannot find the file specified about Stack Overflow the company Business Learn more about hiring developers or posting ads error 2 the system cannot find the file specified print spooler with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack error 2 the system cannot find the file specified sublime text Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up New Windows Service installed, fails to start: “System error 2 … system
Error 2 The System Cannot Find The File Specified Sublime Python
cannot find the file specified” up vote 11 down vote favorite 1 I have installed several other custom .Net windows services successfully. A new one I had recently written was very similar to the others and while it installed without error - on starting it with the service controller it failed to start with the error dialog: System error 2 ... system cannot find the file specified. After time error 2 the system cannot find the file specified sql server and consternation, the only thing I could think of that was significantly different about this service was that the path and executable name were at least 10 characters longer than any of my other services. On shortening both the path and .exe name and re-installing, the service ran fine: no error! I can only assume my previous path or service or .exe name was too long. Also, It would be pertinent to mention I had used some borrowed "service driver" code built in to my exe to handle the install/uninstall of the service to the service controller via win API calls. It could be a character limit was hidden within that service driver module. I could not find any windows related docs to confirm if there is a system bound character limit to a path or service name that I had exceeded. I will dig in to the service driver when time permits and see if that turns out to be the problem. Meanwhile I welcome any insights. windows windows-services servicecontroller share|improve this question asked Nov 5 '13 at 21:46 Ho Ho Ho 206129 What was the total length of path before you shortened it. Also did your path have any unusual character
be started when with a "Error 2: The system cannot find the file specified." error displayed. JIRA appears to be using a different version of Tomcat in 5.2, yet the path to the executable in the JIRA error 2 the system cannot find the file specified windows service service refers to an incorrect version. The following error is displayed in Windows: Cause Due
Error 2 The System Cannot Find The File Specified Windows 7
to a bug as tracked under JRA-30518 - JIRA 5.2 Installer Service is using Tomcat 6 instead of Tomcat 7 Resolved in the
Error 2 The System Cannot Find The File Specified Cmd Python' U'-u' U''
bundled installer, JIRA has not correctly updated the Windows Service to point to Tomcat 7 and is using the incorrect Tomcat version. JIRA 5.2 has been bundled with Tomcat 7 where 4.3+ versions were bundled with Tomcat http://stackoverflow.com/questions/19799669/new-windows-service-installed-fails-to-start-system-error-2-system-cannot 6. Workaround Workaround 1 Open a command prompt window as an Administrator and navigate to your installation folder. By default this will beC:\Program Files\Atlassian\JIRA. Navigate to the bin folder and run: service.bat remove If this fails, the service can also be removed manually with the following, replacingJIRA240912142634 with the actual ID of the service (edit it through the Services Manager to locate the ID). C:\Program Files\Atlassian\JIRA\bin\tomcat7.exe //DS//JIRA240912142634 Restart the machine. Navigate to the same bin https://confluence.atlassian.com/jirakb/jira-5-2-service-cannot-be-started-with-a-error-2-the-system-cannot-find-the-file-specified-312739859.html folder and run the below, whichwill reinstall the service and correctly point to Tomcat 7. service.bat install You can now start the JIRA service Workaround 2 This method requires a change to the Windows Registry. Please bevery careful when doing so as improper changes can corrupt the registry - create a backup prior to doing so. This is done at your own risk and consult with the System Administrator of the JIRA server prior to making any changes. Click on theWindowsstart button andRun. Typeregeditand press Enter. Find the parameter using the following sequence: HKEY_LOCAL_MACHINE >> SYSTEM >> CurrentControlSet >> services >>
Start 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 http://serverfault.com/questions/597318/event-logger-wont-start-error-2-the-system-cannot-find-the-file-specified-win Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Event logger won't error 2 start: error 2 The system cannot find the file specified, Windows server 2008R2 up vote 4 down vote favorite NOTE: this is a "spawn" of a previous post which dealt with 2 different issues and became too lengthy, so I decided to clean the original question and post this issue in a separate question When I try to start Windows Event Log via net start eventlog or via Services panel, I get not find the an error: C:\Users\Administrator>net start eventlog The Windows Event Log service is starting. The Windows Event Log service could not be started. A system error has occurred. System error 2 has occurred. The system cannot find the file specified. I tried the following advice I from here: restarted the OS (virtual on the host's VMWare). re-checked the settings in services menu -they are like in the link. checked the identity in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\eventlog - the identity is NT AUTHORITY\LocalService gave all Authenticated Users full access to C:\Windows\System32\winevt\Logs ran fc /scannow - Windows Resource Protection did not find any integrity violations. went to the file %windir%\logs\cbs\cbs.log - all clean, [SR] Repairing 0 components EDIT: Uninstalled the recent system updates and rebooted - didn't help EDIT: Sysinternals Process Monitor results when running start service from services panel (procmon in elevated mode): filters: process name is svchost.exe : include operation contains TCP : exclude the events captured are: 21:50:33.8105780 svchost.exe 772 Thread Create SUCCESS Thread ID: 6088 21:50:33.8108848 svchost.exe 772 RegOpenKey HKLM SUCCESS Desired Access: Maximum Allowed, Granted Access: Read 21:50:33.8109134 svchost.exe 772 RegQueryKey HKLM SUCCESS Query: HandleTags, HandleTags: 0x0 21:50:33.8109302 svchost.exe 772 RegOpenKey HKLM\System\CurrentControlSet\Services REPARSE Desired Access: Read 21:50:33.8109497 svchost.exe 772 RegOpenKey HKLM\System\CurrentControlSet\Services SUCCESS Desired Access: Read 21:50:33.8110051 svchost.exe 772 RegCloseKey HKLM SUCCESS 21:50:33.8110423 svchost.exe 772 RegQueryKey