bsddb module woes

Richard Jones richard at bizarsoftware.com.au
Wed Aug 29 05:18:09 CEST 2001


On Wednesday 29 August 2001 12:52, Richard Jones wrote:
> We've just had a forced upgrade from redhat 6.2 to redhat 7.1, and the
> bsddb module won't open our (very important) db files any more.
>
> Python 2.1 (#1, Aug 29 2001, 11:53:30)
> [GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-81)] on linux2
> Type "copyright", "credits" or "license" for more information.
>
> >>> import bsddb
> >>> bsddb.btopen('nodes.issue', 'r')
>
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> bsddb.error: (-30990, 'Unknown error 4294936306')
>
>
> I am guessing that this has something to do with the library that's been
> linked in. I've had to manually compile python 2.1 on the system, and all
> seemed to go fine.
>
> [root at dirk lib.linux-i686-2.1]# ldd bsddb.so
> 	libdb-3.1.so => /lib/libdb-3.1.so (0x4000b000)
> 	libc.so.6 => /lib/i686/libc.so.6 (0x40084000)
> 	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
>
> Any ideas? More information required?

I found some hints from people having similar problems. They suggest using 
db_dump185 and db_load to convert the db files. My problem is:

% db_dump185 nodes.user
db_dump185: nodes.user: Invalid argument

We're now going to try to dump the dbs using a system with redhat 6.2 
installed...


     Richard




More information about the Python-list mailing list