From UA Libraries Digital Services Planning and Documentation
Jump to: navigation, search

There are many layers to, and aspects of troubleshooting. What you need to look for may differ with what you're trying to solve. However, some basics considerations are common to all.

Examples of these are:

  1. Be calm and curious and sequential in your analysis (one step at a time). If you're upset or panicking, you'll overlook things and make mistakes.
  2. Trace back to where the first thing went wrong, and start there.
  3. Consider all the underlying assumptions that were made at that point: make a list if you need to; remember that multiple layers are working here (network, hardware, software libraries, databases, files, the BASH shell, etc.)
  4. Sequentially check out each assumption to verify it is valid in this case.
  5. Solve each problem one tiny step at a time, and test after each step. (Make sequential backups if you are changing scripts. Document what you've tried that worked and did NOT work, so you don't keep trying the same things over and over.)
  6. It may be that more than one thing is wrong; so don't stop testing when you solve something.
  7. If you get stuck, back off and leave it alone for awhile. Go do something else, and allow the other half of your brain to work on it. You'll be amazed when suddenly out of the blue, you're struck with a possible solution, or an idea to test something you didn't consider before.
  8. Having another set of eyes on the problem helps: two brains are better than one!

QC Troubleshooting

Here are some common problems you might encounter during the Quality Control process. If the QC script is giving you errors but you can't determine the problem, consider one of the following:

  • Check the number of digits in each section of the filename.
  • Check to see if the starting letter of the filename is a lowercase character.
  • Check to see if you have created items on both levels. Is there a single tiff with the same name as a multiple-tiff directory?
  • Check to see if the filenames of tiffs in a directory match the name of the directory.
  • If the filenames of an item are not consecutive, check to see if the filenames are incorrect or if there are rescans that need to be done.

MakeJpegs/MoveContent Troubleshooting

  1. Is the mount point down? (Network issues between the share drive and the libcontent server). If so, see Mount Points
  2. If this script uses the database, is MySQL down? (see MySQL) If so, contact OIT.
  3. Are you using the right script for this type of content?
  4. Check to see whether:
    1. files are where they are supposed to be (exactly)
    2. file names are correct (exactly)
    3. files have size zero
    4. files are in UTF-16 (which our Perl scripts are not set up to read) instead of UTF-8
    5. files contain exactly what they're supposed to contain and in the right order (examples: outdated or modified spreadsheet, missing/mixed up columns in log file, missing elements in collection xml file, extra spaces or newlines, etc.)
  5. Is there anything NEW about this content that we may not have scripted for?
  6. Has the script been changed since the last time we successfully ran it on content?
    1. If not, how is this content different from the last set of content it processed?
    2. If so, compare the current script to the last version and see what changed; it may need modifying. Test.
  7. Have any libraries or underlying software packages changed?
Personal tools