8.7 stopservice (stopping services)
Functionality
This command stops the services associated with the management server or the database server to stop the management server or the database server.
Execute this command on the management server in a single-server configuration system.
In a multi-server configuration system, execute the commands in the order below. It might take some time before the service stops, or an error might occur if the commands are executed in a wrong order.
-
Execute the stopservice command on the management server.
-
Execute the stopservice command on the database server.
Format
stopservice
Arguments
No arguments are available for this command.
Storage location
JP1/IT Desktop Management-installation-folder\mgr\bin\
You can execute this command without specifying the storage location for the executable file, by using the command prompt provided by JP1/IT Desktop Management.
Notes
-
Execute this command when the management server and the database server setup is completed.
-
This command cannot be simultaneously executed by multiple users.
-
This command cannot be executed simultaneously with any of the following commands:
-
exportdb
-
importdb
-
ioassetsfieldutil export
-
ioassetsfieldutil import
-
ioutils exportasset
-
ioutils exportdevice
-
ioutils exportdevicedetail
-
ioutils exportfield
-
ioutils exportfilter
-
ioutils exportoplog
-
ioutils exportpolicy
-
ioutils exporttemplate
-
ioutils exportupdategroup
-
ioutils importasset
-
ioutils importfield
-
ioutils importfilter
-
ioutils importpolicy
-
ioutils importtemplate
-
ioutils importupdategroup
-
reorgdb
-
startservice
-
updatesupportinfo
-
Return values
The following table shows the return values of the stopservice command.
Return value |
Description |
---|---|
0 |
The command finished normally. |
1 |
The management server or database server has already stopped. |
31 |
Another command is being executed. |
35 |
The management server or database server was in a startup process when the command is executed. |
37 |
Failed to access to the data folder shared between servers. The database server was stopped, or a network failure has occurred. |
38 |
Invalid credentials. The data folders shared between servers cannot be accessed. |
51 |
You do not have the permissions to execute this command. |
52 |
This command cannot be executed in a cluster environment. |
54 |
The management server or database server has not been set up. |
101 |
Failed to stop the services of the management server or database server. |
150 |
The command execution was interrupted due to some other error. |
Example
The following example shows use of this command to stop services of the management server.
stopservice
Related Topics: