Managing the Console Service
Solaris 10 11/06: The Java Web Console service is managed through the Service Management Facility
(SMF). You can start, stop, enable, and disable the console service by using
SMF commands, or by using the smcwebserver script. The FMRI used in SMF
for the console is system/webconsole:console.
How to Start the Console Service
This procedure starts the server temporarily. If the server was disabled from starting
when the system boots, it will continue to be disabled. If the server
was enabled, it will continue to be enabled.
Starting with the Solaris 10 11/06 release, the running enabled state displays as true (temporary), if the server is
running while disabled.
- Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
- Start the server now, without changing the enabled state.
# smcwebserver start
How to Enable the Console Service to Run at System Start
This procedure enables the console service to run each time the system starts.
The console is not started in the current session.
Starting with the Solaris 10 11/06 release this procedure sets the general/enabled property to true in SMF, so that
the server is started at the time the system boots.
- Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
- Enable the server to be started at system boot.
# smcwebserver enable
Solaris 10 11/06: Alternatively, if you want to both start the server now, and enable
the server to start when the system boots, use the command:
# svcadm enable system/webconsole:console
Note - If you are running the Solaris 10 11/06 release, you cannot enable the
console by using the smcwebserver command. You must use the svcadm command.
How to Stop the Console Service
This procedure stops the server temporarily. If the server is disabled from starting
when the system boots, it will continue to be disabled. If the server
was enabled, it will continue to be enabled.
Starting with the Solaris 10 11/06 release, the running enabled state displays as false (temporary) if the server is
stopped while enabled.
- Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
- Stop the server now, without changing the enabled state.
# smcwebserver stop
How to Disable the Console Service
When the console server is disabled, the server does not start when the
system boots.
Starting with the Solaris 10 11/06 release, this procedure sets the console's general/enabled property to false in SMF ,
so that the console server does not start when the system boots.
- Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
- Disable the server from starting when the system boots.
# smcwebserver disable
Solaris 10 11/06: Alternatively, if you want to both stop the server now, and disable
the server from starting when the system boots, use the command:
# svcadm disable system/webconsole:console
Note - If you are running the Solaris 10 11/06 release, you cannot disable the
console with the smcwebserver command. You must use the svcadm command.