Hi,
> I'm running MG 2.5 on Window server 2008 with .NET installation and > everything was running smoothly. I turned the Mapguide Service off to do > an > update to an MS Access database that is linked to it and then the service > will not restart. All I get is the error below. The Access database was > just a front end change so I can't see how this would affect Mapguide. > Could something have gone wrong if it was trying to do something when I > switched the service off? Is there any way back from this as I don't have > a > backup? > Has Mapguide service shut down properly or killed? Mapguide resources are kept in a couple of BerkeleyDB dbxml First of all I suggest you to backup MgLibraryResourceContents.dbxml and MgLibraryResourceHeaders.dbxml (the directory is mapguide\server\Repositories\Libraries) and put original copies in a safe place. In this way if something go wrong trying to recover, you can restart from original files. Then you can try to use BerkeleyDB utilities inside directory mapguide\server\bin (from a dos prompt) Sometimes dumping the content and reloading the dbxml file solves the problem. db_dump -f content MgLibraryResourceContents.dbxml db_load -f content MgLibraryResourceContents_new.dbxml The obtained file is usually a bit smaller than original one. You can try to put this new file MgLibraryResourceContents_new.dbxml in mapguide\server\Repositories\Libraries renaming it to MgLibraryResourceContents.dbxml and see if server starts. If it starts, be sure to double check that the repository contains all the resources (layers, maps and so on) If this does not resolve you can try to use db_recover utility (you need also to copy all log.000000xxx files in the directory where you put the dbxml to be recovered) and try to start with the recovered version. Again, if it starts, be sure to double check that the repository contains all the resources. You can find the documentation (even if mapguide version od berkeleydb is older) at: http://docs.oracle.com/cd/E17276_01/html/api_reference/C/db_dump.html http://docs.oracle.com/cd/E17276_01/html/api_reference/C/db_load.html http://docs.oracle.com/cd/E17275_01/html/api_reference/C/db_recover.html Regards, Gabriele Monfardini
_______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users