Troubleshooting Clients
If your LinMin Server is hosted on an VMware hypervisor, ensure that NAT and DHCP are disabled on the hypervisor.
Note: if running in a VMware Virtual Machine, due to host hypervisor caching issues, it is not recommended that you use MAC-Independent provisioning then MAC-Specific provisioning for the same Client (same MAC address). If you are setting up an environment to become familiar with the LinMin Server:
1) Take a snapshot of the system immediately after installation
2) Become familiar with MAC-Independent (rarely used in production, but provides a quick way to verify network connectivity and to become familiar with basic provisioning operations)
3) When ready to start the Proof of Concept or start production use, revert to the prior snapshot
4) Start using MAC-Specific Provisioning
Note: Windows Server 2008 R2 contains additional drivers not found in Windows Server 2008 (non-R2). If you provisioning of non-R2 fails, then try provisioning Windows Server 2008 R2.
Client System Can't Find the LinMin Server
The single most common error while provisioning or imaging is that the Client system cannot communicate with the LinMin Server, most often due to network configuration issues, as the Client's PXE request doesn't reach the LinMin Server.
# tail -n12 /var/log/messages May 17 14:05:40 baremetal dhcpd: Wrote 7 leases to leases file. May 17 14:05:40 baremetal dhcpd: Listening on LPF/eth0/00:50:56:00:00:bb/192.168.0/24 May 17 14:05:40 baremetal dhcpd: Sending on LPF/eth0/00:50:56:00:00:bb/192.168.0/24 May 17 14:05:40 baremetal dhcpd: Sending on Socket/fallback/fallback-net May 17 14:05:47 baremetal dhcpd: DHCPDISCOVER from 00:0c:29:82:bb:62 via eth0 May 17 14:05:47 baremetal dhcpd: DHCPOFFER on 192.168.0.161 to 00:0c:29:82:bb:62 via eth0 May 17 14:05:47 baremetal dhcpd: Dynamic and static leases present for 192.168.0.161. May 17 14:05:47 baremetal dhcpd: Remove host declaration 00-0c-29-82-bb-62 or remove 192.168.0.161 May 17 14:05:47 baremetal dhcpd: from the dynamic address pool for 192.168.0/24 May 17 14:05:47 baremetal dhcpd: DHCPREQUEST for 192.168.0.161 (192.168.0.233) from 00:0c:29:82:bb:62 via eth0 May 17 14:05:47 baremetal dhcpd: DHCPACK on 192.168.0.161 to 00:0c:29:82:bb:62 via eth0 May 31 09:20:19 baremetal kernel: VMCIUtil: Updating context id from 0x9816be49 to 0x9816be49 on event 0.
In the example above, you can clearly see that the Client system (MAC address 00:0c:29:82:bb:62) reached the LinMin Server and that the LinMin Server started servicing the Client system.
At any time, you can get the messages log entries for a Client based on its MAC address. For example, using the MAC address above: Search for the MAC in the current log file: # grep '00:0c:29:82:bb:62' /var/log/messages May 17 14:03:01 baremetal dhcpd: DHCPDISCOVER from 00:0c:29:82:bb:62 via eth0 May 17 14:03:03 baremetal dhcpd: DHCPREQUEST for 192.168.0.155 (192.168.0.233) from 00:0c:29:82:bb:62 via eth0: May 17 14:03:03 baremetal dhcpd: DHCPNAK on 192.168.0.155 to 00:0c:29:82:bb:62 via eth0 May 17 14:05:22 baremetal dhcpd: DHCPDISCOVER from 00:0c:29:82:bb:62 via eth0 May 17 14:05:22 baremetal dhcpd: DHCPOFFER on 192.168.0.161 to 00:0c:29:82:bb:62 via eth0
Search for the MAC in all logs (note the asterisk): # grep '00:0c:29:82:bb:62' /var/log/messages* # grep '00:0c:29:82:bb:62' /var/log/messages | grep 'DHCP'
If you do not see the MAC address of the Client to be provisioned or imaged in this log file, you must resolve the networking configuration. Customer Support cannot help you with your network configuration/topology. |
Provisioning Does Not Begin on Client System
Premise: The client's Role on the LinMin Server has an incorrect MAC address. Solution: Edit the client's provision profile, and ensure that the MAC address is correct.
Premise: The client cannot find the live, authoritative (non-LinMin Server) DHCP server running on the subnet. Solution: Make sure that your live (non-LinMin Server) DHCP is installed, properly configured and running. Read more about co-existing with your live (non-LinMin Server) DHCP server. Make sure that the LinMin Server's firewall ports are opened as required. Make sure that you don’t have another active LinMin Server on the same subnet. Confirm your LinMin Server is receiving the Client's PXE request: capture activity on ports 67 & 69. |
Provisioning does not complete on the Client system: is your ISO bootable?
Should the provisioning event begin but fails to complete (e.g., it freezes), make sure that your ISO is bootable on the Client system:
|
MAC-Independent Provisioning works for some, but not all, Distros and OSs
Premise: You have not assigned the correct boot/install option for the the Role that fails to provision. Solution: Assign the correct boot/install option for each OS as follows:
|
After provisioning a Linux client, the client GUI doesn't start
Solution: Log in to the client's terminal, and as root user, type the following command: startx
Note: certain Linux distros provisioned by the LinMin Server do not include X-Windows and a desktop by design (e.g., Debian, Ubuntu Server, Fedora 13) |
Premise: A step in the Debian setup was missed. Solution: Read on Access the Debian Distribution Media. Creating the symbolic link with the following two commands is particularly important. cd /home/tftpboot/pub/debian/dists ln -s etch stable
Premise: The Client does not have Internet access to reach a repository Solution: Provision a non-Debian/non-Ubuntu to the Client, or deploy Debian Rescue, and ensure that the Client has Internet access. |
When provisioning Debian or Ubuntu, a popup box states "Bad Archive Mirror"
Premise: The client did not have access to a public (Internet) or local repository. Solution: Ensure your client has Internet access or access to a local repository |
When provisioning Debian or Ubuntu, a popup box for language selection appears
Premise: The language option was not set while performing the Debian Install Option Configuration. Solution: Ensure that you have entered the proper kernel parameters Add the following string to the text entry box beside Enter additional kernel parameters: languagechooser/language-name=English or <your_language> |
When Provisioning Debian or Ubuntu a Pop-Up Box Asks How to Partition Disks
The following error message may appear:
This may indicated that you are provisioning an IDE ("hda") drive using a preseed.cfg that has SATA ("sda") drive as the default. Change the "part-man" command from "sda" to hda" (or vice-versa).
|
The client UI displays “PXE-M0F: Exiting Intel Boot Agent” then hangs, does not boot from HD
Premise: there was a PXE timing error (this network anomaly happens occasionally) Solution: reboot the client system and boot to the network (more than once if necessary) Note: certain NIC cards retain the IP address of the previous system they did a PXE boot to. In this case, one must boot to the network 2 to 3 times to clear the prior IP address.
Premise: Cable connected to the incorrect network adapter Solution: Try plugging your CAT cable into another network port on the Client
Premise: The BIOS cannot find the HD that it is supposed to boot from Solution 1: Obtain a BIOS FLASH update from the manufacturer Solution 2: When using “Always boot from the network first” because you are letting the LinMin Server business rules decide whether a system is to be provisioned, imaged or booted from local HD, ensure the boot sequence is network, ATAPI, floppy, hard drive Solution 3: If have configured your system to boot from the network last, the boot sequence should be ATAPI, floppy, hard drive, network
Premise: Bad network cable Solution 1: Replace the network cable and retry |
The Red Hat-based (Red Hat, Fedora, CentOS, Asianux) client system being provisioned interrupts the provisioning process and displays a message similar to: unable to retrieve http://10.7.1.23//tftpboot/pub/rhel5_3_x86_64/image/stage2.img
For Ubuntu-based distributions, a similar type of message can occur: Failed to retrieve the pre-configuration file http://10.0.15.21/tftpboot/controlfiles/001a4d681b55.cfg The installation will proceed in non-automated mode.
These errors can be caused by many situations that can be very difficult to isolate. A useful free tool used to analyze the network during provisioning is available from http://www.wireshark.org/ (We recommend this tool and may offer support in selected situations on an hourly consulting fee basis.)
Common causes and remedies experienced by LinMin and its customers include:
|