Q: The commands w and netstat return "no namelist" on a netbooted client. What's going on?
A: The w command prints a summary of the current activity on the system, including what each user is doing, The netstat command symbolically displays the contents of various network-related data structures. Both of those commands examine the system namelist kept in the file /mach (the kernel). The kernel namelist contains the current system addresses. On a netbooted client, /mach references the path /clients/client/tftpboot/mach. If this file is not present, any command that uses the kernel's namelist cannot complete successfully and returns a "no namelist" error.
To fix the problem, make a symbolic link to the kernel like this:
| On the netboot server, launch the Terminal application as root | |
| Run the following command: |
server#ln -s /sdmach /clients/client/tftpboot/mach
where client is the name of your netbooted client.
w and netstat now return the correct data on your netbooted client. You need to repeat this procedure for each netbooted client.
This only applies if the netboot server and client are running the same version of the OS, on the same hardware architecture.
QA533
Valid for 1.0, 2.0, 3.0, 3.1