X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 120B1D1B4F9 for ; Mon, 27 Oct 2003 21:45:38 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 37467-09 for ; Mon, 27 Oct 2003 17:45:08 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 36997D1B536 for ; Mon, 27 Oct 2003 17:45:06 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id h9RLj5Nu095602 for ; Mon, 27 Oct 2003 21:45:05 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id h9RLWjif093694 for pgsql-admin@postgresql.org; Mon, 27 Oct 2003 21:32:45 GMT From: kevin07@optonline.net (kbd) X-Newsgroups: comp.databases.postgresql.admin Subject: Re: device full ---> postgres will not start Date: 27 Oct 2003 13:32:46 -0800 Organization: http://groups.google.com Lines: 88 Message-ID: References: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/320 X-Sequence-Number: 10881 i will take the advice and upgrade to 7.2.4 ASAP as in now. this what rpm reports on the server currently: [root@localhost root]# rpm -qa | grep postgres postgresql-jdbc-7.2.1-5 postgresql-libs-7.2.1-5 postgresql-7.2.1-5 postgresql-server-7.2.1-5 postgresql-contrib-7.2.1-5 postgresql-devel-7.2.1-5 [root@localhost root]# i downloaded the following: [root@localhost download]# ls postgresql-7.2.4-1PGDG.i386.rpm postgresql-libs-7.2.4-1PGDG.i386.rpm postgresql-contrib-7.2.4-1PGDG.i386.rpm postgresql-perl-7.2.4-1PGDG.i386.rpm postgresql-devel-7.2.4-1PGDG.i386.rpm postgresql-server-7.2.4-1PGDG.i386.rpm postgresql-docs-7.2.4-1PGDG.i386.rpm postgresql-tcl-7.2.4-1PGDG.i386.rpm postgresql-jdbc-7.2.4-1PGDG.i386.rpm [root@localhost download]# i have done new installs using RPMs, but not an upgrade. silly question time: are these the correct RPMs? do I just upgrade them one at a time as follows: rpm -Uvh postgresql.......rpm many thanks kd scott.marlowe@ihs.com ("scott.marlowe") wrote in message news:... > On Fri, 24 Oct 2003, Duffy House wrote: > > > Hello: > > > > It looks like I got caught sleeping. > > > > I am running Postgresql 7.2 under Red Hat 7.3. > > Postgresql failed today. When I tried to restart it, I got a message > > stating that the device is full. > > I used df to confirm that /var where postgres reside is full. /var is on a > > 4 Gig device. > > Postgresql is the only application on this machine. > > > > Please note, the backup of the database from the prior day, is 45 Meg > > zipped. > > I do not know how the database could be soaking up a 4 Gig device. > > > > Questions: > > > > How can I recover from this situation? > > > > If postgres will not start how can I restore the database from the prior > > day? > > > > When I run a backup does postgres truncate its logs? > > > > please keep it simple, I have about 1 hours admin experience with postgres. > > > > thanks in advance. > > It sounds like either you've never run vacuum, or you've had a few threads > holding transactions open for a very long time. > > Easiest way to recover: Make a bigger partition, cp everything there, and > point the postmaster at that partition to startup. Then vacuum etc... and > copy it all back over the original partition. Then make sure you're > running the latest and greatest (at least 7.2.4, prefereable 7.3.4) and > look up the autovacuum daemon to make sure this never happens again. If > you installed from source, it's in the contrib/pg_autovacuum directory, > just cd in there as root, and 'make;make install' and it's installed. > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly