The service 'wampapache64' is NOT started, EXIT error code:1067
Posted by: breadf (---.compute.hwclouds-dns.com)
Date: January 01, 2024 04:21AM

I've been using Wampserver for local development for a long time. Last week the icon just didn't turn green. I uninstalled and reinstalled from the latest download. Old installation is in partition D:, and new installation is in partition C:.

New installation has same error code: 1067.

I installed wampserver as an administrator. After error happened, I tried "install service" in Apache - service admimnistration "wampapache64".

Below is the information:


1 - Windows 10 home Chinese version 22H2, 64 bit
2 - wampserver3.3.2_x64
3 - Apache Version 2.4.58
4 - PHP Version 8.2.13
5 - MySQL Version 8.2.0
5a - MariaDB version if applicable, turned off
6 - Wampserver icon: orange (not red or green)

Active lines in host:
127.0.0.1 localhost
::1 localhost

Below are the errors in the logs:

Apache access log:
--- File cleaned up by Wampserver installation or update ---
::1 - - [31/Dec/2023:00:02:59 +0800] "GET /phpmyadmin/js/dist/error_report.js?v=5.2.1 HTTP/1.1" 200 9264
::1 - - [31/Dec/2023:00:27:08 +0800] "GET /phpmyadmin/themes/pmahomme/img/s_error.png HTTP/1.1" 200 614
::1 - - [31/Dec/2023:08:09:47 +0800] "GET /phpmyadmin/js/dist/error_report.js?v=5.2.1 HTTP/1.1" 200 9264
::1 - - [01/Jan/2024:10:12:21 +0800] "GET /phpmyadmin/js/dist/error_report.js?v=5.2.1 HTTP/1.1" 200 9264


PHP error log:
--- File cleaned up by Wampserver installation or update ---
[01-Jan-2024 01:54:04 UTC] Result of command CMD /D /C wevtutil qe Application /c:2 /rd:true /f:text /q:"*[System[Provider[@Name='Apache Service'] and (Level=2)]]" is null
[01-Jan-2024 02:45:37 UTC] Result of command CMD /D /C wevtutil qe Application /c:2 /rd:true /f:text /q:"*[System[Provider[@Name='Apache Service'] and (Level=2)]]" is null



Error logged in Windows Event Viewer:
日志名称 (log name): Application
来源 (source): MySQL
日期 (date): 2023/12/29 12:54:48
事件 ID (event ID): 100
任务类别 (category): 无
级别 (level): 警告 (warning)
关键字 (keyword): 经典 (classic)
用户 (user): 暂缺 (n/w)
计算机 (computer): Rhett
描述 (description):
无法找到来自源 MySQL 的事件 ID 100 的描述。本地计算机上未安装引发此事件的组件,或者安装已损坏。可以安装或修复本地计算机上的组件。
Can't locate the description about event id 100 from source MySQL. This computer didn't install the module causing this event, or the installation is damaged. Please install or repair the module in this computer.

如果该事件产生于另一台计算机,则必须在该事件中保存显示信息。
If the event is from another computer, its information should be shown in this event.

以下是包含在事件中的信息:
Below is the event information:

InnoDB: New log files created, LSN=2768300

消息资源存在,但在消息表中找不到该消息。
Message resource exists, but can't be located in the table.

事件 (event) Xml:
<Event xmlns="[schemas.microsoft.com];
<System>
<Provider Name="MySQL" />
<EventID Qualifiers="49152">100</EventID>
<Version>0</Version>
<Level>3</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2023-12-29T04:54:48.2248561Z" />
<EventRecordID>299726</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>Application</Channel>
<Computer>Rhett</Computer>
<Security />
</System>
<EventData>
<Data>InnoDB: New log files created, LSN=2768300</Data>
</EventData>
</Event>

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started, EXIT error code:1067
Posted by: breadf (---.compute.hwclouds-dns.com)
Date: January 01, 2024 04:31AM

In addition, I downloaded the checked VC++, and it's good. Windows IIS is disabled. The skype version doesn't allow port configuration, but it has been there and didn't cause problem before.

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started, EXIT error code:1067
Posted by: breadf (---.compute.hwclouds-dns.com)
Date: January 01, 2024 08:19AM

Some more info:

I can't access localhost, the message is "ERR_CONNECTION_REFUSED"

Also can't access phpMyAdmin, the message is "ERR_CONNECTION_REFUSED"

I didn't install 3rd party antivirus or firewall.
The full path is "C:\wamp64"
I didn't set up virtual hosts.

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started, EXIT error code:1067
Posted by: Otomatic (Moderator)
Date: January 01, 2024 09:19AM

Hi,

If the wampapache64 service isn't started, there's no point in going to localhost or launching PhpMyAdmin, as they won't work.

What is the result of: right-click -> Tools -> Test port 80

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

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started, EXIT error code:1067
Posted by: breadf (---.compute.hwclouds-dns.com)
Date: January 01, 2024 11:26AM

Thanks for reply. Below is the result:

***** 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: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started, EXIT error code:1067
Posted by: Otomatic (Moderator)
Date: January 01, 2024 12:01PM

Hi,

