On 2011-01-04 13:06, suse tpx60s wrote:
>
> @Denver. I looked at the logs and there doesn’t seem to be anything
> overly large. The largest log file is 3.8MB (mail.info). Is that large
> for a log file?
Not really.
> I had a year’s worth of bz2 files which I deleted but
> that didn’t help. I found I had a lot of mysql logs which I deleted and
> that seemed to help for about 20 minutes.
You are doing something wrong, which try to solve a problem using the
software that is causing the problem. You can not try to solve this while
logged in graphical mode!
Denver told you to log in runlevel 3 → means text mode only.
Log out, press ctrl-alt-f1, log there (text) as root (yes, root), and work.
First command: “init 3”. Or, if booting, type “3” on the grub prompt, wait,
and login.
> I also get an authentication error when my screen locks and I try
> unlocking it. The error is “Cannot unlock the session because the
> authentication system failed to work, you must kill the kscreenlocker
> (pid 11.363) manually.” The only way out is to ctrl-alt-backspace, after
> which I can no longer log in to the desktop. The screen just goes blank
All those errors are irrelevant. Your main problem is a full or almost full
disk: solve that first. In text mode.
In text mode, type “mc”, which is a file text browser called Midnight
Commander", imitating the old MsDos Norton Commander, a wonderful for the
linux administrator.
Code:
Left File Command Options Right
┌<─ ~ ──────────────────────────v>┐┌<─ ~ ──────────────────────────v>┐
│ Name │ Size │ MTime ││ Name │ Size │ MTime │
│/… │P–DIR│ ▴│/… │P–DIR│ ▴
│/.AbiSuite │ 72│Jul 9 2009 ◈│/.AbiSuite │ 72│Jul 9 2009 ◈
│/.Sear~escue│ 67│Oct 18 2006 ▒│/.Sear~escue│ 67│Oct 18 2006 ▒
│/.Skype │ 89│Nov 6 2007 ▒│/.Skype │ 89│Nov 6 2007 ▒
│/.acrobat │ 18│Oct 18 2006 ▒│/.acrobat │ 18│Oct 18 2006 ▒
│/.adobe │ 87│Jan 31 2010 ▒│/.adobe │ 87│Jan 31 2010 ▒
│/.alsaplayer│ 40│Oct 18 2006 ▒│/.alsaplayer│ 40│Oct 18 2006 ▒
│/.animail │ 61│Oct 18 2006 ▒│/.animail │ 61│Oct 18 2006 ▒
├─────────────────────────────────▾├─────────────────────────────────▾
│/… ││/… │
└─────────────────────────────────┘└─────────────────────────────────┘
Hint: Tab changes your current panel.
cer@Telcontar:~> ^]
1Help 2Menu 3View 4Edit 5Copy 6RenMov 7Mkdir 8Delete
One of the functions it has is in the command menu the entry “show
directory sIzes”. Navigate first to the root directory (/) and do it.
Code:
Left File Command Options Right
┌<─ ~ ────────────┌───────────────────────────────┐────────────────v>┐
│ Name │ Siz│ Directory tree │ize │ MTime │
│/… │P–D│ Find file M-? │-DIR│ ▴
│/.AbiSuite │ │ sWap panels C-u │ 72│Jul 9 2009 ◈
│/.Sear~escue│ │ switch Panels on/off C-o │ 67│Oct 18 2006 ▒
│/.Skype │ │ Compare directories C-x d │ 89│Nov 6 2007 ▒
│/.acrobat │ │ eXternal panelize C-x ! │ 18│Oct 18 2006 ▒
│/.adobe │ │ show directory sIzes │ 87│Jan 31 2010 ▒
│/.alsaplayer│ │ ───────────────────────────── │ 40│Oct 18 2006 ▒
│/.animail │ │ command History │ 61│Oct 18 2006 ▒
├─────────────────│ diRectory hotlist C-\ │──────────────────▾
│/… │ Active VFS list C-x a │ │
└─────────────────│ Background jobs C-x j │──────────────────┘
Hint: Tab changes │ ───────────────────────────── │
cer@Telcontar:~> │ Undelete files (ext2fs only) │ ^]
1Help 2Menu 3V│ ───────────────────────────── │dir 8Delete
Once it shows you the directory sizes (it takes a lonoooong time) you
should see one that is TOO big. Enter it, and repeat the procedure, till
you find which directory is filling with files so big that leave you
without breathing space.
Before deleting the file, investigate a bit. The key “F3” displays the
file, if it is a log it will have thousand of similar entries. Copy them
and tell us.
There is a text editor in mc (F4). You can also copy-paste from one
terminal to another terminal, using the mouse (in text mode, yes). For this
you need first to start the service “gpm”, and for this you need to tell it
which mouse to use in the file “/etc/sysconfig/mouse” - I have:
MOUSEDEVICE="/dev/mouse"
MOUSETYPE=“exps2”
You can learn the mouse type from X config.
XMOUSETYPE=“imps/2”
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)