Forum Home
Press F1
 
Thread ID: 122307 2011-12-14 07:15:00 Apache won't start anymore Mike (15) Press F1

Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 1403006168 bytes) in C:\xampp\htdocs\PF1\thread.php on line 92
Post ID Timestamp Content User
1248552 2011-12-14 07:15:00 I've had Apache running on my PC for the past couple of years (or more). Today we had a power outage - I got the wife to shut down the computer beforehand. After power came back on we turned the computer on again but Apache won't start now - I've restarted 3 times now but still refuses to start. The PC was last restarted on Sunday or Monday and Apache started fine then. Nothing has been installed recently (that I know of...)

I get an error when trying to start:
---------------------------
Services
---------------------------
Windows could not start the Apache2.2 on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 1.
---------------------------
OK
---------------------------

I tried a httpd -k start which gave an error "an attempt was made to access a socket in a way forbidden by its access permissions apache". It seems something is blocking ports 80 and 443. Thought it might be skype, but having skype not running makes no difference (skype doesn't auto start anyway). Found a thread online saying possibly SSRS or SSIS, but I'm not running either of those services. I stopped all other SQL Server services which didn't help.

Any suggestions on what it might be causing this and how to fix it?

Thanks,
Mike.
Mike (15)
1248553 2011-12-14 07:19:00 The Windows Event log gives the following errors when I try to manually start Apache :

: #444444; font-style : italic; "> The Apache service named reported the following error :
: #444444; font-style : italic; "> >>> : #444444; font-style : italic; "> (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 .

: #444444; font-style : italic; "> The Apache service named reported the following error :
: #444444; font-style : italic; "> >>> : #444444; font-style : italic; "> (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 .

: #444444; font-style : italic; "> The Apache service named reported the following error :
: #444444; font-style : italic; "> >>> no listening sockets available, shutting down .

: #444444; font-style : italic; "> The Apache service named reported the following error :
: #444444; font-style : italic; "> >>> Unable to open logs .


Cheers,
Mike.
Mike (15)
1248554 2011-12-14 10:53:00 The Windows Event log gives the following errors when I try to manually start Apache : #444444; font-style : italic; "> :

: #444444; font-style : italic; "> : #444444; font-style : #444444; font-style : italic; "> : italic; "> The Apache service named reported the following error : #444444; font-style : italic; "> :
: #444444; font-style : italic; "> : #444444; font-style : #444444; font-style : italic; "> : italic; "> : #444444; font-style : italic; "> >>> : #444444; font-style : italic; "> : #444444; font-style : #444444; font-style : italic; "> : italic; "> : #444444; font-style : italic; "> (OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : #444444; font-style : italic; "> : make_sock : #444444; font-style : italic; "> : could not bind to address [ : #444444; font-style : italic; "> : : #444444; font-style : italic; "> : ] : #444444; font-style : italic; "> : 80 .

: #444444; font-style : italic; "> : #444444; font-style : #444444; font-style : italic; "> : italic; "> The Apache service named reported the following error : #444444; font-style : italic; "> :
: #444444; font-style : italic; "> : #444444; font-style : #444444; font-style : italic; "> : italic; "> : #444444; font-style : italic; "> >>> : #444444; font-style : italic; "> : #444444; font-style : #444444; font-style : italic; "> : italic; "> : #444444; font-style : italic; "> (OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : #444444; font-style : italic; "> : make_sock : #444444; font-style : italic; "> : could not bind to address 0.0.0.0 : #444444; font-style : italic; "> : 80 .
Windows (or other) firewall blocking those ports (or by process)?

: #444444; font-style : italic; "> : #444444; font-style : #444444; font-style : italic; "> : italic; "> The Apache service named reported the following error : #444444; font-style : italic; "> :
: #444444; font-style : italic; "> : #444444; font-style : #444444; font-style : italic; "> : italic; "> : #444444; font-style : italic; "> >>> no listening sockets available, shutting down .
Apache is not dieing but shutting down gracefully, pointing to a problem elsewhere.

: #444444; font-style : italic; "> : #444444; font-style : #444444; font-style : italic; "> : italic; "> The Apache service named reported the following error : #444444; font-style : italic; "> :
: #444444; font-style : italic; "> : #444444; font-style : #444444; font-style : italic; "> : italic; "> : #444444; font-style : italic; "> >>> Unable to open logs .
That doesn't sound good. Where is the apache log?
fred_fish (15241)