Restore Audit Services HSQL database to shipping state

Restore Audit Services HSQL database to shipping state

Prerequisite:

Unified Workspace is still configured to use the shipping "demo" HSQL database for Audit Services.


Issue:

webNetwork service will not finish starting.  The /stoneware/config/webNetworkTrace.log startup log file shows UW is getting stuck at starting the Audit Service.


Solution:

Restore the the Audit Services HSQL database to a clean shipping state.**

  1. Shutdown the webNetwork service on your server.

  2. Delete, or move elsewhere, the following 4 files:
    /stoneware/hsql/audit.backup
    /stoneware/hsql/audit.data
    /stoneware/hsql/audit.properties
    /stoneware/hsql/audit.script

  3. Copy the following 4 files from the /stoneware/hsql/orig/ folder:

    /stoneware/hsql/orig/audit.backup
    /stoneware/hsql/orig/audit.data
    /stoneware/hsql/orig/audit.properties
    /stoneware/hsql/orig/audit.script


    To the /stoneware/hsql/ folder:

    /stoneware/hsql/audit.backup
    /stoneware/hsql/audit.data
    /stoneware/hsql/audit.properties
    /stoneware/hsql/audit.script


  4. Start the webNetwork service up again.

**This puts a clean, out-of-the-box, audit database in place.  You will loose all information that was contained in the previous Audit database files.

It is best to then consider moving to an Enterprise level SQL server, such as mySQL or MS SQL, to prevent this from happening again in the future.

    Can't find the KB

    Unable to find the KB to address your issue ?  

      • Recent Articles

      • Lenovo Unified Workspace End-of-Life Questions and Answers

        Will the shutdown of LUW servers and access to downloads affect my server licensing? No, the shutdown of the customer servers and access to the product and licensing downloads will not affect your server licensing. This license is downloaded and ...
      • How do I determine my Unified Workspace license expiration date?

        The best method for determining the licensing information including the expiration date of your Unified Workspace license: Login to your 8090 management console on each server This may take remoting into each LUW server and relay, opening a browser, ...
      • Lenovo Unified Workspace 7.0.2.13 Released

        Highlights of Unified Workspace 7.0.2.13 Before you install: Please view the installation notes here. 7.0.2.13 requires a 7.0 license file. Below is a list of enhancements and fixes released in Unified Workspace 7.0.2.13 Fixed external storage ...
      • LanSchool Documentation Guides

        LanSchool Classic Teacher Console The LanSchool Teacher Console is the interface teachers will use to manage their classroom and students. It contains all the tools necessary for a teacher to effectively interact with students and create a ...
      • Lenovo Unified Workspace 7.0.1.41 Released

        Highlights of Unified Workspace 7.0.1.41 Before you install: Please view the installation notes here. 7.0.1.41 requires a 7.0 license file. Below is a list of enhancements and fixes for Unified Workspace 7.0.1.41 Updated Log4j Updated Java Updated ...
      • Related Articles

      • HSQL database driver updated in Unified Workspace

        As of Unified Workspace 6.3.1.x, the driver used to communicate with the built-in HSQL databases is being updated. This update changes the delimiter used when storing the information.  If you are using HSQL for anything other than webStore (which ...
      • Data Recorded in the Audit Database

        Issue Customer would like to build reports to view specific information logged by UW, that is not available from Analytics.  What additional information is logged in the Audit Database? Solution There is quite a bit more information recorded into the ...
      • Potential issues with HSQL database during upgrades

        With the release if 6.3.1.x and higher the HSQL database was updated.  This upgrade requires us to check each of your HSQL database files in \stoneware\hsql and upgrade the format to a newer storage method. It does this by reading the data from each ...
      • Move database logging to SQL server.

        Changing / migrating the Logging Database from HSQL to MySQL , MSSQL. By default, the Stoneware Relay logs all transactions to a Java database called HyperSonic SQL. This database is installed as part of the portal installation and automatically ...
      • Database Pooling

        Issue The way UW connects to a Database to run queries, it uses a single connection for each DB object created.  Thus if you have multiple queries that are run against that connection, they are processed in order, one at a time.  A very long query ...