[mapguide-users] Site corrupt - MG Server fails to start

Bruce Dechant bruce.dechant at autodesk.com
Mon Nov 20 16:07:36 EST 2006


The files might not actually be corrupt, but may have not been closed
properly (example: due to power outage). When the server starts it tries
to "clean up" the repositories using the generated log files. Under
certain circumstances this can take longer then the Windows Service
Control Manager allows for a service starting up. The thing to do in
this case is to not run the server as a service and instead run it
interactively as an application to give the server time to cleanup the
repository. Once the repository has been cleaned up you can stop the
server application and restart it as a service. Note: that you should
not have to do this under normal operating conditions.

 

Bruce

 

  _____  

From: Jason Birch [mailto:Jason.Birch at nanaimo.ca] 
Sent: November 18, 2006 9:41 PM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] Site corrupt - MG Server fails to start

 

Good cautionary tale.

 

If anyone is not backing up their repositories, they should strongly
consider it.  I haven't seen any problems yet, but the repositories are
file-based and are subject to corruption in the case of interrupted
writes, etc.

 

There is a RepositoryAdmin directory in the Server installation that
contains some utilities for doing this, and instructions.  You can find
a copy of the isntructions here:

 

https://mapguide.osgeo.org/source/browse/*checkout*/mapguide/trunk/MgDev
/Server/RepositoryAdmin/MgOpenSourceRepositoryAdmin.pdf

 

Hmm.  It would be nice if we could leverage an RDBMS data store to store
the repository info.  This would kinda break the managed data idea, but
it would eliminate the load balancing problems around session access.  I
don't really like storing my data with the site configuration info
anyway :)

 

Jason

 

  _____  

From: Andy Morsell
Sent: Sat 2006-11-18 12:14 PM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] Site corrupt - MG Server fails to start

I have no idea how this happened, but it is rather disconcerting.
Luckily it was only the Site data that was a problem and that my Library
seems to be fine. Otherwise I would be reaching into my backups to
restore from.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20061120/d4f56b0c/attachment.html


More information about the Mapguide-users mailing list