If there is a problem booting the workstation, there are a couple of places you can look for errors:
/var/log/messages
- Lots of useful
messages appear here./var/log/secure
- If tcpwrappers are
enabled, you may see some messages here./var/log/xdm-error.log
- If you get
past the kernel booting, and X has a problem showing the
login screen, messages may be logged here.The workstation console (I know this seems
obvious, but...)
The full error is:
NE*0000 ethercard probe at 0x300 failed to detect IRQ line
which will cause another error after the kernel has been loaded:
IP-config NO network devices available
Root-NFS NO NFS server available giving up
VFS: Unable to mount root fs via NFS, trying floppy
VFS: cannot open root device 02:00
PANIC VFS unable to mount root fs on 02:00
This usually indicates an IRQ conflict between the network
card and another device in the system. Try removing the other
cards, leaving only the netwrk and video card.
NE2000 base 0x0300, addr XX:XX:XX:XX:XX:XX Searching for server (BOOTP)... <sleep> <sleep>This indicates that the workstation is unable to find a bootp server. Check the following:
/etc/hosts.allow
and
/etc/hosts.deny
files,
then you need to make sure you have the following entry for
bootpd:
bootpd: 0.0.0.0
The 0.0.0.0
entry is the address in the
bootp request. This address is used during the reqeust,
because the workstation doesn't have it's address yet.
Check the following:
/etc/bootptab
or /etc/dhpcd.conf
file. Make sure the
following entries are set:
hd=/tftpboot/lts
bf=kernel
where
kernel is the name of the kernel that matches
the type of network card in the workstation. Such
as vmlinuz.ne2000
or
vmlinuz.rtl8139
./tftpboot/lts
directory.
My IP 192.168.0.4, Server IP 192.168.0.254, GW IP 192.168.0.254
Loading /tftpboot/lts/vmlinuz.ne2000... <sleep>
<sleep>
<sleep>
tftpd may be inhibited from running, due to tcpwrappers. If you
have enabled tcpwrappers, by setting up the
/etc/hosts.allow
and
/etc/hosts.deny
files, then you need to make sure
you have the following entry for tftpd:
in.tftpd: 192.168.0.
This will allow tftp access to all workstations in the 192.168.0.0
class-C.This can happen if you have multiple Ethernet interfaces installed on the server, or if have aliased IP address.
You can overcome this problem by adding a next-server 192.168.0.254; parameter to the /etc/dhcpd.conf file.
Errno 13 followed by Panic. This indicates a permission problem for NFS. It may be caused by the following:
/etc/hosts
or in the DNS tables./etc/exports
file MUST contain an entry for the
/tftpboot/lts/ltsroot
directory.
/tftpboot/lts/ltsroot 192.168.0.0/255.255.255.0(ro,no_root_squash)The IP address MUST match the local network.
exportfs -ra
to tell the kernel that the exports
file has changed. Or, you may want to try restarting
NFS and portmapper, using the following commands:
/etc/rc.d/init.d/nfs stop
/etc/rc.d/init.d/portmap stop
/etc/rc.d/init.d/portmap start
/etc/rc.d/init.d/nfs start
ntsysv
on the server and make sure that 'nfs' is checked. If it isn't, then
enable it and reboot the server to bring it up.
During boot, the workstation displays:
Looking up port of RPC 100003/2 on 192.168.0.254
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 192.168.0.254
Root-NFS: Unable to get mountd port number from server, using default
mount: RPC call returned error 111
RPC: task of released request still queued!
RPC: (task is on xprt_pending)
Root-NFS: Server returned error -111 while mounting /tftpboot/lts/ltsroot
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device 02:00
Kernel panic: VFS: Unable to mount root fs on 02:00
This is most likely caused because of tcpwrappers being enabled.
If you are using tcpwrappers, You will need to add an entry
to the /etc/hosts.allow
file, such as this:
portmap: 192.168.0.
This will allow portmapper access to all workstations in
the 192.168.0.0 class-C.
During boot, the workstation displays:
INIT: cannot execute "/etc/rc.local"
INIT: Entering runlevel: 5
/tmp/start_ws: /tmp/start_ws: No such file or directory
/tmp/start_ws: /tmp/start_ws: No such file or directory
/tmp/start_ws: /tmp/start_ws: No such file or directory
/tmp/start_ws: /tmp/start_ws: No such file or directory
/tmp/start_ws: /tmp/start_ws: No such file or directory
This is probably caused by incorrect permissions on the
/tftpboot/lts/ltsroot/etc/rc.local script. There is a bug
in lts_core-1.02 that sets up the rc.local script with the
incorrect permissions. It should be "-rwxr-xr-x"
.
You can either change the permissions by doing:
chmod 0755 /tftpboot/lts/ltsroot/etc/rc.local
Or upgrade to lts_core-1.03.
This is caused by problems with the Glibc that ships with Redhat 7.0. You need to upgrade to at least Glibc 2.2-5. It's available on Redhat's ftp site. Make sure you install the i386 version. Once you have upgraded glibc, you will need to re-install LTSP so that it picks up the correct libs.
The full error is:
Fatal server error:
XDMCP fatal error: Manager unwilling Host unwilling
when reporting a problem related to a server crash, please send
the full server output, not just the last messages
INIT: Id "2" respawning too fast: disabled for 5 minutes
INIT: no more processes left in this runlevel
This is usually caused by an entry missing from the
/etc/X11/xdm/Xaccess
file. This file controls which
machines can connect to the server via XDM. The trick is to add
a line that starts with an Asterisk '*'. On Redhat 6.0, this line
already existed, but on Redhat 6.1, the line was commented out.
Look for a line that looks like:
# * #any host can get a login window
and remove the hash '#' sign at the beginning of the line. Then,
you need to restart xdm by sending the SIGHUP signal to it.
killall -HUP xdm
There are lots of things that can go wrong with X, here are some of them:
/etc/rc.d/init.d/xfs
file./etc/X11/fs/config
file./tftpboot/lts/ltsroot/etc/inittab
file
so that the shell line looks like:
1:35:respawn:/bin/sh
Then, after starting the workstation, you should be able
to press CTRL-ALT-F1
to get to the screen
where the X startup messages should appear.
CTRL-ALT-F2
should get you back to the
X-Windows screen./tftpboot/lts/ltsroot/etc/rc.local
file.
This is the script that runs to generate the
XF86Config
file as the workstation boots.
If you can connect the monitor to the server and run
Xconfigurator
, you might be able to copy
the relevant portions of the
/etc/X11/XF86Config
file it generates
into the rc.local script.
This indicates a possible problem with the workstation communicating with xdm on the server. Check the following:
DisplayManager.requestPort
entry.XDM_SERVER
entry in the
/tftpboot/lts/ltsroot/etc/lts.conf
file. It
must be set to the address of the server.
After changing the /etc/rc.d/init.d/xfs
, you
also need to change the server's
/etc/X11/XF86Config
file.
The following messages appear on the server:
fh_verify: dev/tty2 permission failure, acc=8, error=30 fh_verify: dev/tty0 permission failure, acc=8, error=30This happens because the X server is trying to change the ownership and group of the /dev/tty2 and /dev/tty0 device nodes. The root filesystem is mounted readonly, so it can't change the ownership. The X server doesn't really need to change it, because the ownership is already correct. There are updated X servers on the ltsp.org download page that will correct this problem.
If the server is set for runlevel 5, it is supposed to bring up the graphical login prompt when the server is booted.
The installation procedure of LTS Version 1.0 mistakenly
commented out the line in the
/etc/X11/xdm/Xservers
file. The line should
looks like:
:0 local /usr/X11R6/bin/X
Make sure the entry is NOT commented out.
This has been fixed in LTS version 1.01.
If you still can't get the workstation going, please use the discuss mailing list at ltsp.org to report your problems. There are several people who can help and I try to keep a close eye on that list.