Apache2 ( apache webserver ) not restarting



This is an error I’ve run into a few times. It’s rare enough that the second time I saw it, I had a vague memory that it had happened before. The third time though (was within the last week) I remembered and even remembered where the file was located to solve it. Here’s the problem….
As far as I know this is an apache2 problem, not prior.
Apache is not running. You try to start apache and receive the message…

Cannot allocate shared memory: (17)File exists apache


Ok, file exists…. what file?

The ssl_scache file is the one that’s still there. (At least in my case).

On Mandrake (Mandriva) based systems it’s located at /var/log/httpd/ssl_scache , other distributions it may live at /var/log/apache2/ssl_scache. Of course, you could also do this…

find / -iname ssl_scache

to track it down.

Once you’ve found it, delete it ( rm ssl_scache ), depending on the system you may need to confirm, then try to start apache. (If you’re a bit reluctant it’s ok to just rename it (mv ssl_cache ssl_cache_stranded ).

I found this happening on a system that had an abrupt shutdown. When the system booted back up the ssl_scache had been stranded by the abruptly stopped system. It could likely be fixed longterm by having the startup script check for it, then remove it if it exists. This may have been fixed in newer releases of apache, but was an issue in the some of the apache2 setups I’ve seen.

Related Posts

Blog Traffic Exchange Related Posts
  • How to Remove Desktop Defender 2010 | Removal Guide Desktop Defender 2010 is a rogue antivirus program. It will prompt you with popups complaining about various problems that it claim your system has as well as scanning your computer and consistently finding some files to complain about. It also claims that it cannot fix the problems with your system......
  • More Fake security sites More sites that claim to be windows security center or the like are popping up... a list: securitycaution(dot)com dnserror404(dot)com todaywarnings(dot)com updatesystempage(dot)com yoursecuritysystem(dot)com From sunbeltblog. There's a post at sysinternals about the bogus security software that's out there. Spyaxe, among others, pose as "antispyware software" and bring along more problems than......
  • BBPress 0.9x | Wordpress compatible forum software As you know I've used wordpress as a platform for many of my sites. It makes updating and adding information so quick and easy (as well as great extensions available for it and good theme possibilities.) Anyway, I've wanted forum functionality on a few sites as well and so I......
Blog Traffic Exchange Related Websites
  • MediaMonkey Review On the subject of music players, there are more over a few names to pick from. With the heavyweights like Media Player and JetAudio Basic 8.0.14 to prospects light on resources and at the top of configurable options like Foobar. MediaMonkey fits somewhere at the center but offers some very......
  • Apache Tomcat HTTP Server Directory Traversal Apache Tomcat HTTP Server Directory Traversal Affected System(s) Operating System: AIX 5.x Description: A vulnerability in Apache Tomcat HTTP server may allow for directory traversal attacks. Recommendation: The vendor has made an update available for remediation here: http://tomcat.apache.org/ Observation: Apache Tomcat is the servlet container for JavaServlet and JavaServer Page......
  • How Home Improvement Software Can Help You Out If you are interested in home improvement these days, you also need to be interested in what the modern world can do for you as far as home improvement is concerned.  There is no type of handyman in today’s world that does not use the conveniences of modern technology to......
www.pdf24.org    Send article as PDF   

Similar Posts


See what happened this day in history from either BBC Wikipedia
Search:
Keywords:
Amazon Logo

Comments are closed.


Switch to our mobile site