Running the Pack Tool Utility

As part of a regular administrative procedure, run the Pack Tool utility to defragment and reclaim unused space within tables and memo files that the Advantage Database Server® (ADS) data file uses. This will ensure that Unwired Server continues to run in the proper state.

Prerequisites
Ensure that you have sufficient free disk space for the packing process. The free disk space must be at least the size of the largest table in UnwiredPlatform_InstallDir\UnwiredPlatform\Servers\MessagingServer\Data\OBR, including the sum of all three table files with the extensions .adt, .adi, and .adm, Not all tables have corresponding .adi and .adm files.
Task
  1. Make a backup of your ADS database files.
  2. Stop all Sybase Unwired Platform services except the Advantage Database Server service.
    In a clustered installation, manually stop the Unwired Server service on all cluster nodes.
  3. Open a command prompt window.
    If you are running Vista, Windows 7, or Windows 2008, make sure you run the command prompt as the Administrator.
  4. Run packtool.exe, with no arguments, from UnwiredPlatform_InstallDir\UnwiredPlatform\Servers\MessagingServer\Bin.
    This is the same server in which Unwired Server is installed in single node environments.
After running packtool.exe, a new log file is created in UnwiredPlatform_InstallDir\UnwiredPlatform\Servers\MessagingServer\Bin in the format PackTool_yyyyMMddTHHmmss.log.
Important: In a clustered environment, you must use the latest version of the packtool.exe utility. Contact Technical Support, or use the utility shipped with Sybase Unwired Platform 2.1 ESD #2 or later.