echo off echo filename: sigma2-recovery.bat - ppy-2004.06.30 echo This is an interim recovery procedure, echo to be used when SIGMA2 returns a "Database Not Found" error echo echo First, shut down Tomcat pause echo Second, restore the ..\KBs\config.txt file, by pressing the "return" key now pause attrib -r "c:\Program Files\Apache Tomcat 4.0\KBs\config.txt" copy "c:\Program Files\Apache Tomcat 4.0\KBs\config.txt_20040704" "c:\Program Files\Apache Tomcat 4.0\KBs\config.txt" attrib +r "c:\Program Files\Apache Tomcat 4.0\KBs\config.txt" echo Third, restart Tomcat again now pause echo Finally, wait a couple of minute, and then test the system out echo by pointing your browser to: http://sigma2.cim3.net:8080/sigma/login.html echo use-- username=user ... password=user echo note that the first time SIGMA-kee is loaded, it may take up to several minutes pause echo If it is working properly again, Congratulations pause echo If not, please email echo adampease@earthlink.net and peter_yim@cim3.com echo to report the problem pause echo Press return to exit pause exit