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
  • 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......
  • How to Remove Cyber Security | Cyber Security Removal Guide Cyber Security is a rogue antivirus application. It is in the same family as totalsecurity (total security Removal Guide) and SystemSecurity. This software installs through web popups and trojan horse activity makes false claims about your system being compromised by viruses and other security problems, hijacks we browser activity claiming......
  • Version 2 of the WMF exploit vs Windows 98 SE Ok, I wasn't quite satisfied with the results of the tests against the first version of the WMF (Windows Metafile) zero day exploit that's now up to 4 or 5 days or so... Windows 98 is listed as being vulnerable, but there are no patches or workarounds currently available for......
Blog Traffic Exchange Related Websites
  • How to Freeze Your Credit and Stop Identity Thieves in Their Tracks Identity theft is a growing problem in the United States, but a lot of the solutions that banks and other companies propose to stop identity thieves aren't nearly as effective as a recently introduced process offered by the three major credit bureaus. Monitoring services only let you know that your......
  • Registry Fixing Programs There are so many programs on the market that promise you to quickly speed up your computer and fix registry keys in minutes. The truth is! many of them are scam. So, i am going to tell you in this article which program could you use to fix your registry......
  • Home Office Ideas Home working has reached a level where it has once again become a major part of the economy. It is especially big in Europe. For example, approximately 4 million residents in the UK work from home necessitating the need to optimise their office spaces in order to improve efficiency, while......
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