Page 3 of 3

Re: Apache not running

PostPosted: 24. June 2010 16:57
by sephira
Hai, i'm new in here.. I also find a same problem.

I installed Xampp 1.6.7 for windows in my machine. And the Installation process was done without error or warning.
But when I want to run apache from control panel, it is not running, no error message is giving.
only "Busy.... Apache service started"
But Mysql is running well.

I check in "xampp\apache\logs\error" there's no error found.

When i start apache2.2 service, there are an error message :
"windows could not start the Apache 2.2 on local computer. For more information, review the system log. If this is an non microsoft service, contact the service vendor and refer to service specific error code 1"

I've already removed the skype, check if there's another program use port 80 using netstat -an | find ":80"
And here is the result :
Code: Select all
TCP   192.168.1.2:3428   66.220.145.35:80   ESTABLISHED
TCP   192.168.1.2:3869   217.89.106.34:80   TIME WAIT
TCP   192.168.1.2:3871   217.89.106.34:80   TIME WAIT
TCP   192.168.1.2:4354   60.51.117.16:80   FIN_WAIT_1
TCP   192.168.1.2:4488   203.130.242.217:80   LAST_ACK
TCP   192.168.1.2:4510   78.46.87.53:80      TIME WAIT
TCP   192.168.1.2:4574   203.130.242.217:80   FIN_WAIT_1
TCP   192.168.1.2:4581   125.160.16.49:80   TIME WAIT
TCP   192.168.1.2:4582   125.160.16.49:80   TIME WAIT


When i start my computer, there's always an error message :
"windows cannot find C:\windows\system32\drivers\svchost.exe. Make sure you typed the name correctly, and then try again. To search for a file, click the start button, and then click search."

Is there any connection with that error message or is there something wrong with my AntiVirus ?
Thanks for your help...

Re: Apache not running

PostPosted: 24. June 2010 18:34
by Radzio
Your antivirus is bad. Seems like your system got infected (svchost.exe is in System32 folder, not drivers). You should do sth with it.

But it doesn't have to be (and probably isn't) cause of your problems.
Try running httpd.exe from command line.

Re: Apache not running

PostPosted: 26. June 2010 15:05
by sephira
Hi, thanks for your answer...
I've already copy svshost.exe into C:\windows\system32\drivers\
After i restart computer there's no error message like this again.
"windows cannot find C:\windows\system32\drivers\svchost.exe. Make sure you typed the name correctly, and then try again. To search for a file, click the start button, and then click search."

I've already run httpd in "xampp\apache\bin".
But my apache is still not running...

Is there any other way ?
Thanks for your help.. :)

Re: Apache not running

PostPosted: 26. June 2010 18:34
by Radzio
If you run it from the command line, it will tell you what went wrong.

Re: Apache not running

PostPosted: 27. June 2010 14:16
by sephira
Hi, sorry i'm really a newbie.
I've tried to instal xampp again. This time i watch carefully, and there is a message like this :

"Installing the Apache2.2 service
The Apache2.2 service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started.
(OS 10013) An attempt was made to access a socket in a way forbidden by its access permissions. : make_sock: unable to listen for connections on address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
The Apache2.2 service is starting."


Is there something wrong ? Can i fixed it ?
Thanks for helping...

Re: Apache not running

PostPosted: 27. June 2010 15:13
by Radzio
Something is blocking Apache from accessing the socket.
What security software do you have?

Re: Apache not running

PostPosted: 27. June 2010 15:46
by sephira
Oh yeah... I've already remove my antivirus.. And now it's working. My apache can run now...
Thank you so much for your help... I'm really grateful.. Thanks...
:D :D :D

Re: Apache not running

PostPosted: 27. June 2010 19:34
by tmyonline
Hello, my Apache was running fine. However, since the time I installed Python and Django, my Apache is no longer running for some reason.

In the XAMPP Control Panel, I clicked "Start" on Apache, it said:

Status check OK
Busy...
Apache started

but when I went to: http://localhost/myWorkFolder, it showed an empty white screen. Same as I went to http://localhost

I looked at the error log at C:/xampp/apache/logs/error.log and found that

File does not exist: C:/xampp/htdocs/favicon.ico

The file "favicon.ico" is not in the htdocs directory. I don't recall if I mistakenly deleted this file when I cleaned up the htdocs directory. And, I'm not sure if this is the reason why Apache is not running. Any idea ? Thanks so much.

Re: Apache not running

PostPosted: 10. October 2010 12:26
by aguero88
Hello. I am a new proggrammer from Greece and i have the same problem as Benjamin. I have spend over 5 hours to solve tha problem but i have done little.

benjamin_ wrote:I get the Very same thing, So i check my Error logs, and found this:
(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : make_sock: could not bind to address [::]:80
(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down


So i then ran a port check, and that came back with this:


Apache <HTTP> 80 Process: System


This is where i am Stuck, I am running a Windows 7 Home premium System, I think there is a Windows connector running somewhere, but i know not what its called or what port its running on.

Any tips? :)


I haven't skype.
I can't find World Wide Publishing service or www publishing service. on SCM
I did that
So I went to the httpd CONF file (located xampp/apache/conf)

and changed

#Listen 0.0.0.0:80
#Listen [::]:80
Listen 80

to

#Listen 0.0.0.0:85
#Listen [::]:85
Listen 85


and the xampp working. This means that is a problem with the port 80. It has taken from "system".

When i write netstat -an | find ":80" on cmd the results are

TCP 192.168.0.2 69.63.180.47:80 ESTABLISHED

When I run the netstat -abn order on cmd it replays The requested operation requires elevation.

I receive
Code: Select all
 (OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions.  : make_sock: could not bind to address [::]:80
(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions.  : make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
this error when i look at the errors log file.

Is there any chance to be problem with my wireless modem/rooter ?
I have also Microsoft SQL Server but i think that is dissabled :D
I have also Microsoft Visual Basic package (never used) in my computer.

P.S I running windows 7 ultimate 32 bit . It is time to go back to my favorite windows xp or try linux ? :P

Please help because i need to learn creating websites via joomla before my country go bankrupt :P :P :P

Re: Apache not running

PostPosted: 12. October 2010 17:42
by Radzio
Your OS seems to be blocking it from listening on :80.
Try running Apache with administrator privileges.

Re: Apache not running

PostPosted: 12. October 2010 18:53
by aber100
I'm running Windows 7, but had the same problem with not being able to use port 80. Changing the port # was not an option for me. I finally found out it was a conflict with SQL Server 2008. I recommend you visit this site, which will give you a list of solutions. If you have done any research, you'll find most of the possible problems covered here.

http://www.shishirrao.net/blog/2010/03/problem-starting-apacheiis-on-windows-7-port80

Re: Apache not running

PostPosted: 13. October 2010 07:13
by vgpthunderbird
Digest: generating secret for digest authentication ...
[notice] Digest: done
[notice] Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations
[notice] Server built: Jul 22 2009 11:35:54
[notice] Parent: Created child process 4952
[crit] (OS 6)The handle is invalid. : master_main: create child process failed. Exiting.
[notice] Parent: Forcing termination of child process 36



i think this is the error on win7.

Re: Apache not running

PostPosted: 13. October 2010 14:18
by Radzio
Nope, it works perfectly fine on Win7.