473,386 Members | 1,908 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

FW: database failure..



Nobody got any ideas on the below problem? :-(

[root /tmp]# psql -V
psql (PostgreSQL) 7.0.2
contains readline, history, multibyte support
Portions Copyright (c) 1996-2000, PostgreSQL, Inc
Portions Copyright (c) 1996 Regents of the University of California Read
the file COPYRIGHT or use the command \copyright to see the usage and
distribution terms.

Nothing at all in the logs...How do I change the debugging/log level to
show more?

NB. a few of the DBs on the server dont have any problems at all...

Jason

-----Original Message-----
From: Marc G. Fournier [mailto:sc*****@postgresql.org]
Sent: Sunday, December 14, 2003 8:00 PM
To: Ausrack Webmaster
Cc: pg***********@postgresql.org
Subject: Re: [GENERAL] database failure..
On Sun, 14 Dec 2003, Ausrack Webmaster wrote:

Hi,

I have a database, which just happens to be the main database on a
RAQ4..(cobalt)
that even when recreated it still dies, even before readding any
tables..

Welcome to psql, the PostgreSQL interactive terminal.

Type: \copyright for distribution terms
\h for help with SQL commands
\? for help on internal slash commands
\g or terminate with semicolon to execute query
\q to quit

cobalt=# \d
The connection to the server was lost. Attempting reset: Succeeded.

I can't dump either..

getTables(): SELECT failed. Explanation from backend: 'pqReadData()
-- backend closed the channel unexpectedly.
This probably means the backend terminated abnormally
before or while processing the request.
'.

Any idea what might be causing this?


anything in the logs? hardware failure maybe? what version of
database?

----
Marc G. Fournier Hub.Org Networking Services
(http://www.hub.org)
Email: sc*****@hub.org Yahoo!: yscrappy ICQ:
7615664

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 12 '05 #1
2 1916
Ausrack Webmaster wrote:

Nobody got any ideas on the below problem? :-(
From the behaviour I would guess there is something corrupt in one of
the system catalogs of that database. Make sure the coredump size of the
postmaster process is unlimited, recreate the problem and you should
find a file named "core" in the data directory of that database.
Hopefully the postgres executable was built with enough symbol
information so that you can get a stack backtrace from that core file
with a debugger.
Jan

[root /tmp]# psql -V
psql (PostgreSQL) 7.0.2
contains readline, history, multibyte support
Portions Copyright (c) 1996-2000, PostgreSQL, Inc
Portions Copyright (c) 1996 Regents of the University of California Read
the file COPYRIGHT or use the command \copyright to see the usage and
distribution terms.

Nothing at all in the logs...How do I change the debugging/log level to
show more?

NB. a few of the DBs on the server dont have any problems at all...

Jason

-----Original Message-----
From: Marc G. Fournier [mailto:sc*****@postgresql.org]
Sent: Sunday, December 14, 2003 8:00 PM
To: Ausrack Webmaster
Cc: pg***********@postgresql.org
Subject: Re: [GENERAL] database failure..
On Sun, 14 Dec 2003, Ausrack Webmaster wrote:

Hi,

I have a database, which just happens to be the main database on a
RAQ4..(cobalt)
that even when recreated it still dies, even before readding any
tables..

Welcome to psql, the PostgreSQL interactive terminal.

Type: \copyright for distribution terms
\h for help with SQL commands
\? for help on internal slash commands
\g or terminate with semicolon to execute query
\q to quit

cobalt=# \d
The connection to the server was lost. Attempting reset: Succeeded.

I can't dump either..

getTables(): SELECT failed. Explanation from backend: 'pqReadData()
-- backend closed the channel unexpectedly.
This probably means the backend terminated abnormally
before or while processing the request.
'.

Any idea what might be causing this?


anything in the logs? hardware failure maybe? what version of
database?

----
Marc G. Fournier Hub.Org Networking Services
(http://www.hub.org)
Email: sc*****@hub.org Yahoo!: yscrappy ICQ:
7615664

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

--
#================================================= =====================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================= = Ja******@Yahoo.com #
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 12 '05 #2
You're gonna have a hard time getting support for a version that old
(we've since seen 7.1, 7.2, 7.3, and 7.4 come out and 7.5 is in the cooker
right now.

If it's possible to backup your database, I'd highly recommend upgrading
postgresql on a test machine or something. It sounds like you might have
a bad block on your hard drive, or possible 7.0.2 has managed to corrupt
the data files all on its own.

Note that 7.0.3 was the last of that line, so even if you're gonna stick
with 7.0.x, you should be running that version.

Each version of Postgresql since 6.5.x has gotten faster and more stable
in my experience, and many bugs have been squashed since the time that 7.0
was put out.

If you can backup the drive postgresql is on file level wise and test it
for bad blocks, that would be good, if it's IDE it might do well being
reformatted.

Also, look at running memtest86 on the box to make sure you don't have
flakey memory. (www.memtest86.com, it's free)

On Tue, 16 Dec 2003, Ausrack Webmaster wrote:


Nobody got any ideas on the below problem? :-(

[root /tmp]# psql -V
psql (PostgreSQL) 7.0.2
contains readline, history, multibyte support
Portions Copyright (c) 1996-2000, PostgreSQL, Inc
Portions Copyright (c) 1996 Regents of the University of California Read
the file COPYRIGHT or use the command \copyright to see the usage and
distribution terms.

Nothing at all in the logs...How do I change the debugging/log level to
show more?

NB. a few of the DBs on the server dont have any problems at all...

Jason

-----Original Message-----
From: Marc G. Fournier [mailto:sc*****@postgresql.org]
Sent: Sunday, December 14, 2003 8:00 PM
To: Ausrack Webmaster
Cc: pg***********@postgresql.org
Subject: Re: [GENERAL] database failure..
On Sun, 14 Dec 2003, Ausrack Webmaster wrote:

Hi,

I have a database, which just happens to be the main database on a
RAQ4..(cobalt)
that even when recreated it still dies, even before readding any
tables..

Welcome to psql, the PostgreSQL interactive terminal.

Type: \copyright for distribution terms
\h for help with SQL commands
\? for help on internal slash commands
\g or terminate with semicolon to execute query
\q to quit

cobalt=# \d
The connection to the server was lost. Attempting reset: Succeeded.

I can't dump either..

getTables(): SELECT failed. Explanation from backend: 'pqReadData()
-- backend closed the channel unexpectedly.
This probably means the backend terminated abnormally
before or while processing the request.
'.

Any idea what might be causing this?


anything in the logs? hardware failure maybe? what version of
database?

----
Marc G. Fournier Hub.Org Networking Services
(http://www.hub.org)
Email: sc*****@hub.org Yahoo!: yscrappy ICQ:
7615664

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

34
by: yensao | last post by:
Hi, I have a hard time to understand difference and similarities between Relational database model and the Object-Oriented model. Can somebody help me with this? Thank you in advance. ...
1
by: pginfo | last post by:
Hi, I have had two times problem with pg database corruption. My system: Dual athlon 2.4 1 GB RAM, linux red hat 7.3 reiserFS Also on the system I have cron that every 3 h. make dump and...
2
by: Ausrack Webmaster | last post by:
Hi, I have a database, which just happens to be the main database on a RAQ4..(cobalt) that even when recreated it still dies, even before readding any tables.. Welcome to psql, the...
5
by: Campano, Troy | last post by:
Is there a way to limit the size that an individual database can take up? My understanding is that all your databases go into a file system which is your 'catalog cluster'. But all the...
18
by: Asif | last post by:
Hi all, I am working on portal which is using MS Access 2003 database. The problem that I am facing is that once I received data from vendors I have to upload whole Access Database file to...
7
by: dubdave | last post by:
Hi I am trying to write a (very) basic script to compare data retrieved from a form with a mySQL database. In this case it is a simple name and password entry - if there is a corresponding entry...
0
by: rajsun | last post by:
We have oracle 9.2.0.7 database on AIX 5.2 with HACMP for fail over. We are regular database not 9i RAC. The Oracle inventory was corrupted so I had to re-install 9i and apply 9.2.0.7 patchset. When...
3
by: arasub | last post by:
ep 20, 2007 11:25:57 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found...
7
by: erikcw | last post by:
Hi, I'm working on a web application where each user will be creating several "projects" in there account, each with 1,000-50,000 objects. Each object will consist of a unique name, an id, and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.