Sun
ONE Active Server Pages Product Home Page Developer Site Version
 

ContentsPreviousNextIndex



Stop/Start/Status: caspctrl


Some tasks can also be performed using the caspctrl script. This section describes how to use the script, and lists available options.

To use the caspctrl script

From the Sun ONE Active Server Pages installation directory (in /opt/casp/asp-server-xxxx), type the following at the command prompt:

./caspctrl

followed by the desired option(s). The correct format is as follows:

./caspctrl (-v|version) (-vc|verbose) [-]
(startdaemon|stopdaemon|starteng|stopeng|startall|stopall|viewlog|
clearlog|status)

The following table lists the options provided by caspctrl.

Option
Explanation
version
Reports the version of Sun ONE ASP.
verbose
Enables the Sun ONE ASP engine to output status messages to stdout.
startdaemon
Starts the Sun ONE ASP Server daemon.
stopdaemon
Stops the Sun ONE ASP Server daemon (plus any running ASP engines).
starteng
Starts Sun ONE ASP engine(s) on all Sun ONE ASP computers in the configuration with running daemons.
stopeng
Stops the Sun ONE ASP engine(s) on all computers running Sun ONE ASP in the configuration with running daemons.
startall
Starts the Sun ONE ASP daemon and engine(s) on single-computer installations of Sun ONE ASP.
viewlog
Enables you to view the Sun ONE ASP Server log.
clearlog
Clears the Sun ONE ASP Server log.
status
Reports the status of each Sun ONE ASP Server in the configuration.



ContentsPreviousNextIndex