Sandstorm Enterprises® : PhoneSweep® Fixing Profiles
Sandstorm Enterprises®
PhoneSweep® Fixing Profiles

How to Fix a Corrupted PhoneSweep Profile

Sandstorm occasionally gets support calls involving unexpected MySQL errors. These errors will develop after PhoneSweep has been used successfully in the past on a computer, then suddenly and unexpectedly an error will occur either during a PhoneSweep scan or upon startup of the PhoneSweep application.

This document is designed to present a possible solution to fixing these corrupted profiles. All attempts will be made to make this process as simple as possible, so that the most inexperienced computer user will be able to follow these instructions to remedy the problem.

There are three segments to this web page:


Determining if you have a corrupted profile

Before following these steps, it is necessary to determine if this procedure is warranted. The best way to do this is to open PhoneSweep with a different, new profile. If PhoneSweep successfully opens and completes a scan with this new profile, but still won't successfully run with the profile in question, then the old profile is probably corrupt.

To open PhoneSweep with a new profile:

  1. Close the PhoneSweep application.
  2. Open an MS-DOS window.
    • This is normally found via the START menu, either directly under "Programs" or under "Programs -> Accessories". It may be called either "MS DOS window", "Command Prompt", or something similar.
  3. Traverse the directory structure to get to the main PhoneSweep directory.
    • This is by default in "C:\Program Files\Sandstorm\PhoneSweep\" but it might have been installed in a different location at your facility.
    • Type: cd c:\Program Files\Sandstorm\PhoneSweep
  4. Open PhoneSweep with a brand new profile. In this example, the new profile is called "brandnew".
    • type: phonesweep -newprofile brandnew
  5. PhoneSweep will open. Accept the license agreement, and confirm that PhoneSweep is at its main screen.
  6. Add one number to this profile, and scan the number.
  7. If this one number scans properly and then concludes normally, attempt to load your old "questionably corrupt" profile via the Setup -> Profiles tab. If the old profile still causes the error to occur, then your old profile is likely corrupt.

Attempt to fix the corrupted profile

Follow these steps to try to fix a profile that is corrupt.

  1. Close the PhoneSweep application.
  2. Open an MS-DOS window.
    • This is normally found via the START menu, either directly under "Programs" or under "Programs -> Accessories". It may be called either "MS DOS window", "Command Prompt", or something similar.
  3. Traverse the directory structure to get to the main PhoneSweep directory.
    • This is by default in "C:\Program Files\Sandstorm\PhoneSweep\" but it might have been installed in a different location at your facility.
    • Type: cd c:\Program Files\Sandstorm\PhoneSweep
  4. Type: dbfix
  5. You will get a numbered list of profiles. Type in the number of the profile you would like to recover.
  6. You will see many messages saying "fixing" and "recovering" scroll by, and then it will finally say "Done!".
  7. Close the MS-DOS window.
  8. Restart PhoneSweep, and try to read in the profile.

At this point if the profile loads it can be considered fixed.


Discarding a corrupt profile that cannot be fixed with DBFIX

If an error persists after running DBFIX on a profile and loading the profile into PhoneSweep, the profile was likely corrupted beyond repair, and should be discarded. To discard a profile:

  1. Open an MS-DOS window.
  2. Traverse the directory structure to get to the main PhoneSweep directory.
  3. Open PhoneSweep with a brand new profile. For this example, the new profile is called "brandnew".
    • type: phonesweep -newprofile brandnew
  4. Go to the "Setup -> Profiles" tab.
  5. Delete the corrupt profile.

Sandstorm's Products
Order / Get a Quote
Contact Us
Back to top
Sandstorm Enterprises develops
tools with sharp edges®
for information security professionals.
Site materials © 1998 - 2008 Sandstorm Enterprises, Inc. The Sandstorm logo®, LANWatch®, NetIntercept®, PhoneSweep®, Sandtrap®, TCP.demux™, Single Call Detect™, Tools with sharp edges®, Rapid Event Analysis™, and Sandstorm Enterprises® are all trademarks or registered trademarks of Sandstorm Enterprises, Inc.