Great Circle Associates Majordomo-Workers
(September 2000)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Correct database ... any way to fix?
From: The Hermit Hacker <scrappy @ hub . org>
Date: Wed, 13 Sep 2000 21:40:48 -0300 (ADT)
To: Jason L Tibbitts III <tibbs @ math . uh . edu>
Cc: majordomo-workers @ GreatCircle . COM, mj2-dev @ csf . colorado . edu
In-reply-to: <ufaog1svt2e.fsf@epithumia.math.uh.edu>


%db_dump -d _subscribers.D 
db_dump: unrecognized file type
db_dump: _subscribers.D: Invalid argument


On 13 Sep 2000, Jason L Tibbitts III wrote:

> >>>>> "THH" == The Hermit Hacker <scrappy@hub.org> writes:
> 
> THH> Segmentation fault(core dumped)
> 
> Obviously that's bad.  It would be nice to see just where it crashed
> (i.e. get a backtrace from that core file) but Perl code doesn't really
> have the capacity to segfault.  (Perl does, in which case it's a Perl bug,
> and of course any of the libraries that Perl calls can die as well.)
> 
> Make sure the registry is OK (who-enhanced GLOBAL) and then locate the
> database file itself (should be named _pgsql-general.D) and dump it:
> 
> XYX:morpheus:~> db_dump -d mj/2.0-lists/morpheus.math.uh.edu/test/_subscribers.D  
> btree  (local mpool, read-only)
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> On-page metadata:
> magic 0x53162
> version 0x6
> pagesize 4096
> maxkey: 0 minkey: 2
> free 0
> flags 0
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> DB_INFO:
> bt_maxkey: 0 bt_minkey: 2
> bt_compare: 0x4001c020 bt_prefix: 0x4001c080
> stack:
> ovflsize: 1007
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> page    1: (btree leaf)
>     lsn.file: 0 lsn.offset: 0
>     prev:    0 next:    0 level:  1 entries:    4 offset: 3732
>     [000] 4072 len:  18 data: nobody@example.com
>     [001] 3996 len:  72 data: nobody@example.com0x01n...
>     [002] 3976 len:  17 data: tibbs@math.uh.edu
>     [003] 3732 len: 238 data: tibbs@morpheus.math....
> 
> XYX:morpheus:~> db_dump -p mj/2.0-lists/morpheus.math.uh.edu/test/_subscribers.D  
> format=print
> type=btree
> bt_minkey=2
> db_pagesize=4096
> HEADER=END
> nobody@example.com
> nobody@example.com\01nobody@example.com\01953881633\01953881633\01each\01\01\01SPR\01\01\01\01
> tibbs@math.uh.edu
> tibbs@morpheus.math.uh.edu\01tibbs@morpheus.math.uh.edu\01966718972\01966806438\01each\01\01\01SPR\01\01\01\01\01966719064M1 966719684M2 9668011113 9668011133 9668011143 9668012513 9668013473 9668016393 966804093M3 966806438M4\01The user's email name is not found.
> 
>  - J<
> 

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 




Follow-Ups:
References:
Indexed By Date Previous: Re: Correct database ... any way to fix?
From: Jason L Tibbitts III <tibbs@math.uh.edu>
Next: Re: Correct database ... any way to fix?
From: Jason L Tibbitts III <tibbs@math.uh.edu>
Indexed By Thread Previous: Re: Correct database ... any way to fix?
From: Jason L Tibbitts III <tibbs@math.uh.edu>
Next: Re: Correct database ... any way to fix?
From: Jason L Tibbitts III <tibbs@math.uh.edu>

Google
 
Search Internet Search www.greatcircle.com