Right-Click -> Tools -> Reinstall all services

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

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started, EXIT error code:1067
Posted by: breadf (---.compute.hwclouds-dns.com)
Date: January 01, 2024 03:22PM

Hi tried, and it didn't work, and test port 80, same error

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started, EXIT error code:1067
Posted by: Otomatic (Moderator)
Date: January 01, 2024 04:29PM

I'm convinced that port 80 is occupied, a priori by Skype.

- 1 - Right-Click -> Tools -> Use a port other than 80 -> 8080 -> OK

- 2 - Right-Click -> Tools -> Reinstall all services

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

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started, EXIT error code:1067
Posted by: breadf (---.compute.hwclouds-dns.com)
Date: January 02, 2024 03:26AM

Thanks for reply. It's strange this morning it turned green, and I viewed event viewer, and it logged below error:

日志名称 (name): Application
来源 (source): Application Error
日期 (date): 2024/1/2 7:50:58
事件 ID (event id): 1000
任务类别 (category): (100)
级别 (level): 错误 (error)
关键字 (keyword): 经典 (classic)
用户 (user): 暂缺 (NW)
计算机 (computer): Rhett
描述 (description):
错误应用程序名称 (application): httpd.exe,版本 (version): 2.4.58.0,时间戳 (time stamp): 0x652fbbfe
错误模块名称 (module name): lckcbhook.dll,版本 (version): 5.0.1.786,时间戳 (time stampe): 0x64d46c5a
异常代码 (abnormal code): 0xc0000005
错误偏移量 (error offset): 0x0000000000059da0
错误进程 ID (erroneous process id): 0x2c7c
错误应用程序启动时间 (application start time): 0x01da3d0d5e0b4924
错误应用程序路径 (error application path): C:\wamp64\bin\apache\apache2.4.58\bin\httpd.exe
错误模块路径 (error module path): C:\Windows\syswow64\fse\bin\x64\lckcbhook.dll
报告 ID: cee4c8ee-0721-4126-a3b9-8403d5f1b025
错误程序包全名 (application full name):
错误程序包相对应用程序 ID:
事件 Xml:
<Event xmlns="[schemas.microsoft.com];
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>100</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2024-01-01T23:50:58.8190012Z" />
<EventRecordID>303381</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>Application</Channel>
<Computer>Rhett</Computer>
<Security />
</System>
<EventData>
<Data>httpd.exe</Data>
<Data>2.4.58.0</Data>
<Data>652fbbfe</Data>
<Data>lckcbhook.dll</Data>
<Data>5.0.1.786</Data>
<Data>64d46c5a</Data>
<Data>c0000005</Data>
<Data>0000000000059da0</Data>
<Data>2c7c</Data>
<Data>01da3d0d5e0b4924</Data>
<Data>C:\wamp64\bin\apache\apache2.4.58\bin\httpd.exe</Data>
<Data>C:\Windows\syswow64\fse\bin\x64\lckcbhook.dll</Data>
<Data>cee4c8ee-0721-4126-a3b9-8403d5f1b025</Data>
<Data>
</Data>
<Data>
</Data>
</EventData>
</Event>

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started, EXIT error code:1067
Posted by: Otomatic (Moderator)
Date: January 02, 2024 09:33AM

Perhaps a problem authorizing httpd.exe in the Windows firewall.

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

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started, EXIT error code:1067
Posted by: breadf (---.compute.hwclouds-dns.com)
Date: January 02, 2024 11:42AM

Thanks. I'll see if the error keeps happening in following days.

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started, EXIT error code:1067
Posted by: breadf (---.compute.hwclouds-dns.com)
Date: January 02, 2024 04:05PM

Hi the error came back again. This happened right after I switched PHP version from 8.2.31 to 7.4.33


Please check below info:


State of services:

The service 'wampapache64' is NOT started
EXIT error code:1067
Help message for error code 1067 is:The process terminated unexpectedly.

The service 'wampmysqld64' is started
Start type : DEMAND_START
Service Session : LocalSystem

WampServer (Apache, PHP and MySQL) will not function properly if any service
'wampapache64'
'wampmysqld64'
is not started.

all services BINARY_PATH_NAME are OK
all services START_TYPE are OK



***** 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: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started, EXIT error code:1067
Posted by: Otomatic (Moderator)
Date: January 03, 2024 09:12AM

Hi,

I deconstructed the Event Viewer message and found that the indicated dll file:
C:\Windows\syswow64\fse\bin\x64\lckcbhook.dll
doesn't exist on my system, and even the fse folder doesn't exist.

It could be a Trojan horse installed without your knowledge.

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

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started, EXIT error code:1067
Posted by: breadf (---.compute.hwclouds-dns.com)
Date: January 04, 2024 03:19AM

Thanks for reply.

Yesterday I installed Wampserver 3.3.3, and it turned green and up to now it seems ok.

I just checked my computer. There indeed is this dll file, and searched. It seems a bad ware, but I dare not cancel it, and fear it might have implication

Options: ReplyQuote
Re: The service 'wampapache64' is NOT started, EXIT error code:1067
Posted by: Otomatic (Moderator)
Date: January 04, 2024 05:46PM

Use a malware researcher/eradicator such as Malawarebytes <- This is a link

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

Options: ReplyQuote


Sorry, only registered users may post in this forum.