Avatar of ddantes
ddantes
Flag for United States of America asked on

WampApache service cannot start

Although I haven't knowingly changed anything about my Wampserver configuration, the WampApache service will no longer start. Here is a text file saved from the Event Viewer...Event-Viewer.txt
Apache Web Server

Avatar of undefined
Last Comment
ddantes

8/22/2022 - Mon
Haris Dulic

Hi,

first check if anything is using port 80 using :
netstat -an |more 

Open in new window

?
ddantes

ASKER
Thank you.  I'm unclear how to interpret the results of that command, but I attached a screen shot...netstat
ASKER CERTIFIED SOLUTION
Haris Dulic

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ddantes

ASKER
Thank you.  I found one reference to listening on port 80:  tlntsvr.exe   Stopping the telnet service didn't allow WampApache service to start, and repeating the netstat -bano command shows port 80 as "listening".
Your help has saved me hundreds of hours of internet surfing.
fblack61
Haris Dulic

you can use "taskkill /pid PID" to free the port. Do not start apache until "netstat -bano shows that there is nothing listening on port 80. after you cleared the port apache wont have problem to start.

If it fails post the error msg here..
ddantes

ASKER
OK.  However, since I don't know the process identifier, but only the port, can you provide the taskkill code to use?
Haris Dulic

Post the output of netstat -bano so that i can see the PID of the service using port 80
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ddantes

ASKER
Sorry, I see it now.  The PID is 4, and access is denied when I try to force a taskkill.  I changed the hppd.conf port to 82, and the service started.   I think this resolved the issue, and thank you for your guidance.
Haris Dulic

in order to use taskkill you need administrative prompt..
ddantes

ASKER
Good to know for future reference.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23