7.6 Troubleshooting and Monitoring

7.6.1 Installation Server

Access to installation repositories and control files via HTTP or HTTPS can be monitored in the Apache 2 log files. By default, these files are:

  • /var/log/apache2/access.log

  • /var/log/apache2/error.log

7.6.2 Server Being Installed

Installation Stage

The inspection of the server being installed can be done via a remote SSH session as described in Section 7.1, SSH-Based Installation.

Configuration files and temporary files involved in the AutoYaST process are located at two different places:

  • /tmp/profile

    Control files, configuration files, and the libraries of the Novell Consulting Installation Framework are found here.

  • /tmp/YaST-nnnnn-xxxxxx

    In the /tmp directory of the server being installed, there are at least three directories with a name starting with YaST followed by five random numbers and six alphanumerical characters, such as YaST-03200-AxfV0b.

    One of them contains a subdirectory pre-script that contains the script used in the pre-script stage of the installation. The same directory contains a log subdirectory that holds a log file for every pre-script.

These directories exist only during the installation stage. They are automatically deleted at the end of Stage 1.

All processes invoked by YaST are logged to /var/log/YaST/y2log. This file can be inspected during the installation stage as well as after the installation stage.

If the boot parameter loghost=<IP-Address of syslog server> is given at the boot prompt of the device being installed, all log files are redirected to the syslog server specified.

The log level can also be specified by using the loglevel=[0-10] boot parameter. Of course, the syslog server needs to be configured for remote logging.

Installed System

Information regarding aspects of the AutoYaST process can be found on a running system in the /var/adm/autoinstall directory. This directory contains the following subdirectories:

  • logs

    Contains a log file for every script that has been specified within the <scripts> tag.

  • scripts

    Contains the scripts themselves.

  • cache

    Contains the initial control file named pre-autoinst.xml and the final control file named installedSystem.xml.

  • files

    Contain all files provided via the <files> tag of the control file.