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

Bruce Dechant bruce.dechant at autodesk.com
Mon Nov 20 17:57:48 EST 2006


There is no service or application. As I said the need to do this is
very rare and most likely will not be needed.

 

If you are running the server as an application all you have to do is
look at the command line and once you see the text "Server started."
appear the repositories have been cleaned up.

 

Bruce

 

  _____  

From: Brad Nesom [mailto:kidsmake6 at msn.com] 
Sent: November 20, 2006 2:47 PM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] Site corrupt - MG Server fails to start

 

Is there a service or application that could be checked to see if the
cleanup is still running or completed?

 

  _____  

From: Bruce Dechant [mailto:bruce.dechant at autodesk.com] 
Sent: Monday, November 20, 2006 3:08 PM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] Site corrupt - MG Server fails to start

 

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/0be1cb53/attachment.html


More information about the Mapguide-users mailing list