17.27 startservice (starting services)
Functionality
This command starts the services associated with the management server or the database server to start up 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 starts if the commands are executed in a wrong order.
-
Execute the startservice command on the database server.
-
Execute the startservice command on the management server.
Format
startservice
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
-
stopservice
-
updatesupportinfo
-
Return value
The following table shows the return values of the startservice command.
Return value |
Description |
---|---|
0 |
The command finished normally. |
1 |
The management server or database server has already started. |
31 |
Another command is being executed. |
35 |
The management server or database server was in a shutdown process when the command is executed. |
37 |
Failed to access to the data folder shared between servers. The database server is 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 serveror database server has not been set up. |
101 |
An attempt to start a service of the management server or database server failed. |
110 |
Command execution failed due to a problem with a license. |
150 |
Command execution was interrupted due to some other error. |
Example
The following example shows use of this command to start the service on the management server.
startservice
Related Topics: