pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Crash
7+ messages / 2 participants
[nested] [flat]

* Crash
@ 2001-03-14 08:48 John W Cunningham <john@pickaprof.com>
  2001-03-14 15:59 ` Re: Crash Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 7+ messages in thread

From: John W Cunningham @ 2001-03-14 08:48 UTC (permalink / raw)
  To: pgsql-admin

Hello All,

I'm pretty new to Postgres, but have managed to build a substantial site on
it.  I built the entire thing locally on some dev servers, and then put it
online.  The production DB server is a superb machine (twin PIII Ghz, 2 gigs
RAM) so it should be able to handle anything my dev servers could.

I have not begun directing users to the new site, while it's public it has
no name so I'm basically the only one using it.

When running a script that worked perfectly locally, I will always get this
error before script completion:

psql: ERROR:  cannot find attribute 1 of relation pg_proc_oid_index

At that point the server has crapped out and is no longer accepting any
connections.  It daemon has to be restarted to work properly.

Any ideas?

-John




^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: Crash
  2001-03-14 08:48 Crash John W Cunningham <john@pickaprof.com>
@ 2001-03-14 15:59 ` Tom Lane <tgl@sss.pgh.pa.us>
  2001-03-14 17:36   ` RE: Crash John W Cunningham <john@pickaprof.com>
  0 siblings, 1 reply; 7+ messages in thread

From: Tom Lane @ 2001-03-14 15:59 UTC (permalink / raw)
  To: John W Cunningham <john@pickaprof.com>; +Cc: pgsql-admin

"John W Cunningham" <john@pickaprof.com> writes:
> psql: ERROR:  cannot find attribute 1 of relation pg_proc_oid_index

This sounds like there's something pretty fundamentally broken.  Did you
build your executables yourself (if so, with what compiler and what
configuration options) or grab an RPM from somewhere (if so, where)?
Have you tried running the regression tests on your installation?

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* RE: Crash
  2001-03-14 08:48 Crash John W Cunningham <john@pickaprof.com>
  2001-03-14 15:59 ` Re: Crash Tom Lane <tgl@sss.pgh.pa.us>
@ 2001-03-14 17:36   ` John W Cunningham <john@pickaprof.com>
  2001-03-14 18:02     ` Re: Crash Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 7+ messages in thread

From: John W Cunningham @ 2001-03-14 17:36 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-admin

The server was installed by my ISP for me (when I install it's from a
GreatBridge rpm).  How do I run the regression tests?

-John

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Wednesday, March 14, 2001 9:59 AM
To: John W Cunningham
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Crash


"John W Cunningham" <john@pickaprof.com> writes:
> psql: ERROR:  cannot find attribute 1 of relation pg_proc_oid_index

This sounds like there's something pretty fundamentally broken.  Did you
build your executables yourself (if so, with what compiler and what
configuration options) or grab an RPM from somewhere (if so, where)?
Have you tried running the regression tests on your installation?

			regards, tom lane




^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: Crash
  2001-03-14 08:48 Crash John W Cunningham <john@pickaprof.com>
  2001-03-14 15:59 ` Re: Crash Tom Lane <tgl@sss.pgh.pa.us>
  2001-03-14 17:36   ` RE: Crash John W Cunningham <john@pickaprof.com>
@ 2001-03-14 18:02     ` Tom Lane <tgl@sss.pgh.pa.us>
  2001-03-14 18:15       ` RE: Crash John W Cunningham <john@pickaprof.com>
  2001-03-14 20:45       ` RE: Crash John W Cunningham <john@pickaprof.com>
  0 siblings, 2 replies; 7+ messages in thread

From: Tom Lane @ 2001-03-14 18:02 UTC (permalink / raw)
  To: John W Cunningham <john@pickaprof.com>; +Cc: pgsql-admin

"John W Cunningham" <john@pickaprof.com> writes:
> How do I run the regression tests?

See
http://www.postgresql.org/users-lounge/docs/7.0/postgres/regress.htm

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* RE: Crash
  2001-03-14 08:48 Crash John W Cunningham <john@pickaprof.com>
  2001-03-14 15:59 ` Re: Crash Tom Lane <tgl@sss.pgh.pa.us>
  2001-03-14 17:36   ` RE: Crash John W Cunningham <john@pickaprof.com>
  2001-03-14 18:02     ` Re: Crash Tom Lane <tgl@sss.pgh.pa.us>
@ 2001-03-14 18:15       ` John W Cunningham <john@pickaprof.com>
  1 sibling, 0 replies; 7+ messages in thread

From: John W Cunningham @ 2001-03-14 18:15 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-admin

I can't even find the source file, I really need to see what these guys used
when installing.

-JOhn

-----Original Message-----
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Tom Lane
Sent: Wednesday, March 14, 2001 12:02 PM
To: John W Cunningham
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Crash


"John W Cunningham" <john@pickaprof.com> writes:
> How do I run the regression tests?

See
http://www.postgresql.org/users-lounge/docs/7.0/postgres/regress.htm

			regards, tom lane

---------------------------(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




^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* RE: Crash
  2001-03-14 08:48 Crash John W Cunningham <john@pickaprof.com>
  2001-03-14 15:59 ` Re: Crash Tom Lane <tgl@sss.pgh.pa.us>
  2001-03-14 17:36   ` RE: Crash John W Cunningham <john@pickaprof.com>
  2001-03-14 18:02     ` Re: Crash Tom Lane <tgl@sss.pgh.pa.us>
@ 2001-03-14 20:45       ` John W Cunningham <john@pickaprof.com>
  2001-03-14 22:26         ` Re: Crash Tom Lane <tgl@sss.pgh.pa.us>
  1 sibling, 1 reply; 7+ messages in thread

From: John W Cunningham @ 2001-03-14 20:45 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-admin

I ran the test - can anyone tell me what these results mean and how I can
fix it?

-----Original Message-----
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Tom Lane
Sent: Wednesday, March 14, 2001 12:02 PM
To: John W Cunningham
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Crash


"John W Cunningham" <john@pickaprof.com> writes:
> How do I run the regression tests?

See
http://www.postgresql.org/users-lounge/docs/7.0/postgres/regress.htm

			regards, tom lane

---------------------------(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

Attachments:

  regression.diffs (application/octet-stream, 6.9K) download

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: Crash
  2001-03-14 08:48 Crash John W Cunningham <john@pickaprof.com>
  2001-03-14 15:59 ` Re: Crash Tom Lane <tgl@sss.pgh.pa.us>
  2001-03-14 17:36   ` RE: Crash John W Cunningham <john@pickaprof.com>
  2001-03-14 18:02     ` Re: Crash Tom Lane <tgl@sss.pgh.pa.us>
  2001-03-14 20:45       ` RE: Crash John W Cunningham <john@pickaprof.com>
@ 2001-03-14 22:26         ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2001-03-14 22:26 UTC (permalink / raw)
  To: John W Cunningham <john@pickaprof.com>; +Cc: pgsql-admin

"John W Cunningham" <john@pickaprof.com> writes:
> I ran the test - can anyone tell me what these results mean and how I can
> fix it?

The diffs look like locale issues --- specifically, I'd say that your
server is running in en_US or some other locale with ISO-like sorting
rules for strings.

I am now wondering if your original problem
	ERROR:  cannot find attribute 1 of relation pg_proc_oid_index
might also be a locale issue.  Specifically, if the server was initdb'd
with one locale but is now being run in another, it could be suffering
from apparent index corruption (because the indexes are not in order
according to its current idea of what ordering means).  If this is
happening in the system indexes then you've got big problems.

Release 7.1 will have defenses against this common error, but in earlier
releases it's critical to ensure that every postmaster start has the
same locale environment variables as were seen by initdb.  That's *real*
easy to get wrong, since initdb is normally done by hand while the
postmaster is commonly started from boot scripts (which won't have the
exact same environment a login shell has).

I'd suggest discussing this with your ISP --- they probably need to redo
the initdb under the same locale that the postmaster will routinely run
under.  It's usually a smart idea to set the locale environment (LANG
or LC_ALL) explicitly in the script that launches the postmaster.

BTW, if you don't actually *need* any locale-sensitive processing, a
good way to avoid the whole problem is to build the software without
locale support.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2001-03-14 22:26 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-03-14 08:48 Crash John W Cunningham <john@pickaprof.com>
2001-03-14 15:59 ` Tom Lane <tgl@sss.pgh.pa.us>
2001-03-14 17:36   ` John W Cunningham <john@pickaprof.com>
2001-03-14 18:02     ` Tom Lane <tgl@sss.pgh.pa.us>
2001-03-14 18:15       ` John W Cunningham <john@pickaprof.com>
2001-03-14 20:45       ` John W Cunningham <john@pickaprof.com>
2001-03-14 22:26         ` Tom Lane <tgl@sss.pgh.pa.us>

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