Dinesh Kumar
asked on
apache not starting
I have stopeed iis completely but I see that port 80 is still used as attached in the screen.
so apache is not starting.
I also tried the following in httpd.conf but it did not work:
#Listen 12.34.56.78:8080
Listen 8080
ServerName localhost:8080
please help!
port-80-issue.png
so apache is not starting.
I also tried the following in httpd.conf but it did not work:
#Listen 12.34.56.78:8080
Listen 8080
ServerName localhost:8080
please help!
port-80-issue.png
Your graphic shows that a process with the PID of 4 still has hold of port 80. Have a look at the task manager (or run tasklist from command prompt) and it'll show you which application is running with a PID of 4. May help you track things down
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
DaveBaldwin: I tried restarting the computer but no use
seth2740: PID 4 is system ( If I change the value to 4 and reboot My .net related program will continue? I mean its safe , please confirm)
seth2740: PID 4 is system ( If I change the value to 4 and reboot My .net related program will continue? I mean its safe , please confirm)
yes...it's probably coming from windows remote management service or something related to that
i have the same service on my system and is disabled
i have the same service on my system and is disabled
ASKER
Yes seth2740, port issue resolved.
It still says now:
07:07:32 [Apache] Apache Service detected with wrong path
07:07:32 [Apache] Change XAMPP Apache and Control Panel settings or
07:07:32 [Apache] Uninstall/disable the other service manually first
07:07:32 [Apache] Found Path: "Z:\xampp\apache\bin\httpd .exe" -k runservice
07:07:32 [Apache] Expected Path: "c:\xampp\apache\bin\httpd .exe" -k runservice
reason being Once(some previous time say one month back) I installed xampp in Z directory but to remove the error in the current comment ,I deleted the xampp folder in Z drive I am not sure How its still looking for that path? (and yesterday I again installed the xampp in c drive)
please see the attachment.
the-remaining-problem.png
also.png
It still says now:
07:07:32 [Apache] Apache Service detected with wrong path
07:07:32 [Apache] Change XAMPP Apache and Control Panel settings or
07:07:32 [Apache] Uninstall/disable the other service manually first
07:07:32 [Apache] Found Path: "Z:\xampp\apache\bin\httpd
07:07:32 [Apache] Expected Path: "c:\xampp\apache\bin\httpd
reason being Once(some previous time say one month back) I installed xampp in Z directory but to remove the error in the current comment ,I deleted the xampp folder in Z drive I am not sure How its still looking for that path? (and yesterday I again installed the xampp in c drive)
please see the attachment.
the-remaining-problem.png
also.png
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you!
You're welcome.
To change Apache to Listen 8080, you may have to restart the machine, not just the web server.