R-Ts NetWorks

Server the Best

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


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

Login to server via SSH.

Check the apache error logs you are getting while restarting plesk.

================================================

-[notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[error] (28)No space left on device: Cannot create SSLMutex
Configuration Failed

================================================

How much IPC resources are used can be found using ‘ipcs’ command:

 ipcs -a

run the below command to check the apache resource usage.

ipcs -a | grep apache

Run the below command to get the apache resource ids.

ipcs -a | grep apache | cut -d ” ” -f2

Delete all the apache resource files using the below command.

for i in `ipcs -a | grep apache | cut -d ” ” -f2`; do ipcrm -s $i; done

Again, check the apache resource usage.

ipcs -a | grep apache

Run, the below command again to check the IPC resource usage.

ipcs -a

Now, restart apache using the below command.

/etc/init.d/httpd restart

 

Advertisements

November 10, 2012 - Posted by | Plesk

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: