Oracle
1Z0-580 · Question #29
You are working on a system that appears to be hanging during the boot process. Which would be the course of action for determining which step in the boot process is causing the issue?
The correct answer is B. Boot the system into the "none" milestone, enable all services, then run svcs -a to determine the. Booting a system using the none milestone can be very useful for debugging startup problems. There is no equivalent run level to the none milestone. If problems with starting services occur, sometimes a system will hang during the boot. This procedure shows how to troubleshoot…
Managing Services (SMF)
Question
You are working on a system that appears to be hanging during the boot process. Which would be the course of action for determining which step in the boot process is causing the issue?
Options
- ABoot the system into single user mode, run ps -ef to determine processes that are not running.
- BBoot the system into the "none" milestone, enable all services, then run svcs -a to determine the
- CBoot the system, disable all services using the "svcs disable all" command, reboot and bring up
- DInterrupt the boot process before services are started with Stop-A or <CTRL><ALT><DELETE>.
- EPerform an Interactive boot, and disable services as they request startup.
How the community answered
(30 responses)- A10% (3)
- B77% (23)
- C3% (1)
- D3% (1)
- E7% (2)
Explanation
- Booting a system using the none milestone can be very useful for debugging startup problems. There is no equivalent run level to the none milestone. * If problems with starting services occur, sometimes a system will hang during the boot. This procedure shows how to troubleshoot this problem. 2. Boot without starting any services. This command instructs the svc.startd daemon to temporarily disable all services and start sulogin on the console. ok boot -m milestone=none 2. Log in to the system as root. 3. Enable all services. # svcadm milestone all 4. Determine where the boot process is hanging. When the boot process hangs, determine which services are not running by running svcs -a. Look for error messages in the log files in /var/svc/log. 1. After fixing the problems, verify that all services have started. Verify that all needed services are online. Verify that the console-login service dependencies are satisfied. This command verifies that the login process on the console will run. # svcs -l system/console-login:default 6.Continue the normal booting process.
Topics
#SMF boot troubleshooting#milestone#svcs#boot process
Community Discussion
No community discussion yet for this question.