Jump to content

Recommended Posts

Posted

Hi,

 

We host one website internally (for some reason, all others are external) that is currently down. When I try to connect to the web admin portal I get the following: Failed to write to /etc/webmin/module.infos.cache : No space left on device

 

Looking at the console it would appear the root partition is full, the problem is I have no idea how to free up space.

 

I don't want to delete anything that is required so staying away from that. I did increase the disk size in ESX but can't find a simple way to increase the partition via cmd line.

 

Can anyone help! :)

Posted (edited)

Have a look at https://access.redhat.com/articles/1196353 & https://www.howtoforge.com/linux_resizing_ext3_partitions

 

No real straightforward answers, but if you've run out of space unexpectedly, find out what has consumed that space unexpectedly... as your server may have been compromised.

 

First thing to do would be to check output of 'df -h' to find out what partitions you actually have.

 

If /tmp isn't on it's own partition, that'll be your first place to start emptying.

 

Next place would usually be to check /var/log for excessive sized log files that can be handed off to storage elsewhere on the network / downloaded... and if it indeed turns out to be the case that logs are swelling and eating all your space then you'll need to look into the server's log rotation strategy, and then WHAT is filling those logs. (And usually /var is on it's own partition also... to prevent swollen logs from crashing the system).

Edited by Marci

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...