From owner-freebsd-questions@FreeBSD.ORG Tue May 25 09:35:26 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F3CB16A4CE for ; Tue, 25 May 2004 09:35:26 -0700 (PDT) Received: from web40305.mail.yahoo.com (web40305.mail.yahoo.com [66.218.78.84]) by mx1.FreeBSD.org (Postfix) with SMTP id D2AD043D2D for ; Tue, 25 May 2004 09:35:25 -0700 (PDT) (envelope-from satimis@yahoo.com) Message-ID: <20040525163452.17889.qmail@web40305.mail.yahoo.com> Received: from [203.88.168.31] by web40305.mail.yahoo.com via HTTP; Wed, 26 May 2004 00:34:52 CST Date: Wed, 26 May 2004 00:34:52 +0800 (CST) From: =?iso-8859-1?q?Stephen=20Liu?= To: Remko Lodder In-Reply-To: <40B22B61.7040505@elvandar.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit cc: freebsd-questions@freebsd.org Subject: Re: Problem after running portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2004 16:35:26 -0000 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