Page 1 of 1

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

PostPosted: 24. September 2012 18:31
by austintxous
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

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

PostPosted: 24. September 2012 20:11
by JonB
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)

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

PostPosted: 25. September 2012 12:34
by hdalive
Try adding these to hosts file
0.0.0.0 localhost
127.0.0.1 localhost

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

PostPosted: 25. September 2012 23:06
by hackattack142
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.

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

PostPosted: 26. September 2012 06:27
by hdalive
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.

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

PostPosted: 26. September 2012 09:28
by Altrea
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