Child pages
  • Troubleshooting - 6.0

This space has moved to IU's Confluence.
It is located at https://uisapp2.iu.edu/confluence-prd/display/iulV3/

Skip to end of metadata
Go to start of metadata

Troubleshooting - 6.0

Contents

Required Processes

The following processes must be running for Variations to work.

Process

Log File

Command to Check

Authentication Server (at least one)

installation dependent

installation dependent

Darwin Streaming Server

 

 

Apache Web Server

 

 

MySQL Server

 

 

RMI Registry

/home/dmlserv/log/rmi_registry.log

bin/checkVariations.sh

Variations Logging Server

/home/dmlserv/log/ui_log_server.log

bin/checkVariations.sh

Variations Lease Manager (at least one)

/home/dmlserv/log/LeaseManager.log

bin/checkVariations.sh

Variations Server

/home/dmlserv/log/<YOUR_LIBRARY_NAME>.log

bin/checkVariations.sh

Required Cron Jobs

The following cron jobs must be running for Variations to work correctly.

Cron Job

Log

Desccription

updateKeywordIndex.sh

log/updateKeywordIndex.<YOUR_LIBRARY_NAME>.log

This cron job updates information used for keyword searches.

generateQTstats.pl
generateStats.pl

log/qtStats.log
log/stats.log

Generates Variations usage statistics

Logging Problems

The servers are not logging.

The logging configuration files may not have been created or have been created incorrectly. Check that the configuration file exists:

conf/server/logging/<YOUR_LIBRARY_NAME>.lcf

If it does not exist, you may be able to create it by going to conf/server/logging and executing the following commands:

cp EXAMPLE.lcf <YOUR_LIBRARY_NAME>.lcf

Then:

  • In the new file <YOUR_LIBRARY_NAME>.lcf, replace EXAMPLE with <YOUR_LIBRARY_NAME>

Version Errors

If you get version errors, it could be because the versions file for the server does not exist. The following file should exist:

conf/server/versions/<YOUR_LIBRARY_NAME>.versions

If the file does not exist, you may be able to create it using the following steps:

  • Go to directory conf/server/versions
  • Copy EXAMPLE.versions to <YOUR_LIBRARY_NAME>.versions

Cron Job Problems

  • Make sure that the file bin/crontab exists and does not contain EXAMPLE (which should have been replaced with <YOUR_LIBRARY_NAME>).
  • Make sure that you executed the crontab crontab command in the bin directory. To check this, check to see if the output from crontab -l matches the contents of the file bin/crontab.
  • Check to see that the script bin/cronRun.sh exists and is correct. It should have been created by the bin/initVariations.sh script. The script should look something like what is below (with JAVA_HOME and PATH set correctly for your system).
    #!/bin/sh 
     
    # This script is a wrapper that sets up the proper environment before 
    # running another script. Its purpose is to guarantee a useful 
    # Variations environment when running scripts from crontab.
     
    JAVA_HOME=/usr/java/jdk1.6.0_16
    export JAVA_HOME
     
    PATH=/usr/kerberos/bin:/usr/java/jdk1.6.0_16/bin:/usr/local/ant/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/dmlserv/bin
    export PATH
     
    umask u=rwx,g=rwx,o=rx 
     
    # Run the command 
    "$@" 
    
  • No labels