The service 'wampapache64' is NOT started
Posted by: Fritzer (---.virtua.com.br)
Date: November 03, 2023 09:12PM

Hello. I've currently been trying to activate the Wamp Apache Server, but it won't start.

When I test my port, I get this message:

***** Test which uses port 8080 *****

===== Tested by command netstat filtered on port 8080 =====

Port 8080 is not found associated with TCP protocol
Port 8080 is not found associated with TCP protocol

===== Tested by attempting to open a socket on port 8080 =====

Your port 8080 seems not actually used.
Unable to initiate a socket connection
Error number: 10060 - Error string: Uma tentativa de conexão falhou porque o componente conectado não respondeu
corretamente após um período de tempo ou a conexão estabelecida falhou
porque o host conectado não respondeu.



I've installed the latest version of Wamp 3.3.1.

I've verified that all VC ++ packages are installed and with the latest versions.

I also changed the port from 80 to 8080. But, nothing has worked.

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started
Posted by: Otomatic (Moderator)
Date: November 03, 2023 09:44PM

Hi,
It is the port 80 that you must test.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started
Posted by: Fritzer (---.virtua.com.br)
Date: November 03, 2023 09:52PM

Here's the result when I tested port 80:

***** Test which uses port 80 *****

===== Tested by command netstat filtered on port 80 =====


Test for TCP
Port 80 is not found associated with TCP protocol
Port 80 is not found associated with TCP protocol

===== Tested by attempting to open a socket on port 80 =====

Your port 80 seems not actually used.
Unable to initiate a socket connection
Error number: 10060 - Error string: Uma tentativa de conexão falhou porque o componente conectado não respondeu
corretamente após um período de tempo ou a conexão estabelecida falhou
porque o host conectado não respondeu.

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started
Posted by: Otomatic (Moderator)
Date: November 04, 2023 08:46AM

Hi,

Open a command window "as administrator" and in this window, type :

net start wampapache64

What's the result?

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started
Posted by: Fritzer (---.virtua.com.br)
Date: November 04, 2023 03:04PM

Hi, I typed it in. This was the result:

C:\Windows\System32>net start wampapache64
O serviço de wampapache64 está sendo iniciado...
O serviço de wampapache64 não pôde ser iniciado.

Erro específico do serviço: 1.

Para obter mais ajuda, digite NET HELPMSG 3547.


C:\Windows\System32>NET HELPMSG 3547

Erro específico do serviço: ***.




It said wampapache64 could not be started.
Specific error from the service: 1.

I typed in NET HELPMSG 3547 for more help, and it said: "specific error from the service: ***".

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started
Posted by: Otomatic (Moderator)
Date: November 04, 2023 04:48PM

Hi,

Verify item number 08 from TROUBLESHOOTING TIPS

Launch Wampserver even if not green
Right-Click -> Tools -> Reinstall all services

Open a command window "as administrator" and in this window, type :

sc qc wampapache64

What's the result?

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started
Posted by: Fritzer (---.virtua.com.br)
Date: November 04, 2023 05:28PM

Hi, the IIS is unchecked. I reinstalled all services, but when I did so, I got this error message for the Aestan Tray Menu:

Violation d'accès à l'adresse 000000000061BF58 dans le module 'wampmanager.exe'. Lecture de l'adresse 0000000000000478.

I'm unable to close it, without restarting the computer. (Edit: I was able to close it by clicking on the Wamp icon)

I still opened the command window "as administrator", and this was the result:

C:\Windows\System32>sc qc wampapache64
[SC] QueryServiceConfig ÊXITO

NOME_DO_SERVIÇO: wampapache64
TIPO : 10 WIN32_OWN_PROCESS
TIPO_DE_INÍCIO : 3 DEMAND_START
CONTROLE_DE_ERRO : 1 NORMAL
NOME_DO_CAMINHO_BINÁRIO : "c:\wamp64\bin\apache\apache2.4.54.2\bin\httpd.exe" -k runservice
GRUPO_DE_ORDEM_DE_CARREG. :
MARCA : 0
NOME_PARA_EXIBIÇÃO : wampapache64
DEPENDÊNCIAS : Tcpip
: Afd
NOME_DO_INÍCIO_DO_SERVIÇO : LocalSystem



The translation would be:



C:\Windows\System32>sc qc wampapache64
[SC] QueryServiceConfig SUCCESSFUL

SERVICE_NAME: wampapache64
TYPE : 10 WIN32_OWN_PROCESS
STARTING_TYPE : 3 DEMAND_START
ERROR_CONTROL : 1 NORMAL
NAME_OF_THE_BINARY_PATH : "c:\wamp64\bin\apache\apache2.4.54.2\bin\httpd.exe" -k runservice
LOADED_ORDER_GROUP :
MARK : 0
DISPLAY_NAME : wampapache64
DEPENDENCIES : Tcpip
: Afd
STARTING_SERVICE_NAME : LocalSystem



Edited 1 time(s). Last edit at 11/05/2023 01:53AM by Fritzer.

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started
Posted by: Fritzer (---.virtua.com.br)
Date: November 04, 2023 05:28PM

Hi, the IIS is unchecked. I reinstalled all services, but when I did so, I got this error message for the Aestan Tray Menu:

