Apache service won't start. But 2 PORTs and 2 PIDS listed!

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Apache service won't start. But 2 PORTs and 2 PIDS listed!

Postby austintxous » 24. September 2012 18:31

Apache module service not started, but I see PID 1976 and 4892 listed , and ports 80 and 443 listed on control panel.

This is Win 7, control panel 3.0.12 , XAMPP version 1.8.

This is after an uninstall of a previous version.

ANy help would be appreciated.

Greg
austintxous
 
Posts: 1
Joined: 29. October 2011 16:48
Operating System: Windows 7 64 bit

Re: Apache service won't start. But 2 PORTs and 2 PIDS liste

Postby JonB » 24. September 2012 20:11

You probably really didn't un-install things completely.

Just give us a quick idea of how you uninstalled.

See the sticky at the top about the correct way to 'upgrade'.

viewtopic.php?f=16&t=50988

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Apache service won't start. But 2 PORTs and 2 PIDS liste

Postby hdalive » 25. September 2012 12:34

Try adding these to hosts file
0.0.0.0 localhost
127.0.0.1 localhost
hdalive
 
Posts: 4
Joined: 25. September 2012 12:02
Operating System: Windows 7

Re: Apache service won't start. But 2 PORTs and 2 PIDS liste

Postby hackattack142 » 25. September 2012 23:06

Mapping 0.0.0.0 to localhost is not a good idea.

@OP
Could you go to the XAMPP Control Panel settings (the Config button in the upper right), check the "Show Debug Information" option, and Save.
Restart the Control Panel and post the log here.
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 701
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: Apache service won't start. But 2 PORTs and 2 PIDS liste

Postby hdalive » 26. September 2012 06:27

Only that was able to fix my "Apache wont start problem".

Can you tell me why mapping 0.0.0.0 to localhost in hosts file a bad idea ? Any conflicts ?

hackattack142 wrote:Mapping 0.0.0.0 to localhost is not a good idea.

@OP
Could you go to the XAMPP Control Panel settings (the Config button in the upper right), check the "Show Debug Information" option, and Save.
Restart the Control Panel and post the log here.
hdalive
 
Posts: 4
Joined: 25. September 2012 12:02
Operating System: Windows 7

Re: Apache service won't start. But 2 PORTs and 2 PIDS liste

Postby Altrea » 26. September 2012 09:28

Hi hdalive,

hdalive wrote:Can you tell me why mapping 0.0.0.0 to localhost in hosts file a bad idea ? Any conflicts ?

0.0.0.0 means EVERY IP-Address of ALL NICs of this computer:
  • you can't ping 0.0.0.0
  • you can't use 0.0.0.0 to request your Apache
  • a (simulated) domain name can only be resolved to ONE Ip-Address, so more then one entry for localhost is - or should your computer roll a dice which ip it should use for localhost?

tested with Windows 7 Ultimate x64 5 Minutes ago.

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 95 guests