November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Apache failed to start with the “No space left on device” error.

Apache failed to start with the “No space left on device” error.

Error:-
[error] (28)No space left on device: Cannot create SSLMutex Configuration Failed

These errors means that there is no available IPC (inter-process communication)  resources in the system, such as semaphores or shared memory segments. You need to check IPC resources which are  used in the server using ‘ipcs’ command:

$ ipcs -a

—— Semaphore Arrays ——–
key        semid      owner      perms      nsems
0×00000000 201293824  apache    600        1

You will be able to see a lot of semaphores under Apache . You need to kill those processes using the following script and restart apache.

$ ipcs -s | grep apache | perl -e ‘while (<STDIN>) {@a=split(/s+/); print `ipcrm sem $a[1]`}’
$ service httpd restart

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>