Troubleshooting the boot process

If your boot process is hanging when trying to boot into multi user mode, you can try to troubleshoot the rc2 file in etc.

In the /etc/rc2 file you will need to place a set -x statement in this file, this will cause RC2 to run in debug mode.
Please set the following for an example of the syntax:

From this:
javalin 41 =>more /etc/rc2
#!/sbin/sh
#
# Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T.
# All rights reserved.

To:
javalin 42 =>more /etc/rc2
set -x
#!/sbin/sh
#
# Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T.
# All rights reserved.

What this will do is display each script in /etc/rc2.d as it executes during the boot process. You will need to pay close attention to see what the last script that started to execute was. The issue will reside in that script or the next script in /etc/rc2.d
So if the last thing you see is the S72inetsvc startup script they will need to look both S72inetsvc and the following script S72slpd or whatever it may be on your machine.
In order to get the system to boot into multiuser mode you will need to disable the script until they can find the error in the script. Please disable the script by renaming the script from a capital "S" to a lower case "s" so S72inetsvc would become s72inetsvc.
You can use the set -x debugging mode inside the script itself as well to determine when it attempts to start and fails.

You can put the set -x argument into the script that has the fault to attempt to see where in the script the hang is occuring.

Leave a Reply

Your email address will not be published. Required fields are marked *