pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hal Lynch <hal@cc.usu.edu>
To: pgsql-admin@postgreSQL.org
Subject: Postgres-7.0 dying
Date: Tue, 23 May 2000 09:27:24 -0600
Message-ID: <l03130300b550517cdf64@[129.123.1.184]> (raw)

Got a bit of a problem here?!
I just upgraded to Postgres-7.0
I am getting the error shown below consistantly, not always in
the same place in the database build script.
When I installed 7.0 I did not migrate my data.  Instead I chose
to rebuild all databases (6) and all tables (> 40) from scratch
from the raw data. This is a data warehouse so I just did a fresh
extract from the donor machine.  Let me say a word about the method
I use to populate the tables in the databases.  I extract the data
from the donor as tab delimited fields suitable for the psql 'copy'
command.  I then 'copy' the data into the table and build indexes.
This technique has worked for almost a year now with older versions
of Postgres.  The same exact data actually.

Hardware:
	pII 550
	lvd scsi drives (no file system is > 60% full)
Software:
	FreeBSD 3.4 (Postgres 6.5.3 has been running on this system
		for months without failure)
Postgres install:
	cd /usr/local/pgsql/src
	gmake
	gmake install
============================================================
The important part of the postmaster startup script
---------------------------------------
[ -x /usr/local/pgsql/bin/postmaster ] &&
	{
	#
	# BEWARE
	# The command exec'd by the su statement below uses
	# the default shell for user pgsql which is tcsh NOT sh.
	# That explains the syntax for the output redirect.
	#
	su -l pgsql -c 'exec /usr/local/pgsql/bin/postmaster \
		-i \
		-B 128 \
		-o "-S 1024" \
 		-D /usr/local/pgsql/data \
			>& /var/postgresql/postgresql-7.0/startup.log'
	echo -n ' pgsql'
	}
==========================================================
The shell script which caused the error
---------------------------------------
#!/bin/sh

psql sis << \__EOD__
my_password
drop table stddmg;
__EOD__
rslt=$?

exit $rslt
==========================================================
The output of the above shell script
----------------------------------------
Password:
ERROR:  out of free buffers: time to abort !

ERROR:  out of free buffers: time to abort !

FATAL 2:  elog: error during error recovery, giving up!
pqReadData() -- backend closed the channel unexpectedly.
	This probably means the backend terminated abnormally
	before or while processing the request.
connection to server was lost
ERROR: drop table stddmg failed
========================================================
At the time I got this error the script had successfully
create 6 databases and about 40 tables;


Any clues for the clueless?????


Thanks

hal





view thread (2+ messages)

Message-ID: <l03130300b550517cdf64@[129.123.1.184]>
Permalink:  ../l03130300b550517cdf64@%5B129.123.1.184%5D/
Also on:    postgresql.org/message-id/l03130300b550517cdf64@[129.123.1.184]

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: hal@cc.usu.edu
  Subject: Re: Postgres-7.0 dying
  In-Reply-To: <l03130300b550517cdf64@[129.123.1.184]>
  References: <l03130300b550517cdf64@[129.123.1.184]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox