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
[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
…
…
—— 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
$ service httpd restart
Recent Comments