This is meant to be a list of basic troubleshooting tips for Live Upgrade. It is a work in progress.

#1 and #2 Troubleshooting Tips!

  1. Patch up to the most recent version of 121430 (SPARC) or 121431 (X86) before running any command that starts with “lu”
  2. Incorrect syntax or an old buggy lu operation can leave the configuration in a bad state and cause lu commands to fail, even ludelete. Clean up the configuration and start fresh!
    rm -f /etc/lutab
    rm -f /etc/lu/.BE_CONFIG
    rm -f /etc/lu/ICF.*

Helpful links:

Debugging & Helpful files: (in addition to Sun Explorer)

  1. First, change the following lines in /etc/default/lu
    LU_DEBUG=0              >>  LU_DEBUG=10
    LU_SESSION_LOG_FILE=""  >>  LU_SESSION_LOG_FILE="/etc/lu/sessionlog"
    LU_ERROR_LOG_FILE=""    >>  LU_ERROR_LOG_FILE="/etc/lu/errorlog"
  2. Capture the debugging output with /usr/bin/script. Most of the output doesn’t end up in that session log file. The session and error logs are most helpful for capturing what happens during the shutdown scripts.
  3. Grab the following:
    /etc/lu/ (entire directory)
    /etc/lutab
    /var/sadm/system/logs/upgrade_cleanup
    /var/sadm/system/logs/upgrade_log

Helpful commands:

  • # /etc/lib/lu/lubootdev -b
    Prints the PBE’s boot device as live upgrade sees it.
  • # eeprom boot-device new-boot-device
    SPARC – specifies a new system boot device. Without new-boot-device it prints the current one.

Error diagnosis:

…work in progress.