Mandriva 2008 boot problem

Submitted by rdawood on Tue, 10/02/2009 - 11:19.

i have a little problem with mandriva. when i try to log in the massage

"temp directory (/temp) is out of disk space kde is unable to start "

appears then the massage

"could not start kmserver. Check your installation"

when i tried

df -h

i get

filesystem size used Avail use% mounted on

/dev/sda5 7.7G 7.7G 0 100% /

/dev/sda7 107G 52G 55G 49% /home

/dev/sda1 30G 27G 3.1G 90% /mnt/windows

i also deleted everything on /tmp with "rm -R /tmp/*" but the problem is still there!!

could some body help??

your root directory is full

It's obvious from the output of df .. your root directory is 100% full, you have to delete some files from anywhere except /home or /mnt/windows .. try to delete your package manager cache (i.e apt-get clean) or unused kernels as a start.


Ahmed D. El-Mekkawy

My blog

linuxawy's picture

how to do it

thanks Ahmed

"try to delete your package manager cache (i.e apt-get clean) or unused kernels as a start"

the problem is : I don't know how to do so!!!

Radwa

as root do: rm -rf

as root do:


rm -rf /tmp/*


WWW: The place for organized randoms!

MSameer's picture

It didn't work

I did so but It didn't work

your root directory is

your root directory is full, you can try and find out what's eating all the space with the following command as root

du --max-depth=1 -h -x

this will show the usage of the top level directories in the root partition, if you need to explore indepth you can use the command

du -b | sort -n

which list all the directories and subdirectories sorted by size, the ones at the end are the alrger ones.

in many cases this is caused by the logs growing too fat, (you'll see that /var/log is among the high sized directories in that case).

log files are safe to delete so just go into /var/log and delete any large files, any old log files etc.

if the logs are not the cause then u need to uninstall some software, I suggest two ways to clean up.

in mandirva's package manager interface you can list all installed packages sorted by size. pick a bunch of large sized packages that you don't need and uninstall them.

or you can run

urpmi_rpm-find-leaves

this gives you a list of leaves in your installed packages tree, leaves are packages that have no dependencies, so they are safe to remove if you don't need them (in most cases if you don't know whether you need them or not then you don't need them). if you want to really cleanup you should rerun urpmi_rpm-find-leaves after you finish removing packages cause now more packages will become leaves, keep doing that until the list of leaves doesn't change anymore.

cheers,
Alaa


husband of the Grand Waragi Master

http://www.manalaa.net

Alaa's picture

du --max-depth=1 -h -x


du --max-depth=1 -h -x /


WWW: The place for organized randoms!

MSameer's picture

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.