Violation d'accès à l'adresse 000000000061BF58 dans le module 'wampmanager.exe'. Lecture de l'adresse 0000000000000478.

I'm unable to close it, without restarting the computer.
I still opened the command window "as administrator", and this was the result:

C:\Windows\System32>sc qc wampapache64
[SC] QueryServiceConfig ÊXITO

NOME_DO_SERVIÇO: wampapache64
TIPO : 10 WIN32_OWN_PROCESS
TIPO_DE_INÍCIO : 3 DEMAND_START
CONTROLE_DE_ERRO : 1 NORMAL
NOME_DO_CAMINHO_BINÁRIO : "c:\wamp64\bin\apache\apache2.4.54.2\bin\httpd.exe" -k runservice
GRUPO_DE_ORDEM_DE_CARREG. :
MARCA : 0
NOME_PARA_EXIBIÇÃO : wampapache64
DEPENDÊNCIAS : Tcpip
: Afd
NOME_DO_INÍCIO_DO_SERVIÇO : LocalSystem



The translation would be:



C:\Windows\System32>sc qc wampapache64
[SC] QueryServiceConfig SUCCESSFUL

SERVICE_NAME: wampapache64
TYPE : 10 WIN32_OWN_PROCESS
STARTING_TYPE : 3 DEMAND_START
ERROR_CONTROL : 1 NORMAL
NAME_OF_THE_BINARY_PATH : "c:\wamp64\bin\apache\apache2.4.54.2\bin\httpd.exe" -k runservice
LOADED_ORDER_GROUP :
MARK : 0
DISPLAY_NAME : wampapache64
DEPENDENCIES : Tcpip
: Afd
STARTING_SERVICE_NAME : LocalSystem

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started
Posted by: Otomatic (Moderator)
Date: November 05, 2023 10:25AM

Hi,

The only possible solution is to :

- 1 - Uninstall Wampserver completely.

- 2 - Check that the c:\wamp64\ folder has been completely deleted, otherwise delete it.

- 3 - Check via the services manager that the three services wampapache64, wampmydqld64 and wampmaradb64 no longer exist, otherwise delete them.

- 4 - Install VC++ packages with: "Best way to install Visual C++ Redistributable Packages"
The files to download are here: VisualCppRedist AIO All Releases
Download the latest version of the VisualCppRedist_AIO_x86_x64.exe file and run it as administrator, all necessary redistributable VC++ will be installed and excess or obsolete files will be removed. To ensure that everything runs smoothly, some applications will need to be disabled when requested by the Redist VC++ installer.

- 5 - Restart the machine

- 6 - Install Wampserver 3.3.0 as an administrator.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started
Posted by: Fritzer (---.virtua.com.br)
Date: November 05, 2023 02:51PM

Hi, it did not work. Wampapache64 is still not starting.
I followed all the steps. If it helps, Redist VC++ installer did not ask me to disable any applications.

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started
Posted by: Otomatic (Moderator)
Date: November 05, 2023 04:59PM

Hi,

Do you use anti-virus and/or anti-spyware software?

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started
Posted by: Otomatic (Moderator)
Date: November 05, 2023 05:34PM

Check that your anti-virus program, even if it's the Windows one, does not prevent access to httpd.exe.

You should also check that the Windows firewall authorizes access to httpd.exe; this should normally have been requested by Windows when Apache was first accessed.

In the input traffic rules : Apache HTTP Server

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started
Posted by: Fritzer (---.virtua.com.br)
Date: November 06, 2023 04:41AM

Hi, I do use an anti-virus, but I have already temporarily disabled it when trying to turn on Wamp server.
I don't know how to check if the Windows firewall authorizes access to httpd.exe.
All that I was able to do was open Window Defender Firewall with Advanced Security, and saw 4 rules for the wampmanager.exe with the name AeTrayMenu.

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started
Posted by: Otomatic (Moderator)
Date: November 06, 2023 08:54AM

With Windows 10 and 11, you have absolutely no need for third-party anti-virus unless you want to put the binz in your system.

There must also be rules concerning the Apache HTTP server.

Install Apache 2.4.58 and, after launching Wampserver, switch to this version. Windows should ask you if you authorize Apache.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started
Posted by: Fritzer (---.virtua.com.br)
Date: November 06, 2023 08:14PM

Hello, it did not work. But, I was able to find a workaround.

I can activate Apache, if I open the apache bin file and click on httpd.exe, or type in to the command prompt, as an administrator, "c:\wamp64\bin\apache\apache2.4.58\bin\httpd.exe", and Wamp works just like normal, the only difference is that the Wamp icon does not turn green.

Thank you for all your help!

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started
Posted by: Otomatic (Moderator)
Date: November 07, 2023 11:07AM

It may work, but it's going to be a bit complicated to use in conjunction with the various Wampmanager menu items!
In fact, when Apache or PHP versions or parameters are changed, when VirtualHosts are created or modified - in short, when almost any change is made to Wampmanager - the wampapache64 service must be stopped and restarted for it to take effect.
This is done by httpd.exe -n wampapache64 -k restart, but in your case, it won't work because the wampapache64 service is deficient.

You'll need to stop httpd.exe and restart it.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.