How to boot a Solaris system without starting any services
If you end up in a situation with problems when starting services occur, or sometimes a system hangs during the boot process. Then this article provides simple troubleshoot steps to resolve the problem.
- Boot without starting any services
ok boot -m milestone=none
This command instructs thesvc.startd
daemon to temporarily disable all services and start sulogin on the console. - Log in to the system and become the root role.
- Enable all services:
# svcadm milestone all
- When the boot process hangs, determine which services are not running and where the boot process is hanging.
# svcs -a
- Check for error messages in the log files in
/var/svc/log
. - After fixing the problems, verify that all services have started.
- Verify that all needed services are online.
# svcs -x
- Verify that the console-login service dependencies are satisfied.
# svcs -l system/console-login:default
This command verifies that the login process on the console will run.
- Verify that all needed services are online.
- Continue the normal boot process.