Installation guide

Chapter 37. Troubleshooting the Xen para-virtualized drivers
This chapter deals with issues you may encounter with Xen hosts and fully virtualized Red Hat
Enterprise Linux guests using the para-virtualized drivers.
37.1. Red Hat Ent erprise Linux 5 Virt ualizat ion log file and direct ories
Red Hat En t erp rise Lin u x 5 Virt ualiz at io n relat ed log f ile
In Red Hat Enterprise Linux 5, the log file written by the xend daemon and the qemu-dm process are
all kept in the following directories:
/var/log/xen/
directory holding all log file generated by the xend daemon and qemu-dm process.
xend.log
This logfile is used by xend to log any events generate by either normal system events or
operator initiated events.
virtual machine operations such as create, shutdown, destroy etc are all logged in this
logfile.
Usually this logfile will be the first place to look at in the event of a problem. In many
cases you will be able to identify the root cause by scanning the logfile and review the
entries logged just prior to the actual error message.
xend-debug.log
Records error events from xend and its subsystems (from the framebuffer and Python
scripts)
xen-hotplug.log
Logs events from hotplug events.
Event notifications from devices not coming online or network bridges not online are
logged in this file.
qemu-dm.PID.log
This file is created by the qemu-dm process which is started for each fully virtualized
guest.
The PID is replaced with the PID of the process of the related qemu-dm process
You can retrieve the PID for a given qemu-dm process using the ps command and in
looking at the process arguments you can identify the virtual machine the qemu-dm
process belongs to.
If you are troubleshooting a problem with the virt - man ag er application you can also review the
logfile generated by it. The logfile for virt - man ag er will be in a directory called .virt-manager in
the user's home directory whom ran virt -man ag er. This directory will usually be ~/.virt-
manager/virt-manager.
Red Hat En t erp rise Lin ux 5 Virt ualizat ion Guid e
350