Apache service got stuck and is not restarting on the server. Checking on the server for the apache error logs you see the following :-
Quote:
[crit] (28 )No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed
|
But there is enough disk space available on the server.
So this may be occurring due to the apache service not been shutdown properly .There still could be the Semaphore arrays left, leading to the error.
Following is the solution, fire the below on the command-line:-
ipcs is the Interprocess Communication facilities Status , this utility shall write the information about active interprocess communication facilities.
-s will write the information about the active semaphore sets.
$nobody is the user under which the apache runs, you need to check on the server the apache user and replace it with the respective user.
Then run the below :-
Quote:
|
ipcs -s | grep $nobody | awk '{print "ipcrm sem " $2}' | sh
|
This will remove the semaphore arrays and the apache service will be online .