From owner-freebsd-questions@FreeBSD.ORG Mon May 24 10:06:31 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 0EBD916A4CE for ; Mon, 24 May 2004 10:06:31 -0700 (PDT) Received: from mail.elvandar.org (cust.94.120.adsl.cistron.nl [195.64.94.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F67443D39 for ; Mon, 24 May 2004 10:06:28 -0700 (PDT) (envelope-from remko@elvandar.org) Received: from [10.0.3.124] (aragorn.lan.elvandar.intranet [10.0.3.124]) by mail.elvandar.org (Postfix) with ESMTP id 7AE2810689E; Mon, 24 May 2004 19:05:37 +0200 (CEST) Message-ID: <40B22B61.7040505@elvandar.org> Date: Mon, 24 May 2004 19:05:37 +0200 From: Remko Lodder X-Accept-Language: en-us, en MIME-Version: 1.0 To: Stephen Liu References: <20040524164958.88048.qmail@web40307.mail.yahoo.com> In-Reply-To: <20040524164958.88048.qmail@web40307.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at elvandar.org 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: Mon, 24 May 2004 17:06:31 -0000 Hey again Stephen, Stephen Liu wrote: > Hi folks, > > I encountered problems after running > > # portupgrade -aRrvO > > At completion following warning popup; > ..... > ...... > Backing up the old version > > /var: write failed, filesystem is full > > bzip2: I/O or other error, bailing out. Possible > reason follows. > bzip2: No space left on device > Input file = (stdin), output file = (stdout) > ** Backup failed. > ---> Uninstallation of linux_base-7.1_5 ended at: > Mon, 24 May 2004 22:20:19 +0800 (consumed 00:00:09) > ---> Upgrade of emulators/linux_base ended at: Mon, > 24 May 2004 22:20:19 +0800 (consumed 00:18:22) > [Updating the pkgdb in /var/db/pkg > ... - 260 packages found (-0 +2) .. > /var: write failed, filesystem is full > ---> Session ended at: Mon, 24 May 2004 22:20:22 > +0800 (consumed 20:46:59) > /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:241:in > `origin': dbm_store failed: Cannot update the pkgdb!] > (PkgDB:BError) > from > /usr/local/lib/ruby/site_ruby/1.6/pkginfo.rb:178:in > `origin' > from /usr/local/sbin/portupgrade:709:in > `do_upgrade' > from /usr/local/sbin/portupgrade:686:in `main' > from /usr/local/sbin/portupgrade:685:in `each' > from /usr/local/sbin/portupgrade:685:in `main' > from /usr/local/sbin/portupgrade:207:in > `initialize' > from /usr/local/sbin/portupgrade:207:in `new' > from /usr/local/sbin/portupgrade:207:in `main' > from /usr/local/sbin/portupgrade:1846 > # > > Reboot PC. Gnome could not be started with a warning > something like server configure error..... > > I have no chance to write down the complete warning > because it jumped to another empty window after a > while. Nor I have an editor to copy the warning down. > > KDE started properly. Following problems were found. > > 1) > # /usr/src/etc/periodic/weekly/310.locate updatedb > > Rebuilding locate database: > /var: write failed, filesystem is full > cat: stdout: No space left on device > > 2) > # 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 4619692 28826802 14% /usr > /dev/ad4s1d 253678 249478 -16094 107% /var > > 3) > # portsclean -C > portsclean: Command not found > > # cd /usr/ports > # make search name=portsclean > No printout > > 4) On KDE desktop > Konsole window - Font characters being huge > Settings -> Font -> Custom > started 'request font' window. It was possible to > select font. > > But > Settings -> Save Settings > seemed having no function. On starting a new Konsole > window fonts were still huge. > > That were the mistakes having been discovered. Others > unknown yet. > > Kindly advise. > 1) How to free space. The HD is of 40 G in size solely > for FreeBSD 5.2 > 2) Where can I find 'portsclean' package > 3) How to discover the cause of failure in starting > Gnome > 4) How to set fonts on Konsole window > > TIA > > B.R. > Stephen Liu > Ofcourse you searched the internet, the archives etc? (guess not) 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). 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, The portsclean package? What's that? Search the internet ;) Try changing your settings in Konsole now, perhaps there is enough space now. -- Kind regards, Remko Lodder Elvandar.org/DSINet.org www.mostly-harmless.nl Dutch community for helping newcomers on the hackerscene