‘Warning: timed out waiting for NIS‘ happened to a machine that have been configured as a NIS client. The warning occurred when there is a problem reaching a NIS server. The machine will keep looking for NIS server and when the machine has exceeded the time out, the system will hang indefinitely when booting.
Warning: timed out waiting for NIS to come up
1. Go to ok prompt (STOP+A) and boot the system into single user mode.
ok boot -s
2. Temporarily disable RPC services.
# mv /etc/rc2.d/S71rpc /etc/rc2.d/NOS71rpc
3. Type exit and the system will continue to boot multi user mode.
4. Troubleshoot and once you determine the problem, start and reenable the NIS service.
# /etc/init.d/rpc start # mv /etc/rc2.d/NOS71rpc /etc/rc2.d/S71rpc