jajs_start (UNIX only)
- Organization of this page
Format
jajs_start
Description
The jajs_start command starts JP1/AJS3 on the physical host.
This command is executed when the system starts.
The following explains the command's flow of processing.
-
Starts the queueless agent service if it has not started.
-
Starts the queueless file transfer service if it has not started.
-
Starts JP1/AJS3.
-
Starts the JP1/AJS3 Check Manager service if it has not started.
-
Starts the JP1/AJS3 Check Agent service if it has not started.
-
Executes the jajs_spmd_status command, and then waits for a maximum of 60 seconds until JP1/AJS3 starts.
-
Executes the jajs_spmd_status command to display the status of JP1/AJS3 processes.
In the initial status when JP1/AJS3 is installed, the definition for startup processing is commented out. That is, startup processing is disabled. If necessary, customize the definition so that startup processing is enabled. For details about customization, see 15.7.1 Setting automatic startup and termination of the JP1/AJS3 service in the Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 1.
Execution privileges
Superuser privilege
Storage directory
/etc/opt/jp1ajs2/
Notes
-
This command cannot be executed in Windows.
-
JP1/AJS3 might not start correctly if you execute this command together with any of the following commands:
ajsprofalter command
ajsembdbstart command
ajsembdbstop command
ajsstart command
ajsstop command
jajs_hstd command
jajs_hstd_stop command
jajs_spmd command
jajs_spmd_status command
jajs_spmd_stop command
jajs_start command (UNIX only)
jajs_stop command (UNIX only)
-
Execute this command in an environment in which the JP1_HOSTNAME environment variable has not been set. If you execute this command in an environment in which the JP1_HOSTNAME environment variable has been set, the command attempts to start JP1/AJS3 on the logical host set in the variable, not JP1/AJS3 on the physical host. If you want to start JP1/AJS3 on the physical host, delete the JP1_HOSTNAME environment variable. This command does not support a logical host.
-
If you want to execute this command by using a remote shell command, beforehand, make sure that the standard input, the standard output, and the standard error output are disconnected (that is, assign /dev/null to these). If you execute the command without disconnecting these, the remote shell command might not terminate when startup of the JP1/AJS3 service is completed.
Return values
0 |
Normal end |
Values other than 0 |
Abnormal end |