Hi all,

Most of my applications run headless where on fairly rare occasions I run
into a couple of fairly minor errors, but ones which are difficult to
recover from, especially for an operator who has no idea what has gone wrong
other than the system just does not run.

The most common problem, and by most common, something that may happen once
every 3-6 months, is that the .var file will get deleted. 

My thought was to add an autorecover switch to the emc script which ideally
could do the following:

1> Do some simple tests on the integrity of the configuration, like seeing
if the .var file exists. If it does not, restore the .var file from the
backup .var file before running emc.

2> If emc still fails to start, try starting a backup configuration (i.e.
copy it to a new location, so that the original cannot be corrupted).
Ideally, there would be a means of notifying the operator that a backup
configuration is now running so some persistent information may have been
lost.

Any suggestions / ideas would be appreciated.

Regards,
Eric



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to