[mapserver-dev] Fwd: [mapserver/mapcache] Berkeley DB - BDB0058 illegal page type or format (#226)

Jeff McKenna jmckenna at gatewaygeomatics.com
Fri Feb 7 08:10:07 PST 2020


BerkeleyDB as a backend is more popular that we realize (users seem to 
like how portable BerkeleyDB and SQLite are) - I know this because MS4W 
supports both as a backend for MapCache users.  I did once see an error 
with 'page size', but this seems to be different than 'illegal page 
type'.   I'll keep an eye open for this now...   -jeff



On 2020-02-07 11:51 a.m., Steve Lime wrote:
> Probably need information on the versions of everything MapCache, OS and 
> especially BDB. This is the first issue I can recall seeing related to 
> BDB although I'm not sure how popular it is as a backend.
> 
> On Fri, Feb 7, 2020 at 1:15 AM Jérome Boué <jbo-ads at laposte.net 
> <mailto:jbo-ads at laposte.net>> wrote:
> 
>     Hi,
> 
>     Has somebody any clue on this issue? I am not familiar with Berkeley DB.
> 
>     Jérome.
> 
> 
> 
>     -------- Forwarded Message --------
>     Subject: 	[mapserver/mapcache] Berkeley DB - BDB0058 illegal page
>     type or format (#226)
>     Date: 	Mon, 03 Feb 2020 02:02:59 -0800
>     From: 	asteinereurofunk <notifications at github.com>
>     <mailto:notifications at github.com>
>     Reply-To: 	mapserver/mapcache
>     <reply+AIZNBQGCLNNXIU6SCHKWGUV4IURFHEVBNHHCCUJ7PU at reply.github.com>
>     <mailto:reply+AIZNBQGCLNNXIU6SCHKWGUV4IURFHEVBNHHCCUJ7PU at reply.github.com>
> 
>     To: 	mapserver/mapcache <mapcache at noreply.github.com>
>     <mailto:mapcache at noreply.github.com>
>     CC: 	Subscribed <subscribed at noreply.github.com>
>     <mailto:subscribed at noreply.github.com>
> 
> 
> 
>     Hello, I have a problem when seeding into a Berkeley DB Cache:
>     The following error occours:
> 
>     *seeded 960 tiles, now at z18 x1032 y68
>     BDB0058 page 696120: illegal page type or format
>     BDB0061 PANIC: Invalid argument
>     BDB0060 PANIC: fatal region error detected; run recovery
>     BDB1581 File handles still open at environment close
>     BDB1582 Open file handle: /tmp/mapcache/OSM/__db.001
>     BDB1582 Open file handle: /tmp/mapcache/OSM/__db.002
>     BDB1582 Open file handle: /tmp/mapcache/OSM/__db.003
>     BDB1582 Open file handle: /tmp/mapcache/OSM/OSM.db
>     BDB0060 PANIC: fatal region error detected; run recovery
>     BDB0060 PANIC: fatal region error detected; run recovery
>     BDB0060 PANIC: fatal region error detected; run recovery
>     BDB1581 File handles still open at environment close
>     BDB1582 Open file handle: /tmp/mapcache/OSM/__db.001
>     BDB1582 Open file handle: /tmp/mapcache/OSM/__db.002
>     BDB1582 Open file handle: /tmp/mapcache/OSM/__db.003
>     BDB1582 Open file handle: /tmp/mapcache/OSM/OSM.db
>     BDB0060 PANIC: fatal region error detected; run recovery
>     failed to seed tile z18,x1020,y68:
>     dbd backend failed on tile_multiset: BDB0087 DB_RUNRECOVERY: Fatal
>     error, run database recovery*
> 
>     After I stopped the seeding process I deleted the temp files
>     (__db.00x). Then I watched the WMS source with QGIS. When I look at
>     a not seeded tile, mapcache is seeding it successfully and the cache
>     is getting bigger.
>     Then start the seeding process again and after some tiles the error
>     : *BDB0058 page 696120: illegal page type or format* occurs again.
>     Restarting Mapcache doesnt help.
> 
>>     You are receiving this because you are subscribed to this thread.
>     Reply to this email directly, view it on GitHub
>     <https://github.com/mapserver/mapcache/issues/226?email_source=notifications&email_token=AIZNBQATBIVYKK35TMHKGI3RA7TVHA5CNFSM4KPCI3G2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IKRH56Q>,
>     or unsubscribe
>     <https://github.com/notifications/unsubscribe-auth/AIZNBQHCNB2LN3AER7MKTODRA7TVHANCNFSM4KPCI3GQ>.
> 
>     _______________________________________________
>     mapserver-dev mailing list
>     mapserver-dev at lists.osgeo.org <mailto:mapserver-dev at lists.osgeo.org>
>     https://lists.osgeo.org/mailman/listinfo/mapserver-dev
> 
> 
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-dev
> 


-- 
Jeff McKenna
MapServer Consulting and Training Services
https://gatewaygeomatics.com/


More information about the mapserver-dev mailing list