Problem after running portupgrade
Stephen Liu
satimis at yahoo.com
Tue May 25 09:35:26 PDT 2004
Hi Remko,
Tks for your advice.
> It says to you that the var drive is full, the var
> drive keeps logs etc
> so pretty crucial that it has some space. Go to
> /var/log and check which
> files are a bit big and "rotate" them. You can do
> that by entering
> single user mode, mount the /var, go to /var/log,
> type `ls -lh' it gives
> you the filesizes
>
> Some file has to be what bigger then the rest, so we
> need to clean it a bit.
> Mount the /usr drive and create the directory
> /usr/tmp (since that drive
> has a lot of space left), now mv
> /var/log/$bigfilename /usr/tmp/ and
> touch /var/log/$bigfilename (So that it does exist).
It is not the files on /var/log/ taking up space but
following files on /var/tmp/
# ls -lh
total 192544
-rw-r--r-- 1 satimis wheel 2.3M May 14 22:26
tmp.0.QQlif7
-rw-r--r-- 1 satimis wheel 2.3M May 14 22:24
tmp.0.dr0vBP
-rw-r--r-- 1 satimis wheel 2.3M May 15 15:58
tmp.0.kDy79T
-rw-r--r-- 1 satimis wheel 2.3M May 14 22:29
tmp.0.lu8h4X
-rw-r--r-- 1 satimis wheel 26M May 14 22:26
tmp.1.Egne6s
-rw-r--r-- 1 satimis wheel 72M May 14 22:25
tmp.1.JW15qD
-rw-r--r-- 1 satimis wheel 32M May 14 22:29
tmp.1.nNXAdw
-rw-r--r-- 1 satimis wheel 48M May 15 15:59
tmp.1.xygGQv
.....
I have no idea what they are and when they were
created.
# df
Filesystem 1K-blocks Used Avail Capacity
Mounted on
/dev/ad4s1a 253678 45872 187512 20% /
devfs 1 1 0 100% /dev
/dev/ad4s1e 253678 4672 228712 2% /tmp
/dev/ad4s1f 36354884 4807654 28638840 14% /usr
/dev/ad4s1d 253678 57664 175720 25% /var
> If you reboot now the system will come up and i
> guess that the things
> are starting to work again.
>
> The Failure of gnome is too less space on /var i
> think,
After rebooting the PC, Gnome revived. Still have
some minor problems, such as on KDE desktop Konsole
window, selected fonts unable to save (saving settings
having no function)
> The portsclean package? What's that? Search the
> internet
'portsclean' is an utility of 'portupgrade'. Very
powerful taking about 5 minute to complete on my slow
system. Now it got lost. I think I have to reinstall
'portupgrade'
> Try changing your settings in Konsole now, perhaps
> there is enough space
> now.
Still having problem. Please see above.
Tks again for your advice.
B.R.
Stephen
_______________________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
More information about the freebsd-questions
mailing list