The system cannot find the path specified
Posted by: siddsg (---.106.167.122.airtelbroadband.in)
Date: March 12, 2014 12:37PM

Hello,
Am getting the following error when I try to run Apache.

Could not execute menu item (internal error) [Exception] Coould not perform service actions: The system cannot find the path specified

I am using WAMP server 2.4.

Help will be greatly appreciated!
Thanks,
Sidd

Options: ReplyQuote
Re: The system cannot find the path specified
Posted by: RiggsFolly (---.as13285.net)
Date: March 12, 2014 12:52PM

Please make sure you have the latest version of all of these Microsoft C/C++ Redistributable runtime libraries.

The 2008 Redist is used by wampmanager
The 2010 Redist is used by some versions of Apache ( depending on compiler used )
The 2012 Redist is used by some versions of Apache ( depending on compiler used )

FOR WAMP 32bit
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) [www.microsoft.com]
Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) [www.microsoft.com]

If you are using WampServer 2.4
Microsoft Visual C++ 2012 [www.microsoft.com]
And select vcredist_x86.exe


FOR WAMP 64bit
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) [www.microsoft.com]
Yes you need the x86 Package regardless
Microsoft Visual C++ 2008 Redistributable Package (x64) [www.microsoft.com]
Microsoft Visual C++ 2010 SP1 Redistributable Package (x64) [www.microsoft.com]
If you are using WampServer 2.4
Microsoft Visual C++ 2012 [www.microsoft.com]
And select vcredist_x64.exe



If that does not fix it, explain exactly what you mean by 'trying to run Apache', do you mean
wampmanager -> Apache -> Service -> Start resume service ?

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: The system cannot find the path specified
Posted by: siddsg (---.106.167.122.airtelbroadband.in)
Date: March 13, 2014 07:12AM

Thanks, I have installed Microsoft Visual C++ 2012, but the issue is still there.

You are correct...wampmanager -> Apache -> Service -> Start resume service

When I go to Services and try to Start the wampapache service, I am getting error "Error 3: The system cannot find the path specified."

Traced it down to the registry key:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\service\wampapache

and this is what it shows:
(Default) Value not set

I had run a registry cleaner couple of days back and that seems to have messed it up.

I have tried re-installing Wamp, but this registry value does not come back.

What else do I need to do?

Thanks!

Options: ReplyQuote
Re: The system cannot find the path specified
Posted by: siddsg (---.106.167.122.airtelbroadband.in)
Date: March 13, 2014 07:49AM

Okay....was able to solve that issue....

Had to re-create the missing registry values.

Given below:
DisplayName - wampapache
Imagepath - C:\wamp\bin\apache\Apache2.4.4\bin\httpd.exe wampapache
ObjectName - LocalSystem
Also added ErrorControl, Start and Type....of DWORD (32) bit

Thanks!

Options: ReplyQuote
Re: The system cannot find the path specified
Posted by: RiggsFolly (---.as13285.net)
Date: March 13, 2014 10:17AM

That registry key is I believe is the result of WAMPServer installing the Apache service with the name wampapache.

So the correct way to fix it would have been

left click wampmanager -> Apache -> Service -> Install Service

In fact to be safe I would do this :-

left click wampmanager -> Apache -> Service -> Remove Service
then
left click wampmanager -> Apache -> Service -> Install Service


Just to make sure you have all the parameters set correctly, as mine have more information in the registry than you mention. It only takes 5 seconds

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: The system cannot find the path specified
Posted by: siddsg (---.106.167.122.airtelbroadband.in)
Date: March 13, 2014 10:34AM

Actually, I'd tried that and it didn't fix the issue.
Had to do it the hard way!


But now am facing another issue on clicking the Start/Resume Service:

The service did not respond to the start or control request in a timely fashion

Version of Wamp Server installed - 2.4
Version of Apache - 2.4.4
Version of PHP - 5.4.15



Edited 1 time(s). Last edit at 03/13/2014 10:36AM by siddsg.

Options: ReplyQuote
Re: The system cannot find the path specified
Posted by: RiggsFolly (---.as13285.net)
Date: March 13, 2014 11:11AM

Sidd,

At this point I would stop throwing cups of chai at this fire and call the fire brigade.

Try this :-

Copy the complete wamp folder to a backup.
Stop all service
Uninstall WAMPServer
Delete the remaining \wamp folder

Reinstall WAMPServer

Make sure it works without changing anything.

Now you can copy the required bits from your backup like databases and website code to the new wamp folder.

Do a left click 'wampmanager -> Refresh' each time you copy PHP/MySQL/Apache version from backup to \wamp so wampmanager refreshes itself and sees the changes.



If this all seems a bit complicated you can install Team Viewer and send me a Private Message with the TeamViewer ID and PASSWORD and I will help you through the process.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.