How it works
State model
A service can be online, offline, disabled, degraded or in maintenance. The cause may be a dependency, configuration or repeatedly failing method.
Configuration
SMF properties and property groups define persistent service configuration.
Logs
Start with svcs -xv and the service log, not a blind restart.
Worked examples
Each example explains the question it answers, a reproducible starting point, what to look for, and operational precautions.
1. List failures
Use this as a starting point for list failures.
svcs -xvInterpretation: Check command output against the expected host configuration; record the before/after state.
Operational note: Run commands in a test environment first; confirm device names, privileges and release-specific options.
2. Inspect a service
Use this as a starting point for inspect a service.
svcs -l svc:/network/ssh:default
svcprop svc:/network/ssh:defaultInterpretation: Check command output against the expected host configuration; record the before/after state.
Operational note: Run commands in a test environment first; confirm device names, privileges and release-specific options.
3. Review logs
Use this as a starting point for review logs.
svcs -L svc:/network/ssh:defaultInterpretation: Check command output against the expected host configuration; record the before/after state.
Operational note: Run commands in a test environment first; confirm device names, privileges and release-specific options.
4. Restart safely
Use this as a starting point for restart safely.
svcadm restart svc:/network/ssh:defaultInterpretation: Check command output against the expected host configuration; record the before/after state.
Operational note: Run commands in a test environment first; confirm device names, privileges and release-specific options.
5. Clear maintenance after repair
Use this as a starting point for clear maintenance after repair.
svcadm clear svc:/network/ssh:defaultInterpretation: Check command output against the expected host configuration; record the before/after state.
Operational note: Run commands in a test environment first; confirm device names, privileges and release-specific options.
Primary documentation
Read the relevant Oracle documentation for exact version-specific flags, supported platforms and limitations: Oracle primary reference ↗.
This field manual is independent, not affiliated with or endorsed by Oracle. Command examples should be adapted to your environment.